Project

General

Profile

unsupported grid type

Added by Jacob Spender about 5 years ago

Dear CDO user,

I am trying to do cdo sellonlatbox,-99,-89,37,47 on data set but keep getting the error cdo sellonlatbox: Unsupported grid type: generic. I have plotted the data using panoply and get a map of the united states projected over the Atlantic and Europe. I have done the sinfon and get

-1 : Institut Source   Ttype    Levels Num  Gridsize Num Dtype : Parameter name
1 : unknown WRF v3.5.1 constant 1 1 83457 1 F64 : lat
2 : unknown WRF v3.5.1 constant 1 1 83457 2 F64 : lon
3 : unknown WRF v3.5.1 instant 1 1 83457 3 F32 : tas
Grid coordinates :
1 : generic > size : dim = 83457 nx = 297 ny = 281
xc : first = 0 last = 7400000 inc = 25000 m
yc : first = 0 last = 7000000 m
2 : generic > size : dim = 83457 nx = 297 ny = 281
xc : first = 0 last = 7400000 inc = 25000 m
yc : first = 0 last = 7000000 m
3 : lcc2 > size : dim = 83457 nx = 297 ny = 281
xc : first = 0 last = 7400000 inc = 25000 m
yc : first = 0 last = 7000000 inc = 25000 m
projpar : a = 0 lon_0 = -97 lat_0 = 46 lat_1 = 35 lat_2 = 60
Vertical coordinates :
1 : surface : 0
Time coordinate : 38 steps
RefTime = 1949-12-01 00:00:00 Units = hours Calendar = standard Bounds = true
YYYY-MM-DD hh:mm:ss YYYY-MM-DD hh:mm:ss YYYY-MM-DD hh:mm:ss YYYY-MM-DD hh:mm:ss
2003-12-10 05:30:00 2005-01-03 11:30:00 2005-01-03 17:30:00 2005-01-04 23:30:00
2005-01-05 05:30:00 2005-01-05 11:30:00 2005-01-13 05:30:00 2005-01-13 11:30:00
2006-02-28 23:30:00 2006-12-01 05:30:00 2006-12-01 11:30:00 2006-12-20 17:30:00
2006-12-30 11:30:00 2006-12-30 17:30:00 2006-12-31 05:30:00 2006-12-31 11:30:00
2006-12-31 17:30:00 2007-02-13 05:30:00 2007-02-24 17:30:00 2007-02-24 23:30:00
2007-12-01 23:30:00 2008-01-08 05:30:00 2008-01-08 11:30:00 2008-02-06 05:30:00
2008-02-17 05:30:00 2008-02-17 11:30:00 2008-02-17 17:30:00 2008-12-19 05:30:00
2008-12-19 11:30:00 2008-12-27 11:30:00 2008-12-27 17:30:00 2008-12-27 23:30:00
2009-12-24 11:30:00 2009-12-24 17:30:00 2009-12-24 23:30:00 2009-12-25 05:30:00
2009-12-25 11:30:00 2010-01-24 05:30:00

I have tried to pull out the selname and get an error as well.

I attached the file.

Thanks

-Jacob Spender


Replies (1)

RE: unsupported grid type - Added by Uwe Schulzweida about 5 years ago

The coordinates attribute of the varible tas is not set correctly:

tas:coordinates = "xlat xlon" ;
Your file contains the coordinates name lat and lon. You can change this attribute with:
ncatted -a  coordinates,tas,o,c,"lon lat" tas_WRF_25km_widespread.nc

Cheers,
Uwe

    (1-1/1)