Closed aekiss closed 2 years ago
The end_day field in forcing.json is always replaced by 28 in February, even in a leap year, causing run failure: https://github.com/COSIMA/access-om2/issues/242#issuecomment-1089881847
end_day
forcing.json
Looks like this could be fixed with some small changes to https://github.com/COSIMA/libaccessom2/blob/master/libutil/src/util.F90 perhaps using isLeapYear from datetime_module.
isLeapYear
datetime_module
Test run works as expected
The
end_day
field inforcing.json
is always replaced by 28 in February, even in a leap year, causing run failure: https://github.com/COSIMA/access-om2/issues/242#issuecomment-1089881847Looks like this could be fixed with some small changes to https://github.com/COSIMA/libaccessom2/blob/master/libutil/src/util.F90 perhaps using
isLeapYear
fromdatetime_module
.