[MITgcm-devel] calendar checkdate

Martin Losch Martin.Losch at awi.de
Wed Apr 11 07:23:09 EDT 2012


On Apr 11, 2012, at 11:57 AM, Martin Losch wrote:

> All of these errors occur in ctrl_init.F, specifically in S/R CTRL_INIT_REC that I once introduced in an attempt to make S/R CTRL_INIT shorter. I will add code (basically print the name of the ctrl variable before cal_fulldate is called) to make it easier to track down which variable is the culprit.

In addition, I will move the call cal_* sequence into the if-block, where the result is needed (so only if fldperiod.ne.0 and .ne.-12), so that you don't have to specify fldstartdate for constant or 12-month-periodic control variables.

Martin



More information about the MITgcm-devel mailing list