Project

General

Profile

lat lon conversion

Added by Jay Su over 5 years ago

Hello,

In the history of the file, the last CDO step is
cdo -s -L -f nc4 -sellonlatbox,-125.06,-125.04,-5.06,-5.04 …
Don’t understand why it turns to
X = 234.95

The grid point is located at (-125.05, -5.05).

CDO version 1.6.9.

Thanks,


Replies (6)

RE: lat lon conversion - Added by Ralf Mueller over 5 years ago

hi!

I see no way to help you without your input data.

sorry
ralf

RE: lat lon conversion - Added by Jay Su over 5 years ago

Thank you Ralf,

Attached is one of the tested files.

The issue is not so much data dependent.

RE: lat lon conversion - Added by Ralf Mueller over 5 years ago

hi!

Your target grid has only a single point, where CDO falls back into the default grid description of using positive values for longitudes. I think it would be more convenient to retain the original value. I will check the implementation ...

sorry
Ralf

RE: lat lon conversion - Added by Ralf Mueller over 5 years ago

hi again,
thx for the report - this will be fixed in the next CDO release.

hth
ralf

RE: lat lon conversion - Added by Jay Su over 4 years ago

May I ask if it's resolved in v1.9.7? Thanks,

RE: lat lon conversion - Added by Uwe Schulzweida over 4 years ago

Yes, this problem is solved in v1.9.7!

    (1-6/6)