Project

General

Profile

Convert to regular latlon grid from curvilinear / generic grid

Added by Oliver Angelil over 7 years ago

When applying "cdo griddes" on the provided file, I get two grid types: grid 1 generic and grid 2 is curvilinear. When doing a "ncdump -h" on the file, the description of the variable "rlat" is "latitude in rotated pole grid". I am not sure how to proceed to remap/convert this file to a regular latlon grid? Is this possible with CDO?

Thanks,
Oliver


Replies (2)

RE: Convert to regular latlon grid from curvilinear / generic grid - Added by Uwe Schulzweida over 7 years ago

Normally you have to select the data on the 2nd grid before the remapping. Here is an example for a bilinear interpolation to a global regular 1deg lonlat grid:

cdo remapbil,global_1 -selgrid,2 tos.nc result
But the 1st generic grid has only one gridpoint and such a grid will be ignored by the remapping. That means "selgrid,2" is not necessary in this case:
cdo remapbil,global_1 tos.nc result
Cheers,
Uwe

    (1-2/2)