cdo sellonlatbox gridbox in-between north (south) pole
Added by paolo de luca over 5 years ago
I am currently working with ERA5, but I think that this question may be applied to other datasets too.
My issue is that I am trying to select an ERA5 gridbox (of a given variable) in-between the north (or south) pole.
If we consider a gridbox with longitude in-between lon 0deg this can be done easily with cdo sellonlatbox:
cdo sellonlatbox,350,10,30,45 input.nc output.nc
where 350 and 10 are the longitude coordinates crossing lon 0deg.
But how can I select a gridbox ranging from lat 88deg to lat 88deg so that it crosses the north pole (lat 90deg)?
Maybe can I transform the latitude coordinates to 0-180?
I hope to have explained clearly the question.
Thanks for any help
Replies (1)
RE: cdo sellonlatbox gridbox in-between north (south) pole - Added by paolo de luca over 5 years ago
Maybe can I transform the latitude coordinates to 0-180?
I meant to 0-360 as per longitude.