Project

General

Profile

sellonlatbox from rotated pole NetCDF

Added by Corso Quilici over 3 years ago

Hi,

I need to extract data from a location defined by coordinates.
I've tried to use sellonlatbox tool from the CDO library, but i get the following error:

cdo -sellonlatbox,10,14,40,44 lffd2006092610.nc new.nc

cdo sellonlatbox (Abort): Latitudinal dimension is too small!

I have also tried both remapnn and remapbil, on their own or in combo, but I always get an error:

cdo -remapnn,lon=10.0_lat=53.0 lffd2006092610.nc out.nc

cdo remapnn (Abort): Unsupported generic coordinates (Variable: vcoord)!

or

cdo -remapnn,lon=11.3_lat=42.5 -remapbil,r360x180 lffd2006092610.nc out.nc

cdo remapbil (Abort): Unsupported generic coordinates (Variable: vcoord)

Could someone please help me out?
I'm afraid the problem sits in the rotated pole projection, but I can't work my head around it.

Thanks!
Corso


Replies (3)

RE: sellonlatbox from rotated pole NetCDF - Added by Karin Meier-Fleischer over 3 years ago

Hi Corso,

can you upload the file (1 timestep)?

-Karin

RE: sellonlatbox from rotated pole NetCDF - Added by Corso Quilici over 3 years ago

Hi Karin,
you can find the file here attached.
note that it's not the file i posted on the forum, but a different file.
the new file comes from the same simulation, and presents the same problem:

cdo -sellonlatbox,10.0,14.0,40.0,44.0 lffd2006092609.nc new.nc

gives me

cdo sellonlatbox (Abort): Latitudinal dimension is too small!

just like before.

thanks
Corso

RE: sellonlatbox from rotated pole NetCDF - Added by Karin Meier-Fleischer over 3 years ago

The file contains some needless coordinate variables like vcoord. When selecting all variables the needless coordinates will disappear.

cdo -sellonlatbox,10.0,14.0,40.0,44.0 -selname,PMSL,TQV,TWATER,TWATFLXU,TWATFLXV lffd2006092609.nc new.nc
    (1-3/3)