[MITgcm-devel] calendar checkdate
Jean-Michel Campin
jmc at ocean.mit.edu
Wed Apr 11 09:56:09 EDT 2012
Hi Martin,
Thanks for fixing this (it's cleaner this way). And passing the
file name as argument is a also good idea.
Cheers,
Jean-Michel
On Wed, Apr 11, 2012 at 01:23:09PM +0200, Martin Losch wrote:
> 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
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel
More information about the MITgcm-devel
mailing list