Raspberry Pi and CDO 1.9.10-1
Added by R D over 1 year ago
Hi,
I am trying to use CDO on my raspberry pi 3.
Even with this call it fails.
cdo -L -v sinfo nowcast.nc
OpenMP: num_procs=4 max_threads=1
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Segmentation fault
This should be the final call:
cdo -L -v -outputtab,date,time,lon,lat,name,value -remapdis,"lon=13_lat=47" nowcast.nc > output.csv
OpenMP: num_procs=4 max_threads=1
cdo(1) remapdis: Process started
cdo outputtab: key 1 = date
cdo outputtab: key 2 = time
cdo outputtab: key 3 = lon
cdo outputtab: key 4 = lat
cdo outputtab: key 5 = name
cdo(1) remapdis: Point search radius = 180 deg
cdo(1) remapdis: Extrapolation enabled!
cdo outputtab: key 6 = value
cdo outputtab: keynr = 0 keyid = 12 keylen = 10 keyname = date
cdo outputtab: keynr = 1 keyid = 13 keylen = 8 keyname = time
cdo outputtab: keynr = 2 keyid = 5 keylen = 6 keyname = lon
cdo outputtab: keynr = 3 keyid = 6 keylen = 6 keyname = lat
cdo outputtab: keynr = 4 keyid = 4 keylen = 8 keyname = name
cdo outputtab: keynr = 5 keyid = 1 keylen = 8 keyname = value
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned!
Segmentation fault
It all works with Ubuntu and CDO 2.0.4.
Is this a known bug?
Thanks in advance.
Rudi
Replies (5)
RE: Raspberry Pi and CDO 1.9.10-1 - Added by Ralf Mueller over 1 year ago
hi!
Raspberry Pi is not a well tested platform for CDO ;-)
Please upload the output of
cdo -Vand the input file if possible!
cheers
ralf
and thx for testing CDO on that hardware
RE: Raspberry Pi and CDO 1.9.10-1 - Added by R D over 1 year ago
Hi,
thanks for your help.
cdo -V Climate Data Operators version 1.9.10 (https://mpimet.mpg.de/cdo) System: arm-unknown-linux-gnueabihf CXX Compiler: g++ -g -O2 -ffile-prefix-map=/build/cdo-HaeZ2B/cdo-1.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -pthread CXX version : g++ (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110 C Compiler: gcc -g -O2 -ffile-prefix-map=/build/cdo-HaeZ2B/cdo-1.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fPIC -fopenmp -pthread -pthread C version : gcc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110 F77 Compiler: f77 -g -O2 -ffile-prefix-map=/build/cdo-HaeZ2B/cdo-1.9.10=. -fstack-protector-strong F77 version : GNU Fortran (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110 Features: 4threads C++14 OpenMP45 Fortran PTHREADS HDF5 NC4/HDF5/threadsafe OPeNDAP SZ UDUNITS2 PROJ MAGICS CURL FFTW3 Libraries: HDF5/1.10.6 proj/7.2.1 curl/7.74.0 Filetypes: srv ext ieg grb1 grb2 nc1 nc2 nc4 nc4c nc5 CDI library version : 1.9.10 ecCodes library version : 2.20.0 NetCDF library version : 4.7.4 of Apr 21 2020 19:56:21 $ hdf5 library version : library undefined exse library version : 1.4.2 FILE library version : 1.9.1
thanks for your great software.
cheers Rudi
RE: Raspberry Pi and CDO 1.9.10-1 - Added by Estanislao Gavilan over 1 year ago
Hi Rudi,
I tried that command in my Cywin64 with cdo version 1.9.0, and it worked. However, cdo 1.9.[0-10] versions had many bugs, thus it is recommendable to have a 2.0.4+. I also have a raspberry aarc64, Bullseye repository only provides the version 1.9.10. I tried to install an updated cdo via miniconda with miniforge3 but my raspberry got frozen after using the command conda install cdo. I am afraid I cannot find the proper solution because my lovely raspberry 3 is in a different country. If you have time for it, you could try to install it via source or find out the way to make miniconda work in your raspberry.
Kind regards
Estanislao
RE: Raspberry Pi and CDO 1.9.10-1 - Added by R D over 1 year ago
Hi, ok.
I trying to build 2.2.0 from source on my raspi. - challenge accepted, i would say ;)
Thanks for all the input,
Cheers Rudi
RE: Raspberry Pi and CDO 1.9.10-1 - Added by R D over 1 year ago
I build the latest version on my raspberry and installed it. the result is the same:
Is there any info about "Segmentation fault" - should i also build and install a newer NetCDF version?
cdo -L -v -outputtab,date,time,lon,lat,name,value -remapdis,"lon=13_lat=47" ~/Desktop/nowcast/nowcast.nc > ~/Desktop/nowcast/output.csv OpenMP: num_procs=4 max_threads=1 cdi warning (cdfInqContents): Coordinates variable lambert_conformal_conic can't be assigned! Segmentation fault
cdo -V Climate Data Operators version 2.2.0 (https://mpimet.mpg.de/cdo) System: armv7l-unknown-linux-gnueabihf CXX Compiler: g++ -std=gnu++17 -g -O2 -fopenmp -pthread CXX version : g++ (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110 C Compiler: gcc -g -O2 -fopenmp -pthread -pthread C version : gcc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110 F77 Compiler: Features: 4threads c++17 OpenMP45 pthreads NC4/HDF5 OPeNDAP Libraries: yac/2.6.1 NetCDF/4.7.4 CDI data types: SizeType=size_t CDI file types: srv ext ieg grb1 nc1 nc2 nc4 nc4c nc5 CDI library version : 2.2.1 cgribex library version : 2.1.0 NetCDF library version : 4.7.4 of Apr 21 2020 19:56:21 $ exse library version : 1.5.0 FILE library version : 1.9.1