[gradsusr] Error while opening NETCDF datafile

Yaqiang Wang yaqiang.wang at gmail.com
Sun Jul 1 05:00:31 EDT 2012


The units of the time dimension TAXIS is not correct. MONTHS is not
supported because it is an ambiguous unit as months are of varying
length. So you need to re-merge the data with time unit of days.

Wrong form:
double TAXIS(TAXIS) ;
        TAXIS:units = "MONTHS since 1901-01-15 00:00:00" ;
        TAXIS:axis = "T" ;
        TAXIS:time_origin = "15-JAN-1901" ;

Correct form:
double TAXIS(TAXIS) ;
        TAXIS:units = "days since 1901-01-15 00:00:00" ;
        TAXIS:axis = "T" ;
        TAXIS:time_origin = "15-JAN-1901" ;

On Sun, Jul 1, 2012 at 3:29 PM, sreejith k.s <jithu9907 at gmail.com> wrote:
>
> Dear sir,
>
> This is the data information that I get after using ncdump -h command-
>
> netcdf Concatenate {
> dimensions:
>     LON = 720 ;
>     LAT = 330 ;
>     LEV = 1 ;
>     TAXIS = UNLIMITED ; // (120 currently)
> variables:
>     double LON(LON) ;
>         LON:units = "degrees_east" ;
>         LON:modulo = 360. ;
>         LON:point_spacing = "even" ;
>         LON:axis = "X" ;
>     double LAT(LAT) ;
>         LAT:units = "degrees_north" ;
>         LAT:point_spacing = "even" ;
>         LAT:axis = "Y" ;
>     double LEV(LEV) ;
>         LEV:units = "meters" ;
>         LEV:positive = "down" ;
>         LEV:point_spacing = "even" ;
>         LEV:axis = "Z" ;
>     double TAXIS(TAXIS) ;
>         TAXIS:units = "MONTHS since 1901-01-15 00:00:00" ;
>         TAXIS:axis = "T" ;
>         TAXIS:time_origin = "15-JAN-1901" ;
>     float NEW(TAXIS, LEV, LAT, LON) ;
>         NEW:missing_value = -1.e+34f ;
>         NEW:_FillValue = -1.e+34f ;
>         NEW:long_name = "TEMP[D=1,L=1:12] + TIMESTAMP" ;
>
> // global attributes:
>         :history = "FERRET V6.72    1-Jul-12" ;
>         :Conventions = "CF-1.0" ;
> }
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>



-- 
*************************************************
Dr. Yaqiang Wang
Chinese Academy of Meteorological Sciences (CAMS)
46, Zhong-Guan-Cun South Avenue
Beijing, 100081
China

yaqiang.wang at gmail.com

http://www.meteothinker.com
**************************************************




More information about the gradsusr mailing list