Project

General

Profile

set grid type from curvilinear to lonlat

Added by Frosi Ma almost 6 years ago

Hello,
I am trying to set my grid type from curvilinear to lonlat, but

cdo setgridtype,lonlat exp.nc lonlat-exp.nc

fails, because it only works on global data - mine is regional.

Here is an excerpt from my cdo sinfo:

Grid coordinates :
1 : curvilinear : points=62500 (250x250)
lon : 45.64614 to 108.1123 degrees_east
lat : -6.67273 to 44.8 by 0.1974667 degrees_north

Can somebody please help me?
Or is the only solution to interpolate to another grid?

Thank you very much
Kind regards
Frosi

exp.nc (29.3 MB) exp.nc

Replies (1)

RE: set grid type from curvilinear to lonlat - Added by Uwe Schulzweida almost 6 years ago

lonlat is a special case of a curvilinear grid where the increment in lon and lat are constant.
This is not the case in your example file. In this case you have to interpolate the data.

Cheers,
Uwe

    (1-1/1)