[MITgcm-devel] other problem in recent check-in

Dimitris Menemenlis menemenlis at sbcglobal.net
Wed Jan 30 12:27:19 EST 2008


OK.  I had assumed that useExfYearlyFields would only be used with Gregorian or 
Julian calendars.  I will change code to work with Model calendar also as per 
your suggestion.  Thanks for spotting.  D.

> Yes, and the reason for these unexpected numbers is, that exf_getffieldsrec
> does not know about the model calendar. Somewhere it sets
> secondsInYear=31536000. or 31622400 if it's a leap year, but that's only
> correct for a gregorian calendar, when I set them to 31104000, I get 0.5. I
> can fix that tomorrow, if you want, but it may break global_ocean.cs32x15
> (but maybe not, because that one is not using yearlyFields).



More information about the MITgcm-devel mailing list