Project

General

Profile

regridding problems with generic grid from file

Added by Antje Fitzner over 12 years ago

Dear all,

I am very new to CDO and I hope my question is not too stupid.

I have RCM data file (RCM.nc) that I want to regrid onto an existing file (infile.nc).

I saved the grid information with griddes:
cdo griddes infile.nc > grid
  1. grid #
  1. gridID 0 #
    #gridtype = generic
    #gridsize = 4331
    #xname = x
    #xlongname = Cartesian x-coordinate
    #xunits = meters
    #yname = y
    #longname = Cartesian y-coordinate
    #yunits = meters
    #xsize = 71
    #size = 61
    #xfirst = -550000
    #xinc = 5000
    #yfirst = -3e+06
    #yinc = 5000

Now I want to remap, but it doesn't recognize the 'generic' gridtype:
cdo -v gencon,grid RCM.nv weights.nc
cdo -v remap,grid,weights.nc RCM.nc RCM_regridded.nc

  1. output
    #cdo griddes: Processed 11 variables. ( 0.01s )
    #cdo gencon: Extrapolation disabled!
    #Warning (gridFromFile) : Invalid grid name : generic

#cdo gencon (Abort): Invalid grid description file grid!
#cdo remap: Extrapolation disabled!
#Warning (gridFromFile) : Invalid grid name : generic

#cdo remap (Abort): Invalid grid description file grid!

About the sofware: I am using CDO 1.4.0.1 on a unix server.

What am I doing wrong?
Thanks for your help!

Antje