ado sellonlatbox not working
Added by Myriam Trs over 2 years ago
Hello
Here is my cdo version on my Mac
(base) mymy@MacBook-Pro-de-Myriam ~ % cdo -V
Climate Data Operators version 2.0.5 (https://mpimet.mpg.de/cdo)
System: x86_64-apple-darwin19.6.0
CXX Compiler: /usr/bin/clang++ -std=gnu++14 -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -pthread
CXX version : Apple clang version 12.0.0 (clang-1200.0.32.29)
C Compiler: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -pthread -pthread
C version : Apple clang version 12.0.0 (clang-1200.0.32.29)
F77 Compiler: -pipe -Os -m64
Features: 16GB 4threads C++14 PTHREADS HDF5 NC4/HDF5 OPeNDAP UDUNITS2 PROJ CURL FFTW3 SSE4_1
Libraries: HDF5/1.12.2 proj/8.2.1 curl/7.83.1
CDI data types: SizeType=size_t DateType=int64_t
CDI file types: srv ext ieg grb1 grb2 nc1 nc2 nc4 nc4c nc5
CDI library version : 2.0.5
ecCodes library version : 2.25.0
NetCDF library version : 4.8.1 of Apr 30 2022 19:40:39 $
hdf5 library version : 1.12.2
exse library version : 1.4.2
FILE library version : 1.9.1
When I try to subset a region on my NetCDF file, it's not working. I get operator not found.
(base) mymy@MacBook-Pro-de-Myriam Desktop % * cdo sellonlatbox, -27.975, 75.975, -41.975, 47.975 cru.pet.1901.2020.nc cru.pet.1901.2020.africa.nc*
Operator >27.975< not found!
Similar operators are:
(not found)
Any suggestions would be very appreciated !
Thank you.
Replies (1)
RE: ado sellonlatbox not working - Added by Karin Meier-Fleischer over 2 years ago
Hi Myriam,
the error message tells you that CDO tries to interpret the value 27.975 as an operator. The CDO operators are used without blanks.
cdo sellonlatbox,-27.975,75.975,-41.975,47.975 cru.pet.1901.2020.nc cru.pet.1901.2020.africa.nc
-Karin