-
Notifications
You must be signed in to change notification settings - Fork 45
Description
There are a couple of issues with the current handling of time ranges in the data finder:
- Make datafinder understand dates in the middle of the file name #311 deals with an emac requirement to have time ranges in the middle of the filename
- as we start dealing with sub-monthly frequencies we might need higher resolution than the current
start_yearend_yearpair permits - fixed frequency data (
fxvariables) don't have a time range - piControl aligned with Historical data #342 shows a case where ideally the time range for some datasets would be computed from the metadata of other datasets
The intuitive choice seems to be to specify time ranges as a single string item per dataset, and adopting the CMIP convention for the format (that has stayed consistent from CMIP5 to CMIP6) that is also used for obs4MIPs these days.
This could also open up the possibility of having special values like corresponding to determine the correct range from other datasets and would allow the explicit use of the -clim suffix that appears in climatological variables such as those in the monC table.
Challenges might include older obs4MIPs datasets that separate the two parts of their timerange with _ instead of - and non-standard datasets.
So to sum up the idea is:
- remove
start_yearandend_yearin favor of atimerangeitem in the dataset specs - adopt the CMIP convention for specifying time ranges (p 14-16) including
-climsuffix - from this information build a
{timerange}tag for use in theconfig-developer.ymlfile
What do you guys think?