THIRTY_DAY_MONTHS calendar is not CF compliant #573
Labels
enhancement
Issue/PR for a modification that increases performance, improves syntax, or adds functionality.
feature request
Milestone
Describe the bug
Using the THIRTY_DAY_MONTHS calendar leads to a CF-non-compliant calendar attribute in the netCDF file, namely
time:calendar = "THIRTY_DAY_MONTHS" ;
. For this calendar the CF-compliant attribute istime:calendar = "360_day" ;
. The CF calendar attribute is documented at https://cfconventions.org/Data/cf-conventions/cf-conventions-1.8/cf-conventions.html#calendarTo Reproduce
Use THIRTY_DAY_MONTHS from time_manager_mod with
Run a model with the THIRTY_DAY_MONTHS calendar selected and examine the output. If you don't have examples of the above then
Expected behavior
In any output file from diag_manager with a time-dependent variable we expect to get (CDL):
but actually get
System Environment
Describe the system environment, include:
Additional context
This has been raised in MOM6 issue NOAA-GFDL/MOM6/issues/1203 in the context of reading output with xarray. OUr non-compliance with CF has been lond-standing and needs to be addressed.
The text was updated successfully, but these errors were encountered: