Project

General

Profile

Unsupported grid type: generic

Added by Don Woltrax almost 11 years ago

Hi,

Please help me solve this problem.
I am trying to calculte gridcell area of HIRLAM model output using CDO but I keep getting this error:

cdo gridarea atm.1961-02.daily.nc area.nc
Warning (cdfInqContents) : Variable >time< not found!

cdo gridarea (Abort): Unsupported grid type: generic

The dimensions of the model file are as follows:
ncdump -h atm.1961-02.daily.nc
netcdf atm.1961-02.daily {
dimensions:
lon = 110 ;
lat = 100 ;
record = UNLIMITED ; // (28 currently)
variables:
float mslp(record, lat, lon) ;
mslp:WMO = 1 ;
mslp:LTYP = 103 ;
mslp:ALEV = 0.f ;
float u10(record, lat, lon) ;
u10:WMO = 33 ;
u10:LTYP = 105 ;
u10:ALEV = 10.f ;
float v10(record, lat, lon) ;
v10:WMO = 34 ;
v10:LTYP = 105 ;
v10:ALEV = 10.f ;

Thanks


Replies (1)

RE: Unsupported grid type: generic - Added by Jaison-Thomas Ambadan almost 11 years ago

Hi

For NetCDF files, CDO only support variables with standard space dimension/attributes (x,y,z or lon, lat, lev) and "time" dimension which have to be the first dimension. In your file there is no "time" dimension/attribute; instead there is a "record" attribute which CDO doen't recongnize. I recommend to edit/rename the "record" to "time" and apply CDO. Unfortunately, CDO cannot be used to rename variable attributes; you've to use NCO or "ncgen" (you'll find many examples in the forum: just search!)

Cheers,
J

    (1-1/1)