String Time Axis

From: Prince K. XAVIER <xavier_at_nyahnyahspammersnyahnyah>
Date: Wed, 09 Aug 2006 14:56:30 +0200

Hi all,

I have a variable with the time axis as a STRING, say
(0) 1980_02_26_01_0
(1) 1980_04_21_01_0
(2) 1980_05_28_01_0
.......................................
.......................................

Is is possible to write this variable into a netcdf file? I have tried
the method 1 (http://www.ncl.ucar.edu/Applications/method_1.shtml) but
gives the following error.

fatal:Attempting to write variable (time) of type (string) which is not
representable in the format of file (./CNRM_05_TO/PATT_IND0.nc)
fatal:Trying using a type conversion function
warning:FileWriteVarVar: Could not write coordinate variable (time) to
file (PATT_IND0), continuing anyway

I even tried to convert the string to integer, but the result is
(0) 1980
(1) 1980
(2) 1980
.................
.................

Any tips on how to handle this time axis?
Thanks in advance
Prince

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 09 2006 - 06:56:30 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 10 2006 - 15:20:04 MDT