[MITgcm-devel] calendar checkdate
Matthew Mazloff
mmazloff at ucsd.edu
Fri Apr 13 20:24:40 EDT 2012
Hello,
Found it -- missing
sststartdate1 = 20070101,
in
data.ecco
can't cheat anymore :)
Thanks
Matt
On Apr 13, 2012, at 4:44 PM, Matthew Mazloff wrote:
> Hello,
>
> So what am I missing here....everyone of my controls and exf fields
> have defined
> *startdate1 = 20070101,
> *startdate2 = 00000,
> but I am getting the error:
> (PID.TID 0000.0001) *** ERROR *** CAL_CHECKDATE: Invalid month in
> date(1)= 0
> (PID.TID 0000.0001) *** ERROR *** CAL_FULLDATE: fatal error from
> cal_CheckDate
>
> how is it possible for date(1)= 0
> but
> *startdate1 = 20070101,
>
> I'll keep looking, but just wondering if I am missing something
> obvious
>
> -Matt
>
>
>
>
>
> On Apr 11, 2012, at 6:56 AM, Jean-Michel Campin wrote:
>
>> 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
>>
>> _______________________________________________
>> MITgcm-devel mailing list
>> MITgcm-devel at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-devel
>
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel
More information about the MITgcm-devel
mailing list