Project

General

Profile

remap an ratated nc file to a small domain with gird.txt from a unrotated nc file

Added by Mingyue Zhang about 4 years ago

I would like to remap an rotated netcdf(middle europe) files to get to get a same domain with a reference non-rotated nc file. The netcdf files have a rotated_pole:grid_mapping_name = "rotated_latitude_longitude" ; the targeted non-rotated nc file has the gird_mapping name = "projection"

and I would like have the same area.
I have tried with the operator remapbil,but it went wrong. I think that I miss some thing somewhere. Please could anyone suggest the approach in cdo.I added the two files which I want to process.

Replies (7)

RE: remap an ratated nc file to a small domain with gird.txt from a unrotated nc file - Added by Mingyue Zhang about 4 years ago

Hi Karin

The input data is too big, is there any other way that I can give it to you?

Best,Mingyue

RE: remap an ratated nc file to a small domain with gird.txt from a unrotated nc file - Added by Karin Meier-Fleischer about 4 years ago

cdo remapbil,tmax_hyras_5_1999_v4.0_ocz.nc globc_TMAX_2M_ts_1999_month_average_seasonal_JJA.nc outfile.nc

RE: remap an ratated nc file to a small domain with gird.txt from a unrotated nc file - Added by Mingyue Zhang about 4 years ago

Hi Karin

May I ask which version of CDO are you using? I am using cdo/1.9.8 and it says "coordination missing". I looked up online, they said it is because of the version of the cdo

Best,Mingyue

RE: remap an ratated nc file to a small domain with gird.txt from a unrotated nc file - Added by Karin Meier-Fleischer about 4 years ago

I'm using 1.9.8, too. Do you set the environment variable IGNORE_ATT_COORDINATES? It should be set to 0 (zero).

RE: remap an ratated nc file to a small domain with gird.txt from a unrotated nc file - Added by Mingyue Zhang about 4 years ago

Hi Karin

Thank you very much. I set the IGNORE_ATT_COORDINATES as 0, now it works. Thank you very much.

Cheers
Mingyue

    (1-7/7)