selecting polygon with sellonlatbox
Added by Becca Rolph almost 8 years ago
Hi, I'm trying to select a polygon from my dataset that has a curvilinear grid with cdo sellonlatbox.. I have tried to do two separate operations of cdo sellonlat box, and then merge the files (e.g. merge the two different rectangular domains to make the polygon), but this doesn't seem like a right approach because I have the same timesteps and same variable names , so I get an error for example:
Warning (cdfDefVar) : Changed double entry of variable name 'SEAICE' to 'SEAICE_2'!
Warning (cdfDefVar) : Changed double entry of variable name 'U10' to 'U10_2'!
Any hints are appreciated
Replies (2)
RE: selecting polygon with sellonlatbox - Added by Ralf Mueller almost 8 years ago
Hi!
AFAIK netcdf defines the shortname to be uniq. Hence, you cannot save variables on two different grids with the same shortname. But you can adjust the long_name
to be identical.
hth
ralf