[Mitgcm-support] Re: Calendar package for MITgcmUV
mitgcm-support at dev.mitgcm.org
mitgcm-support at dev.mitgcm.org
Wed Jul 9 15:54:17 EDT 2003
Hi Jonni,
Jonni.Lehtiranta at fimr.fi wrote:
>
> Thanks for your response!
>
> I've been looking through the global_with_exf verification. I wonder if
> gregorian dates are used in places other than data.*.
I don't understand this question.
data.cal specifies which type of calendar you want to use.
You have two options, 'gregorian' or 'model' (see my previous mail).
> Do the inputs (taux, tauy etc)
> have gregorian dates,
Yes, and their respective start dates/times are specified
in data.exf
> and, are the gregorian there in the output files?
Not sure what you mean by this, but in doubt, if you specified 'gregorian'
everything will be within that calendar type.
The verification/global_with_exf/
is a configuration that uses the external forcing package
with the calendar to control the Gregorian times.
Cheers
-Patrick
> Patrick Heimbach <heimbach at MIT.EDU>
>
> 11.06.2003 18:59
> Please respond to heimbach
>
>
> To: Jonni.Lehtiranta at fimr.fi
> cc: eckert at MIT.EDU, support at mitgcm.org
> Subject: Re: Calendar package for MITgcmUV
>
>
>
>
> Hi Jonni,
>
> the calendar package allows you to jump between
> model time (in seconds from a given start time) and
> (1) real Gregorian time in date and time (YYYYMMDD and HHMMSS)
> with respect to your chosen start day and time (i.e. you
> don't have to worry about 30 vs. 31 day months, leap years etc.,
> the calendar does it all for you)
> or
> (2) an idealized model calendar consisting of 360 days
> and 12 months of 30 days each.
>
> As you see there are 2 things to chose, and you do the selection
> at runtime using the data.cal file:
> * specify TheCalendar = 'gregorian' if you want (1)
> or TheCalendar = 'model' if you want (2)
> * specify your absolute reference start time, e.g.
> startDate_1=19920503,
> startDate_2=063000,
> for a start on 03-May-1992 at 6:30
>
> The calendar package can be very helpful when working
> with realistic (e.g. daily NCEP or ECMWF) forcing.
>
> There is a verification experiment called global_with_exf
> which has cal in action together with the exf package.
> From the given forcing timings in data.exf (with respect
> to the selection in data.cal)
> it computes the corresponding records to retreive the
> current forcing fields.
>
> Cheers
> -Patrick
>
>
>
> Jonni.Lehtiranta at fimr.fi wrote:
> >
> > Greetings!
> >
> > I've been playing around with MITgcm and the calendar package, but fail
> > to grasp
> > the whole idea. I think I compiled it right (with the
> > barotropic_gyre_in_a_box tutorial
> > example). Copying the code in section (3) of pkg/cal/README proved
> > troublesome,
> > but the code compiled when I removed the trailing spaces from the
> lines not
> > beginning with an I.
> >
> > Still, I fail to modify this tutorial in any such way that would show
> > the cal package in
> > action. What effects should be there? What does the data.cal input
> matter?
> >
> > Also, I know it's not your thing, but I've had hard time trying to
> > figure out anything
> > from the MITgcm documentation.. Like for example, the input file formats
> > (I figured
> > something by reading the gendata.m scripts =). How is time handled in
> > input?
> >
> > -Jonni Lehtiranta
>
>
> --
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> Patrick Heimbach ............................. MIT
> 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
>
>
>
--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Patrick Heimbach ............................. MIT
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-support
mailing list