-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Currently, the the code will only work as expected if config option timeseries_yr1 = 1
and timeseries_yr2
is set to something beyond the end of the current run (e.g. 9999
), which are the default settings. If timeseries_yr1 > 1
, the code crashes, likely because mpas_xarray
is expecting the time series to start from year 1 (it isn't currently making use of timeseries_yr1
). If timeseries_yr1 = 1
and timeseries_yr2
is set to be less than the total duration of the run, the timeseries analysis may be performed beyond the desired end time. This is because we add one file with date stamp beyond the final date to be sure we're not missing any important output.
The time axis of the xarray data sets should be sliced to be consistent with these two new config options in each timeseries analysis function.