Unsupported grid type: generic
Added by praveen rai over 9 years ago
Dear CDO users,
I am trying to use sellonlatbox command over a nc file which has got two different grid id (lonlat and generic). while using the same command it gives the error
cdo -sellonlatbox,73.0,82.0,18.0,28.0 -setgrid,grid.txt olr.day.mean_jjas_79_05.nc olr.day.mean_jjas_79_05_new.nc
cdo sellonlatbox: Started child process "setgrid,grid.txt olr.day.mean_jjas_79_05.nc (pipe1.1)".
cdo sellonlatbox: Unsupported grid type: generic
cdo sellonlatbox (Abort): Unsupported grid type!
even I am not succeeding in changing the grid type (generic to lonlat) to perform the sellonlat operation. Please help me in this regard.
the output for dump and griddes has been attached herewith for the reference.
Replies (2)
RE: Unsupported grid type: generic - Added by Uwe Schulzweida over 9 years ago
Have a look at the sinfon output:
File format : netCDF -1 : Institut Source Ttype Levels Num Points Num Dtype : Parameter name 1 : unknown unknown instant 1 1 10512 1 I16 : olr 2 : unknown unknown instant 1 1 7 2 I16 : info Grid coordinates : 1 : lonlat : points=10512 (144x73) lon : ?? to ?? degrees_east lat : ?? to ?? degrees_north 2 : generic : points=7 Vertical coordinates : 1 : surface : levels=1 ...CDO found two variables (olr and info). The variable info has 7 gridpoints without any grid information. Such a variable can't be processed with sellonlatbox. You have to select the variable olr:
cdo -sellonlatbox,73.0,82.0,18.0,28.0 -selname,olr olr.day.mean_jjas_79_05.nc olr.day.mean_jjas_79_05_new.nc
RE: Unsupported grid type: generic - Added by praveen rai over 9 years ago
Thank you so much for your help Uwe.
Cheers
Praveen