[MITgcm-devel] cal_addtime
Patrick Heimbach
heimbach at MIT.EDU
Mon Jul 26 19:31:54 EDT 2004
Hi Dimitris,
the speedup fix in cal_addtime contained a bug
(Gianmaria noticed this).
By hardcoding the numbers 365, 366 wrong
day counts are performed when using
TheCalendar='model'
That has a cummulative effect, i.e. each model
year an extra 5 (or 6) days are miscounted.
When using GetMonthsrec, this leads to a shift
by 1 month after 6 model years or to a shift
from summer to winter every 36 model years.
I'm not sure, but hope you're lucky and
are not using TheCalendar='model'.
Cheers
-Patrick
--------------------------------------------------------
Patrick Heimbach Massachusetts Institute of Technology
FON: +1/617/253-5259 EAPS, Room 54-1518
FAX: +1/617/253-4464 77 Massachusetts Avenue
mailto:heimbach at mit.edu Cambridge MA 02139
http://www.mit.edu/~heimbach/ USA
More information about the MITgcm-devel
mailing list