Open uwagura opened 3 months ago
The make time averages script assumes that all runs in end in December, but for non-january 1st initialized runs, this may not be the case:
https://github.com/NOAA-GFDL/fre-workflows/blob/c18dedd918a09fef11a24ffcab692ab8d86a3e7b/app/make-timeavgs/bin/make-timeavgs#L57-L59
As a result, when you try to ls the file names a couple of lines later, it will fail because it won't fine files ending in YYYY12
YYYY12
https://github.com/NOAA-GFDL/fre-workflows/blob/c18dedd918a09fef11a24ffcab692ab8d86a3e7b/app/make-timeavgs/bin/make-timeavgs#L69
The make time averages script assumes that all runs in end in December, but for non-january 1st initialized runs, this may not be the case:
https://github.com/NOAA-GFDL/fre-workflows/blob/c18dedd918a09fef11a24ffcab692ab8d86a3e7b/app/make-timeavgs/bin/make-timeavgs#L57-L59
As a result, when you try to ls the file names a couple of lines later, it will fail because it won't fine files ending in
YYYY12
https://github.com/NOAA-GFDL/fre-workflows/blob/c18dedd918a09fef11a24ffcab692ab8d86a3e7b/app/make-timeavgs/bin/make-timeavgs#L69