shifting longitudes
Added by Bjorn Stevens almost 6 years ago
It seems that for some operations CDOs shift my longitudes from -180/180 to 180/540. Is there a way to change them back, or enforce a given range? I tried setlonlatbox, but this did not change anything.
Replies (1)
RE: shifting longitudes - Added by Karin Meier-Fleischer almost 6 years ago
Hi Bjorn,
the shifting of 360 degrees is unusual. Which command did you use? Please, upload a test file so that we are able to reproduce the problem.
Beforehand, if you do not change the grid during the processing you can preserve the grid in a grid file with
cdo griddes infile > griddes.txt
and set the file with the shifted grid back to it using
cdo setgrid,griddes.txt file_with_shifted_grid file_with_correct_gridBut that's just a workaround.
Bye, Karin