help with supported grid type using NARR data set
Added by Jacob Spender over 5 years ago
Hello,
Im trying to cut out a domain for my dataset for omega values at 700mb. I get the error unsupported grid type "generic". I used the function ncatted -a coordinates,omega,o,c,"lat lon" NARR_verticalM_widespread_12.nc but still get the same result. Im using cdo sellonlatbox,-99,-89,37,47 to get the domain of my choosing which causes the unsupported grid type error
I have the file attached below.
Replies (4)
RE: help with supported grid type using NARR data set - Added by Karin Meier-Fleischer over 5 years ago
Hi Jacob,
to use the lat/lon variables as coordinates you have to set the axis attribute for them.
ncatted -O -a axis,lat,c,c,"Y" -a axis,lon,c,c,"X" NARR_verticalM_event.nc outfile.nc
-Karin
RE: help with supported grid type using NARR data set - Added by Jacob Spender over 5 years ago
Hi Karin,
I tried doing that and still get the same error "Unsupported Grid type: generic"
-Jacob
RE: help with supported grid type using NARR data set - Added by Karin Meier-Fleischer over 5 years ago
Did you select the variable omega?
ncatted -O -a axis,lat,c,c,"Y" -a axis,lon,c,c,"X" NARR_verticalM_event.nc tmp.nc cdo sellonlatbox,-99,-89,37,47 -selname,omega tmp.nc NARR_subregion.nc
If this doesn't work which CDO version are you using? I'm working with 1.9.5.
-Karin
RE: help with supported grid type using NARR data set - Added by Jacob Spender over 5 years ago
I believe I'm working with a slightly older version. I did try the new code and i get a segmentation fault saying it started the process, then faulted.
-Jacob