Project

General

Profile

remapbil (Abort): Unsupported grid type: generic

Added by e ddc almost 11 years ago

Hello,

I am using the command
" cdo setgridtype,lonlat -select,name=so -remapbil,ll1deg_grid.nc -setgridarea,areacello.nc aux.nc out_1-deg.nc "
and getting the error messages:

" Warning (cdfScanVarAttributes) : NetCDF: Variable not found - areacello
cdo(3) remapbil (Abort): Unsupported grid type: generic "

Data in aux.nc uses a rotated grid and CDO seems not being able to use remapbil when processing such a grid.

Do you have any suggestions or perhaps an undocumented function that could help me remapping this file?

Thanks a lot in advance.

Regards,
Eduardo

PS
aux.nc can be find here:
http://www.filedropper.com/auxnc

areacello.nc and ll1_deg_grid.nc are attached to this messaged


Replies (1)

RE: remapbil (Abort): Unsupported grid type: generic - Added by Uwe Schulzweida almost 11 years ago

Hi Eduardo,

You have to select the variable so before the remapping:

 cdo -remapbil,ll1deg_grid.nc -select,name=so -setgridarea,areacello.nc aux.nc out_1-deg.nc
Otherwise CDO tries to remap also all other variables, and this is not possible for the variables sigma_bnds and zlev_bnds. See the result of sinfon.
cdo sinfon aux.nc
   File format: netCDF
    -1 : Institut Source   Ttype    Levels Num  Gridsize Num Dtype : Parameter name
     1 : unknown  MIROC4h  instant       1   1   1167360   1  F32  : eta           
     2 : unknown  MIROC4h  constant      1   1   1167360   1  F32  : depth         
     3 : unknown  MIROC4h  constant     48   2         2   2  F64  : sigma_bnds    
     4 : unknown  MIROC4h  constant     48   2         2   2  F64  : zlev_bnds     
     5 : unknown  MIROC4h  instant      48   2   1167360   3  F32  : so            
   Grid coordinates :
     1 : lonlat       > size      : dim = 1167360  nx = 1280  ny = 912
                        rlon      : first = 0.140625  last = 359.859375  inc = 0.28125  degrees  circular
                        rlat      : first = -85.40625  last = 85.40625  inc = 0.1875  degrees
                        available : xbounds ybounds
     2 : generic      > size      : dim = 2  nx = 2  ny = 0
     3 : curvilinear  > size      : dim = 1167360  nx = 1280  ny = 912
                        lon       : min = 9.32519288e-06  max = 359.999573  degrees_east  circular
                        lat       : min = -89.9555054  max = 89.9555054  degrees_north
                        available : xvals yvals xbounds ybounds

Cheers,
Uwe

    (1-1/1)