[Thread Prev][Thread Next][Index]
Re: Tricky time averaging...
Gary,
I got the same question before. Steve answered it and I have posted it to
FERRET user group.
Anyway, here it is:
monthly means (not climatological means) can be got from
"let monthly = timeseries[gt=monthly_axis@ave]"
where monthly_axis should be defined by user to specify the particular
time stamps. for example, for a time series
"1-apr-1989:00:00:00":"31-may-1996:12:00:00":12/unit=hours , you can
define the monthly_axis as "15-apr-1989":"15-may-1996":730.5/unit=hours
Regards,
Dongxiao
--------------------------------------------------------------------
Dongxiao Zhang
Division of Meteorology and Physical Oceanography
Rosenstiel School of Marine and Atmospheric Science
4600 Rickenbacker Causeway
Miami, FL 33149
Phone : (305)361-4806
Fax : (305)361-4696
Office : MSC Room 309
--------------------------------------------------------------------
On Tue, 20 Oct 1998, Gary Strand wrote:
>
> I've thought about this a bit and I'd really rather avoid writing FORTRAN to
> do it - it's so much easier when ferret can do it.
>
> I've got data on timestamps exactly 5 days apart, ie, 01-JAN, 06-JAN, 11-JAN,
> 16-JAN, 21-JAN, 26-JAN, 31-JAN, 05-FEB, 10-FEB, 15-FEB, &c.
>
> Is there a way to generate monthly averages from this data? Some months have
> 6 time samples, some 7.
>
> Thanks!
> --
> Gary Strand
> strandwg@ucar.edu http://www.cgd.ucar.edu/ccr/gary
>
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement