[gradsusr] xdfopen netcdf

Hui Wang - NOAA Affiliate hui.wang at noaa.gov
Thu May 30 23:44:24 EDT 2013


Hi Joshua,

I think you need to add "options template" in the ctl file.

Good luck,
Hui




On Thu, May 30, 2013 at 10:32 PM, Qian, JianHua <JianHua_Qian at uml.edu>wrote:

>  Grads Users,
>
>  I got the following message when doing
> xdfopen uwnd_3d_day_79_08.ctl
>
>  ga-> xdfopen uwnd_3d_day_79_08.ctl
> Scanning Descriptor File:  uwnd_3d_day_79_08.ctl
> gadxdf error: Missing or invalid dimension size.
>   --> The invalid description file record is:
>   --> xdef  144 linear 0.0 2.5
>   The data file was not opened.
>
>  The descriptor file uwnd_3d_day_79_08.ctl   is copied below:
>
>  dset ^uwnd.%y4.nc
> dtype netcdf
> title 3-D NCEP-DOE uwnd 1jan1979 to 31dec2008
> undef  -1.e+34
> xdef  144 linear 0.0 2.5
> ydef   73 linear 90.0 -2.5
> zdef 17 levels 1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30
> 20 10
> tdef  10958 linear 00z01jan1979  24hr
> vars 1
> uwnd      17   t,z,y,x    m/s
> Endvars
>
>  The data files are in the current directory:
> uwnd.1979.nc
> uwnd.1980.nc
>> When I do ncdump uwnd.1979.nc , I got:
>  netcdf uwnd.1979 {
> dimensions:
> lon = 144 ;
> lat = 73 ;
> level = 17 ;
> time = UNLIMITED ; // (365 currently)
> nbnds = 2 ;
> variables:
> float level(level) ;
> level:units = "millibar" ;
> level:actual_range = 1000.f, 10.f ;
> level:long_name = "Level" ;
> level:positive = "down" ;
> level:GRIB_id = 100s ;
> level:GRIB_name = "hPa" ;
> level:axis = "z" ;
> level:coordinate_defines = "point" ;
> float lat(lat) ;
> lat:units = "degrees_north" ;
> lat:actual_range = 90.f, -90.f ;
> lat:long_name = "Latitude" ;
> lat:standard_name = "latitude_north" ;
> lat:axis = "y" ;
> lat:coordinate_defines = "point" ;
> float lon(lon) ;
> lon:units = "degrees_east" ;
> lon:long_name = "Longitude" ;
> lon:actual_range = 0.f, 357.5f ;
> lon:standard_name = "longitude_east" ;
> lon:axis = "x" ;
> lon:coordinate_defines = "point" ;
> double time(time) ;
> time:units = "hours since 1800-1-1 00:00:0.0" ;
> time:long_name = "Time" ;
> time:actual_range = 1569072., 1577808. ;
> time:delta_t = "0000-00-01 00:00:00" ;
> time:standard_name = "time" ;
> time:axis = "t" ;
> time:coordinate_defines = "start" ;
> time:avg_period = "0000-00-01 00:00:00" ;
>> Could someone give me a clue?
>
>  Thanks!
> Joshua
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130530/1aecd27c/attachment-0003.html 


More information about the gradsusr mailing list