Project

General

Profile

latitude from -90 to 90 instead of 90 to -90

Added by Malte Thoma about 11 years ago

cdo changes the orientation of the latitude:

cdo sinfo in.nc

Horizontal grids :
1 : gaussian > size : dim = 18048 nlon = 192 nlat = 94 np = 0
LON : first = 0 last = 358.125 inc = 1.875 degrees_east circular
LAT : first = -88.5419998 last = 88.5419998 degrees_north

cdo remapcon,t63grid in.nc out.nc

cdo sinfo out.nc

Horizontal grids :
1 : gaussian > size : dim = 18432 nlon = 192 nlat = 96 np = 0
lon : first = 0 last = 358.125 inc = 1.875 degrees_east circular
lat : first = 88.5721685 last = -88.5721685 degrees_north

Is ther any option to keep the lat to run from the Sout to the North and not vise versa?
To me it seems much more intuitive to run a value from -90 to +90.

Reagards,
Malte


Replies (1)

RE: latitude from -90 to 90 instead of 90 to -90 - Added by Malte Thoma about 11 years ago

I found the solution:

cdo -invertlat -remapcon,t63grid in.nc out.nc

    (1-1/1)