Project

General

Profile

How to convert from rotated curvilinear to non rotated curvilinear grid-Cordex-regarding.

Added by Naveen Pothula about 5 years ago

Hi,
I wanted to extract CORDEX data by doing some processing using CDO.
I am using CDO to convert a rotated curvilinear .nc file to a non-rotated curvilinear file and then interpolate it to lonlat grid of different grid resolution.What procedure should I follow.

On using the command cdo sinfo I got the information as below:

File format : NetCDF4 classic zip
-1 : Institut Source T Steptype Levels Num Points Num Dtype : Parameter ID
1 : unknown unknown v instant 1 1 25090 1 F32z : -1
Grid coordinates :
1 : curvilinear : points=25090 (193x130)
lon : 19.86421 to 115.5312 by 0.4179501 degrees_east
lat : -15.23163 to 45.25 by 0.4377272 degrees_north
mapping : rotated_latitude_longitude
rlon : -32.12 to 52.36 by 0.44 degrees
rlat : -21.56 to 35.2 by 0.44 degrees
Vertical coordinates :
1 : height : levels=1 scalar
height : 2 m

I understand from one of the previous discussions that setgrid canbe used,

when I tried
cdo setgridtype,curvilinear a.nc output.nc,it says

Grid type >curvilinear< unsupported

Some one kindly help,

best wishes,
naveen

a.nc (52.6 MB) a.nc

Replies (1)

RE: How to convert from rotated curvilinear to non rotated curvilinear grid-Cordex-regarding. - Added by Karin Meier-Fleischer about 5 years ago

Hi Naveen,

you can remap the data directly to a latlon grid. E.g. remapping to a global 360x180 grid using bilinear interpolation

cdo remapbil,r360x180 a.nc a_out.nc

-Karin

    (1-1/1)