[Thread Prev][Thread Next][Index]

Re: monthly Averages



Hi Sudheer,

I don't see an error message below, only a warning that the term "month" is ambiguous; in general it could mean 30 days, 31 days, or 365.2425/12 days, etc. Ferret is telling you that it is assuming the latter.

For instance, 2002 and 2003 were not leap years, so you might consider using 365/12 days, as in:
DEFINE AXIS/T="5-Jan-2002":"30-Oct-2003":`365/12`/unit=days t_month

Does that help?

Rob

At 06:28 PM 11/7/2003 +0530, you wrote:
Dear Users
Is there any way to get corret monthly averages from a
specified number of data from each month. (eg. 5th 15th and 25th
I want to average these three values and put as monthly average.)
I have 3 observations per month , when I tried the following way I am
getting an error as below. Please help me if any body have a solution .
thanks,
Sudheer

DEFINE AXIS/T="5-Jan-2002":"30-Oct-2003":1/unit=month t_month
*** NOTE: /UNIT=MONTHS is ambiguous ... using 1/12 of 365.2425 days
let mtemp=temp[GT=t_month@ave]
let msal=psal[GT=t_month@ave]
--
++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dr. Sudheer Joseph
Scientist-B
Indian National Centre for Ocean Information Services
Plot#3, Nandagiri Hills Layout, Jubilee Hills
Hyderabad, India Pin:500 033
PHONE:+91 040 23553542(O)23044600(R)
Fax:+91 040 23551096
E-mail:sjo@incois.gov.in;sjo@rediffmail.com
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Rob Scott
Research Associate
Institute for Geophysics
University of Texas at Austin
4412 Spicewood Springs Rd.
Building 600
Austin, TX
78759

Office: +1-512-471-0375



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement