Project

General

Profile

remapcon-SCRIP and YAC give different outputs

Added by Shizhu Wang about 5 years ago

Hi all,
I use cdo to remap a nc file of gaussian (384x192) grid to n47 grid like this:

cdo remapcon,n47 in.nc out.nc

When I use cdo1.9.6, the output is

cdo remapcon: YAC first order conservative weights from gaussian (384x192) to gaussian (188x94) grid

When I use cdo1.8.2_gnu, the output is

cdo remapcon: SCRIP first order conservative weights from gaussian (384x192) to gaussian (192x94) grid

So, why do YAC and SCRIP packages give different n47 grids? I think there should be only one type of n47 grid.

Thank you,
Shizhu


Replies (2)

RE: remapcon-SCRIP and YAC give different outputs - Added by Ralf Mueller about 5 years ago

hi!
I am not an expert on these grids, this mismatch is not present for the latest release 1.9.8

% cdo remapscon,n47 -topo tsc.nc
cdo(1) topo: Process started
cdo    remapscon: SCRIP first order conservative weights from lonlat (720x360) to gaussian (188x94) grid
cdo(1) topo:          
cdo    remapscon: Processed 259200 values from 1 variable over 1 timestep [0.72s 118MB].

% cdo remapcon,n47 -topo tc.nc
cdo(1) topo: Process started
cdo    remapcon: YAC first order conservative weights from lonlat (720x360) to gaussian (188x94) grid
cdo(1) topo:         
cdo    remapcon: Processed 259200 values from 1 variable over 1 timestep [0.68s 69MB].

hth
ralf

RE: remapcon-SCRIP and YAC give different outputs - Added by Shizhu Wang about 5 years ago

Hi ralf,

thank you for the answer. So now the problem is the previous version (e.g., 1.8.2) define the n47 gaussinan grid as

192x94

while the newer version (e.g., 1.9.6 or 1.9.8) define the n47 grid as
188x94

Best,
Shizhu

    (1-2/2)