Project

General

Profile

sellonlatbox error

Added by Jonathan Tinsley about 2 months ago

Hi,

I am using sellonlatbox to mask a .nc file. However, despite the shell script containing the correct lons and lat (cdo sellonlatbox,41,35,-2,-19), when I subsequently check the file using cdo sinfo, it is giving the extent as:

lon : 41.36 to 394.76 degrees_east
lat : -18.92 to -2.2 by 0.44 degrees_north

I attach the files in question.

Best regards

Jonathan


Replies (2)

RE: sellonlatbox error - Added by Jonathan Tinsley about 2 months ago

I should add that I have used the exact same script but using different coordinates for other subregions of Africa successfully, so I am not sure why this error is occurring in this case..

RE: sellonlatbox error - Added by Jonathan Tinsley about 2 months ago

Solved this by the way - had lon 1 and lon 2 in the wrong order (!)

    (1-2/2)