[Thread Prev][Thread Next][Index]

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



hi,
you can try and manipulate this command the please list the variables and do manual check also of what you are doing.

define axis/edges/t/units=days/t0=16-dec-2008/t=16-jan-2009:16-jan-2013:1/calendar=360_days tdaily
let variable_new=variable_old[gt=tdaily@asn]

define axis/edges/t/units=months/t=16-jan-2009:16-dec-2012:1/calendar=360_days t_monthly
let variable_month=variable_new[gt=t_monthly@ave]

please list at a point variable_old, variable_new, variable_month and do the manual check also of variable_month i.e. suppose first 30 time steps average [(x1+x2+x3....x30)/30] should be equal to first time step of variable_month like wise check next couple of sets.

i used edges to fix the my data in the time axis so you also please check by listing variable_old, variable_new they should be of the same same time axis i.e. from 16-jan-2009:16-dec-2012.

And your error as Ansley said is because of calender i too faced that problem so i preferred to use 360_days calender so According to Ansley just try to change your calender i hope your problem will be solved.

i hope this will help you. please let us know if you have any problem

All the best

regards, saurabh

On Tue, Jan 24, 2017 at 5:06 AM, Ansley C. Manke <ansley.b.manke@xxxxxxxx> wrote:

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




--


REGARDS

Saurabh Rathore
Research Scholar (PhD.)
Centre For Oceans, Rivers, Atmosphere & Land Science Technology
Indian Institute Of Technology, Kharagpur
contact :- 91- 8345984434

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

Privacy Policy | Disclaimer | Accessibility Statement