xdfopen, missing longitude dimension

Michael Sigmond sigmond at ATMOSP.PHYSICS.UTORONTO.CA
Thu Feb 19 18:33:27 EST 2009


Hello,
I'm trying to xdfopen a netcdf file that contains zonal-mean data. The
problem is that the file does not contain the longitude dimension. Details
below and suggestions are very welcome,
thanks,
Michael


---------------------------------
ncdump -h test.nc:

netcdf test {
dimensions:
        time = UNLIMITED ; // (552 currently)
        plev = 31 ;
        lat = 96 ;
variables:
        float lat(lat) ;
                lat:standard_name = "latitude" ;
                lat:axis = "Y" ;
                lat:units = "degrees_north" ;
                lat:long_name = "Latitude" ;
                lat:typeConversion_op_ncl = "double converted to float" ;
        float plev(plev) ;
                plev:long_name = "Pressure" ;
                plev:units = "hPa" ;
                plev:standard_name = "air_pressure" ;
                plev:positive = "down" ;
                plev:axis = "Z" ;
....
---------------------------------------------------
test.xdf:

DSET CCMVal2_ref_b1_2_CAM3.5_1_1960-2005_T2Mz_ua.nc
XDEF lon 1 LINEAR 1 1
YDEF lat
---------------------------------------
ga-> xdfopen test.xdf
Scanning Descriptor File:  test.xdf
Alleged lat dimension (from XDEF) is not an SDF dimension.  Cannot continue.
Lat dimension name is:
lon



More information about the gradsusr mailing list