"Grid type >generic< unsupported!" when using sellonlatbox
Added by Martin Jury over 11 years ago
Hi,
I'm trying to select a lonlatbox (cdo sellonlatbox) of a nc file with a non generic grid type (CMIP5's GFDL-CM3 model amip runs).
As to now I have tried:
- cdo setgridtype,cell
- cdo setgrid,grid.txt this worked actually, but the gridtype was still generic
Allways getting the same error
Error (gridToUnstructured) : Grid type >generic< unsupported!
Here is the grid description of the model:
File format: netCDF2
-1 : Institut Source Param Time Typ Grid Size Num Levels Num
1 : unknown unknown -1 var F32 12960 1 1 1
2 : unknown unknown -2 var F64 1 2 1 1
Horizontal grids :
1 : lonlat > size : dim = 12960 nlon = 144 nlat = 90
lon : first = 1.25 last = 358.75 inc = 2.5 degrees_east circular
lat : first = -89 last = 89 inc = 2 degrees_north
available : xbounds ybounds
2 : generic > size : dim = 1
Vertical grids :
1 : surface : 0
Any ideas how to work around this issue with cdo are more than welcome!
Thanks in advance,
Martin
Replies (1)
RE: "Grid type >generic< unsupported!" when using sellonlatbox - Added by Jaison-Thomas Ambadan over 11 years ago
Hi,
If you select the appropriate variable (use "select,param=-1") it may work. I guess the parameter -2 creates the problem (Param with grid size 1; see the "Param" column of the info) if you use "sinfov" it'll provide the name of the appropriate variable, and then try "selvar" or "select" before applying "setgrid" or "sellonlatbox".
Cheers,
J