[Thread Prev][Thread Next][Index]

Re: [ferret_users] Problem in creating time axis using days1900



Hi Samir,
                  Ferret is not able to see definition of minutes from your script which is the root cause of all errors.
if you type yes? list minutes are you able to see the numbers?

On Fri, Jun 7, 2013 at 11:50 AM, samir pokhrel <pokhrelsamir@xxxxxxxxx> wrote:
Dear Ferret users,

I am trying to convert abstract data (which is in x axis) in time axis using days1900 using ferret v6.303 (AIX version)

I have got 31185 steps. I have gone through the FAQ and adopted the following procedure

!------------------------------------------------------------
LET day_frac = (hour + minute/60 ) / 24
LET tstep = DAYS1900(year,month,day) + day_frac

DEFINE axis/T/T0=1-jan-1900/UNIT=days ttaxis=tstep[L=1:31185]

LET dummy=t[GT=ttaxis]
LET p = RESHAPE(p1,dummy)
!--------------------------------------------------------------

However it is giving following error

**ERROR: variable unknown or not in data set: MINUTE
**ERROR: unknown defining grid: GT=TTAXIS

I tried to do it in several ways but the error remains the same.

Hope to get help from users who have solve this type of issue earlier.

Thanking you in advance.

Samir
--
Samir Pokhrel
Climate and Global Modelling Division
Indian Institute of Tropical Meteorologyv6.303
NCL Post, Pashan
Pune-411008
INDIA



--
with best regards

Sudheer

**********************************************************************************
Dr. Sudheer Joseph                                                                
Scientist                                                                         
INDIAN NATIONAL CENTRE FOR OCEAN INFORMATION SERVICES (INCOIS)
MINISTRY OF EARTH SCIENCES, GOVERNMENT OF INDIA
"OCEAN VALLEY" PRAGATHI NAGAR (BO)
OPP.JNTU, NIZAMPET SO
Andhra Pradesh, India. PIN- 500 090.
TEl:+91-40-23044600(R),Tel:+91-9440832534(Mobile)
Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
E-mail: sudheer.joseph@xxxxxxxxx;  sjo@xxxxxxxxxxxxx.
Web- http://oppamthadathil.tripod.com
           --------------* ---------------
"The ultimate measure of a man is
not where he stands in moments of
comfort and convenience, but where
he stands at times of challenge and
controversy."
                        Martin Luther King, Jr.
"What we have done for ourselves alone dies with us.
What we have done for others and the world remains and is immortal."
- Albert Pines
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement