Project

General

Profile

regular gaussian to gaussian reduced interpolation

Added by Franco Catalano over 10 years ago

Hi,
I have data on a regular gaussian N80 grid and I need to interpolate them on a N80 reduced gaussian grid.
I could not find a cdo function that can directly do that. Anyone knows wheter it is possible to do that in cdo and how?
Thanks a lot for your help.

Franco Catalano


Replies (5)

RE: regular gaussian to gaussian reduced interpolation - Added by Uwe Schulzweida over 10 years ago

Hi Franco,

This task is not possible with CDO, sorry.

Cheers,
Uwe

RE: regular gaussian to gaussian reduced interpolation - Added by Jost von Hardenberg about 9 years ago

Hello,
I come back to the topic of converting TO a reduced Gaussian grid using CDO.
The following solution appears to work, is there anything wrong with this?

1) create an irregular grid description containing all the coordinates for gridpoints in a reduced Gaussian grid (the enclosed n128.txt is an example for a n128 reduced gg)
2) interpolate the original field to this grid
3) change the grid description to Gaussian reduced (in the example below I use a file already in reduced gg)

Example:
cdo setgrid,n128.grb -remapbil,n128.txt original.nc final.grb

n128.txt (4.74 KB) n128.txt Irregular grid description for n128

RE: regular gaussian to gaussian reduced interpolation - Added by Jost von Hardenberg about 9 years ago

In my previous post I enclosed a wrong file for the irregular grid description, here is a correct version to be used as follows:

cdo setgrid,n128.grb -remapbil,n128irr.txt original.grb final.grb

where: original.grb is the original file to be transformed to gaussian reduced,
n128irr.txt is a description of an irregula grid with all the points of a Gaussian reduced grid (N128 in this case) and n128.grb is a file already in gaussian reduced format (the file n128.txt in the previous post could also be used for this)

RE: regular gaussian to gaussian reduced interpolation - Added by Miguel Ángel Prósper Fernández over 8 years ago

Hi,

I have been trying to resolve this task with you last advise: "cdo setgrid,n128.grb -remapbil,n128irr.txt original.grb final.grb" but I get the following error:

"cdo remapbil (Abort): unstructured grid without latitude coordinates!"

Maybe I might need to specify more values in n128irr.txt. Do you know how I can fix this problem?

Thanks,

Miguel

RE: regular gaussian to gaussian reduced interpolation - Added by Miguel Ángel Prósper Fernández over 8 years ago

Hi,

I solved it. I was using an old version (1.6.1), with 1.6.8 it works perfectly.

Miguel

    (1-5/5)