COSIMA / access-om3

ACCESS-OM3 global ocean-sea ice-wave coupled model
13 stars 6 forks source link

Calendar issue in CMEPS #107

Open dougiesquire opened 6 months ago

dougiesquire commented 6 months ago

Running the MOM6-CICE6/1deg_jra55do_ryf configuration today (29/02/2024) gives the following:

20240229 134349.633 ERROR            PET00 ESMCI_Calendar.C:1161 ESMCI::Calendar::convertToTime() Input argument out of range  - ; NoLeap: for month 2, dd=29 > 28 days in the month.
20240229 134349.633 ERROR            PET00 ESMCI_Time.C:333 ESMCI::Time::set() Input argument out of range  - Internal subroutine call returned Error
20240229 134349.633 ERROR            PET00 ESMCI_Time.C:870 ESMCI::Time::syncToRealTime() Input argument out of range  - Internal subroutine call returned Error
20240229 134349.633 ERROR            PET00 ESMF_Time.F90:1485 ESMF_TimeSyncToRealTime() Input argument out of range  - Internal subroutine call returned Error
20240229 134349.633 ERROR            PET00 med_phases_profile_mod.F90:176 Input argument out of range  - Passing error in return code
20240229 134349.633 ERROR            PET00 MED:src/addon/NUOPC/src/NUOPC_ModelBase.F90:2207 Input argument out of range  - Passing error in return code
20240229 134349.633 ERROR            PET00 ESM0001:src/addon/NUOPC/src/NUOPC_Driver.F90:3642 Input argument out of range  - Phase 'med_phases_profile' Run for modelComp 1 did not return ESMF_SUCCESS
20240229 134349.633 ERROR            PET00 ESM0001:src/addon/NUOPC/src/NUOPC_Driver.F90:3880 Input argument out of range  - Passing error in return code
20240229 134349.633 ERROR            PET00 ESM0001:src/addon/NUOPC/src/NUOPC_Driver.F90:3557 Input argument out of range  - Passing error in return code
20240229 134349.633 ERROR            PET00 ensemble:src/addon/NUOPC/src/NUOPC_Driver.F90:3642 Input argument out of range  - Phase 'RunPhase1' Run for modelComp 1 did not return ESMF_SUCCESS
20240229 134349.633 ERROR            PET00 ensemble:src/addon/NUOPC/src/NUOPC_Driver.F90:3880 Input argument out of range  - Passing error in return code
20240229 134349.633 ERROR            PET00 ensemble:src/addon/NUOPC/src/NUOPC_Driver.F90:3557 Input argument out of range  - Passing error in return code
20240229 134349.633 ERROR            PET00 esmApp.F90:143 Input argument out of range  - Passing error in return code

This error is occurring here. I think the issue is that CMEPS is trying to get the wall clock time using the default calendar set here, which is NOLEAP in the RYF configuration. This means that things should work again tomorrow (and any other day in the next four years...).

I'll confirm that this is the issue and then open and issue with ESCOMP/CMEPS.

MartinDix commented 6 months ago

Strong candidate to be my all-time favorite bug.

Hope they can respond quickly or it'll take another 4 years to show the fix works πŸ˜„

dougiesquire commented 6 months ago

Issue opened here: https://github.com/ESCOMP/CMEPS/issues/432

AndyHoggANU commented 6 months ago

Haha, at least the Americans have the rest of their day to fix it!

dougiesquire commented 4 months ago

Note, this issue is fixed in cmeps>=0.14.55

aekiss commented 4 months ago

Just noting that the latest access-om3 update https://github.com/COSIMA/access-om3/pull/129 only upgraded CMEPS: 0.14.35 -> 0.14.50 so this remains an issue for us.

dougiesquire commented 4 months ago

Hopefully we're using > 0.14.55 by the time this becomes a problem again on 29/02/2028 πŸ˜‰

aekiss commented 4 months ago

The clock is ticking 😰

aekiss commented 2 months ago

This bug got a special mention at the CESM workshop