Project

General

Profile

uv2dv - does the order of the lat-axis matter?

Added by Ralf Hand over 9 years ago

Dear all,

I computed the wind divergence of a low-level wind field, using uv2dv. I used the same procedure that I had used to compute the same quantity on many other data, which always looked fine to me. However, when applying the same script to another model data set, the sign of the resulting field looks odd. When plotting the wind fields vectors with the divergence field, I'm pretty sure, that my script gives divergence where the vectors converge and vice-versa.

The only difference I could spot in the data is that the lat axis is defined as -90...90 for the one file, but 90...-90 for the other. I would have expected, that cdo reads the axis data from the nc-file when computing the derivatives. Am I wrong with this, and might this cause a wrong sign for the divergence in the end?

Thanks and have a nice christmas,
Ralf


Replies (1)

RE: uv2dv - does the order of the lat-axis matter? - Added by Uwe Schulzweida over 9 years ago

Dear Ralf,

yes the Gaussian latitudes needs to be ordered from north to south. This is not checked. I have updated the documentation. You can use the CDO operator invertlat to reverse the latitudes.

Cheers
Uwe

    (1-1/1)