You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
whereas the CF conventions state that a gregorian calendar attribute is mixed Julian/Gregorian, and a proleptic Gregorian must have the attribute proleptic_gregorian.
The
gregorian
calendar option for MOM5 implements aproleptic_gregorian
calendarMOM5/src/shared/time_manager/time_manager.F90
Lines 2799 to 2807 in baaf7ed
whereas the CF conventions state that a
gregorian
calendar attribute is mixed Julian/Gregorian, and a proleptic Gregorian must have the attributeproleptic_gregorian
.https://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/build/ch04s04.html
Original issue is here: COSIMA/access-om2#117
A simple fix would be to change this line
https://github.com/mom-ocean/FMS/blob/3bd24800ed3cd8b0eb26643afdecf88e10641beb/time_manager/time_manager.F90#L1564
to
as this is the function that is called when the time attributes are written:
https://github.com/ACCESS-NRI/MOM5/blob/baaf7ed1baf4543bc821d97402a94792b4044ac4/src/shared/diag_manager/diag_output.F90#L353-L355
Which results in a netCDF variable definition like so:
Note that this line appears in the MOM5 source here due to FMS being included as a subtree:
MOM5/src/shared/time_manager/time_manager.F90
Line 3256 in baaf7ed
The text was updated successfully, but these errors were encountered: