cdo remapnn (Abort): Unsupported grid type: generic
Added by farshad yavari almost 4 years ago
hi!
I'm trying to extract data for a single point from a netcdf file by using the command below:
cdo remapnn,lon=51.35_lat=35.6833 wrfout_d03_2019-08-06_00:00:00 output.nc
and I'm getting this error: cdo remapnn (Abort): Unsupported grid type: generic
the input file is WRF model output and when I use ncdump, I'm getting this informations:
netcdf wrfout_d03_2019-08-06_00\:00\:00 {
dimensions:
Time = UNLIMITED ; // (121 currently)
DateStrLen = 19 ;
west_east = 54 ;
south_north = 54 ;
bottom_top = 29 ;
bottom_top_stag = 30 ;
soil_layers_stag = 4 ;
west_east_stag = 55 ;
south_north_stag = 55 ;
variables:
char Times(Time, DateStrLen) ;
float XLAT ;
XLAT:FieldType = 104 ;
XLAT:MemoryOrder = "XY " ;
XLAT:description = "LATITUDE, SOUTH IS NEGATIVE" ;
XLAT:units = "degree_north" ;
XLAT:stagger = "" ;
float XLONG ;
XLONG:FieldType = 104 ;
XLONG:MemoryOrder = "XY " ;
XLONG:description = "LONGITUDE, WEST IS NEGATIVE" ;
XLONG:units = "degree_east" ;
XLONG:stagger = "" ;
I would appreciate it if you could help me.
Best Regards
Farshad
Replies (1)
RE: cdo remapnn (Abort): Unsupported grid type: generic - Added by Brendan DeTracey almost 4 years ago
From the first paragraph of the CDO manual.
The NetCDF attributes should follow the GDT, COARDS or CF Conventions.Try: https://www.google.com/search?q=wrf+output+to+cf+metadata and https://www.ncl.ucar.edu/Applications/wrfnetcdf.shtml