-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect calendar in MOM output #117
Comments
Actually it's a CMIP 6 metadate requirement (17.c) that
MOM and CICE(?) should be fixed. |
Hi Russ
Yes, I think you’re right - this will explain some the date-handling issues we have been having with the RYF cases. Does this just mean that we shouldn’t trust MOM time-stamps on those runs?
Andy
PS. Can’t see this issue on GitHub for some reason, hence replying by email …
On 22 Oct 2018, at 3:02 pm, russfiedler <[email protected]<mailto:[email protected]>> wrote:
By specifying time units as "days since 0001-01-01 00:00:00" we have problems since calendar="GREGORIAN" refers to a mixed Gregorian/Julian calendar and not the Proleptic Gregorian calendar which is actually used in MOM. In other words times are strictly 2 days off in the mom output files.
There are 2 solutions for the data files.
a) Add 2 days to all the times (Ugh!)
b) Change the time calendar attributes to "proleptic_gregorian"
In the future I would suggest having a starting date after 1582 so that the two versions of calendar match.
MOM/FMS should also be fixed to output the attribute as "proleptic_gregorian" if the start date is earlier than 15/10/1582.
http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/cf-conventions.html#calendar
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#117>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AZg4TMQ9rJUKTxFQkSx7wspwm_4yzEiiks5unUNxgaJpZM4XyzUO>.
|
Hi Andy, I'm not sure what issues you're talking about but if the problem showed up as a 2 day offset then that would seem to be the case. There isn't really an internal issue for mom but this is a problem for any software that tries to use output from MOM and is using the correct defitniion of the calendars. In particular anything that uses No, the RYF output looks fine since it uses the NOLEAP calendar. However all your IAF runs look like they need fixing e.g. |
Just confirming that this is an issue for NCO. We need to calculate monthly averages for where Unfortunately, NCO doesn't support |
Thanks Russ. |
CICE is using days since run start (not days since 0001-01-01) so presumably e.g
shows whereas
shows I guess there's no problem having different time units for the different files so long as the metadata allows us to take this into account. But we need to be careful when overriding the metadata: COSIMA/ACCESS-OM2-1-025-010deg-report@ce3b633#commitcomment-31646163 |
Amended this for 01-RYF case, but should be propagated to all cases. |
@AndyHoggANU, @russfiedler I'd like to propagate this fix across all 10 access-om2-* configs. Is it just a matter of replacing And this should be done for all IAF and RYF configs at all resolutions, right? |
This only needs to be done for IAF runs. I think it's better to have RYF runs starting at 1/1/0001 to avoid confusion. I think MOM might complain about negative time units too if you start at 1/1/1 but have output referenced to 1/1/1900. It may stuff up other software as well. |
We have set the start date to 1/1/1900 for all the new RYF experiments:
and there have apparently been no problems running them. @AndyHoggANU have you had any problems processing the output? |
These runs all start on 1/1/1900 so there's no negative date problem. |
Ah! I was just about to look if that was the case. Yep, I reckon that setting the start date for the diagnostics to coincide with the start date of the RYF experiments is the way to go. |
OK great. Is the experiment start date set by |
…A/access-om2#117 ; improved diag_table comments
…A/access-om2#117 ; fixed experiment title and improved comments in diag_table
…A/access-om2#117 ; fixed experiment title and improved comments in diag_table
…A/access-om2#117 ; fixed experiment title and improved comments in diag_table
…A/access-om2#117 ; fixed experiment title and improved comments in diag_table
…A/access-om2#117 ; fixed experiment title and improved comments in diag_table
…A/access-om2#117 ; fixed experiment title and improved comments in diag_table
…A/access-om2#117 ; improved diag_table comments
…A/access-om2#117 ; improved diag_table comments
OK great, thanks. I've just pushed this fix for all configs. |
I guess we can close this now? |
This issue has been mentioned on ACCESS Hive Community Forum. There might be relevant details there: |
By specifying time units as "days since 0001-01-01 00:00:00" we have problems since calendar="GREGORIAN" refers to a mixed Gregorian/Julian calendar and not the Proleptic Gregorian calendar which is actually used in MOM. In other words times are strictly 2 days off in the mom output files.
There are 2 solutions for the data files.
a) Add 2 days to all the times (Ugh!)
b) Change the time calendar attributes to "proleptic_gregorian"
In the future I would suggest having a starting date after 1582 so that the two versions of calendar match.
MOM/FMS should also be fixed to output the attribute as "proleptic_gregorian" if the start date is earlier than 15/10/1582.
http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/cf-conventions.html#calendar
The text was updated successfully, but these errors were encountered: