Project

General

Profile

cdo remapbil (Abort): Unsupported grid type: generic

Added by Jing Sun over 7 years ago

I want to remap my data to r360*360, "cdo -remapbil,r360*360 HadISST_sst.nc HadISST_sst.5degree.nc"
but it shows :cdo remapbil (Abort): Unsupported grid type: generic
I have tried https://code.zmaw.de/boards/1/topics/513, but it doesn't work.
Here are the head information of my data,
etcdf HadISST_sst {
dimensions:
time = UNLIMITED ; // (1763 currently)
latitude = 180 ;
longitude = 360 ;
nv = 2 ;
variables:
float time(time) ;
time:units = "days since 1870-1-1 0:0:0" ;
time:calendar = "gregorian" ;
time:long_name = "Time" ;
time:standard_name = "time" ;
float time_bnds(time, nv) ;
float latitude(latitude) ;
latitude:units = "degrees_north" ;
latitude:long_name = "Latitude" ;
latitude:standard_name = "latitude" ;
float longitude(longitude) ;
longitude:units = "degrees_east" ;
longitude:long_name = "Longitude" ;
longitude:standard_name = "longitude" ;
float sst(time, latitude, longitude) ;
sst:_FillValue = -1.e+30f ;
sst:standard_name = "sea_surface_temperature" ;
sst:long_name = "sst" ;
sst:units = "C" ;
sst:cell_methods = "time: lat: lon: mean" ;
sst:missing_value = -1.e+30f ;

// global attributes:
:Title = "Monthly version of HadISST sea surface temperature component" ;
:description = "HadISST 1.1 monthly average sea surface temperature" ;
:institution = "Met Office Hadley Centre" ;
:source = "HadISST" ;
:reference = "Rayner, N. A., Parker, D. E., Horton, E. B., Folland, C. K., Alexander, L. V., Rowell, D. P., Kent, E. C., Kaplan, A. Global analyses of sea surface temperature, sea ice, and night marine air temperature since the late nineteenth century J. Geophys. Res.Vol. 108, No. D14, 4407 10.1029/2002JD002670" ;
:Conventions = "CF-1.0" ;
:history = "11/1/2017 converted to netcdf from pp format" ;
:supplementary_information = "Updates and supplementary information will be available from http://www.metoffice.gov.uk/hadobs/hadisst" ;
:comment = "Data restrictions: for academic research use only. Data are Crown copyright see (http://www.opsi.gov.uk/advice/crown-copyright/copyright-guidance/index.htm)" ;
}

since it is too big , i will just attached 10 years version.
Thanks a lot for helping.
Best,
Amber


Replies (3)

RE: cdo remapbil (Abort): Unsupported grid type: generic - Added by Uwe Schulzweida over 7 years ago

Here is the result of "cdo sinfon HadISST_sst.test.nc" (with cdo version 1.7.1):

   File format : NetCDF
    -1 : Institut Source   Steptype Levels Num    Points Num Dtype : Parameter name
     1 : unknown  HadISST  instant       1   1         2   1  F32  : time_bnds     
     2 : unknown  HadISST  instant       1   1     64800   2  F32  : sst           
   Grid coordinates :
     1 : generic                  : points=2
     2 : lonlat                   : points=64800 (360x180)
                        longitude : -179.5 to 179.5 by 1 degrees_east  circular
                         latitude : 89.5 to -89.5 by -1 degrees_north
   Vertical coordinates :
     1 : surface                  : levels=1
   Time coordinate :  132 steps
     RefTime =  1870-01-01 00:00:00  Units = days  Calendar = standard
  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss
  1870-01-16 12:00:00  1870-02-14 23:59:59  1870-03-16 11:59:59  1870-04-15 23:59:59
  1870-05-16 12:00:00  1870-06-16 00:00:00  1870-07-16 12:00:00  1870-08-16 12:00:00
...
CDO found 2 data variables, the first variable time_bnds has 2 points and no grid information. Such a variable can't be interpolated with CDO. In this case you need to select the variable sst for the interpolation:
cdo remapbil,r360*360 -selname,sst HadISST_sst.test.nc result

RE: cdo remapbil (Abort): Unsupported grid type: generic - Added by earl mercado over 3 years ago

Did you try using the following command:

cdo remapbil,infile1 infile2 ofile

it should work for mapping one of your files to the other
see domyhomework4me.onl batch file

    (1-3/3)