CDO v1.9.8 sellonlatbox error
Added by paolo de luca almost 5 years ago
Hi all,
I am trying to generate with CDO v1.9.8 a 0.25deg (horizontal resolution) netcdf file, with the following command:
cdo -f nc -sellonlatbox,lon1,lon2,lat1,lat2 -random,r1440x720 my_file.nc
however I get the following error:
cdo(1) random: Process started
cdo sellonlatbox (Abort): Float parameter >lon1< contains invalid character at position 1!
I remember a few months ago with an older CDO version I was able to run the command with no issues.
Is there any way I can fix this issue?
Thanks for any help.
paolo
Replies (3)
RE: CDO v1.9.8 sellonlatbox error - Added by Ralf Mueller almost 5 years ago
hi!
you have to use numbers for lon and lat like:
cdo -f nc -sellonlatbox,-123.4,-110.7,-45.1,-30 -random,r1440x720 my_file.nc
hth
ralf
RE: CDO v1.9.8 sellonlatbox error - Added by paolo de luca almost 5 years ago
yes..thank you
sorry but I had a long week :p
pao
RE: CDO v1.9.8 sellonlatbox error - Added by Ralf Mueller almost 5 years ago
no worries ;-)
stay healthy