Skip to content

Support time-series analysis over a subset of the output data #45

@xylar

Description

@xylar

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions