[Thread Prev][Thread Next][Index]

Re: [ferret_users] Problem in converting daily data to Monthly axis.



Hi,

You need to determine what calendar type your data is using.

yes? say `u,return=calendar`

From the message you show, I think your data is using a NOLEAP calendar.  There are monthly climatological axes defined in Ferret for non-Gregoriaan calendars, so all you will need to do is choose the one that matches your data.  If the data is on a NOLEAP calendar, then you can use the pre-defined calendar MONTH_NOLEAP:

yes? show axis/all
 name       axis              # pts   start                end
 MONTH_IRREG TIME              12mi   16-JAN 12:00         15-DEC 17:49
 MONTH_REG TIME                12mr   16-JAN 06:00         16-DEC 01:20
 SEASONAL_REG TIME              4mr   15-FEB 15:43         15-NOV 14:05
 MONTH_GREGORIAN TIME          12mi   16-JAN 12:00         15-DEC 17:49
 MONTH_NOLEAP TIME             12mi   16-JAN 12:00         16-DEC 12:00
 MONTH_360_DAY TIME            12mr   16-JAN 00:00         16-DEC 00:00
 MONTH_ALL_LEAP TIME           12mi   16-JAN 12:00         16-DEC 12:00
 MONTH_JULIAN TIME             12mi   16-JAN 12:00         15-DEC 18:00
 ABSTRACT                99999999 r   1                    1.E+08
 EZ                         20480 r   1                    20480

yes? let u_clim = u[GT=MONTH_NOLEAP@MOD]
...
We will add this information to the FAQ's, such as,

http://ferret.pmel.noaa.gov/Ferret/faq/how-do-i-calculate-climatologies-and-climatological-anomalies

-Ansley

On 1/22/2017 11:13 PM, Yadidya Badarvada wrote:
Dear Ferreters,


I have daily data of four years which I'm trying to convert in to Monthly axis.
My main objective is to find the monthly average climatology for four years.
I tried several methods described in the faq's but these are the errors that I encountered.

 **ERROR: regridding:  only @ASN, @LIN, or @NRST regridding between calendar types: NOLEAP, GREGORIAN

 **ERROR: illegal limits: U does not exist at T=01-JAN-0000 00:00:31-JAN-0000 00:00@AVE
          Axis extremes are T=01-JAN-2009 00:00:01-JAN-2010 00:00


Can anyone please help me solve this problem?


Thanks in advance,
B.Yadidya


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement