Unsupported file type: Grib
Added by Heather G about 6 years ago
Hello,
I am having a hard time getting CDO to recognise grib files. I keep getting the following error:
cdo mergetime *.grb merged_test.grb
cdo mergetime: Open failed on >test_GFS_004.grb<
Unsupported file type
I reinstalled cdo ensuring that the grib-api was included, following the example here: https://gist.github.com/jeffbyrnes/e56d294c216fbd30fd2fd32e576db81c
My cdo version now reads as follows:
cdo --version
Climate Data Operators version 1.9.5 (http://mpimet.mpg.de/cdo)
System: x86_64-pc-linux-gnu
CXX Compiler: g++ -std=gnu++11 -g -O2 -fopenmp
CXX version : g++ (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
C Compiler: gcc -std=gnu99 -g -O2 -fopenmp
C version : gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
F77 Compiler: gfortran -g -O2
F77 version : GNU Fortran (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
Features: 15GB 8threads C++11 Fortran DATA PTHREADS OpenMP3 HDF5 NC4/HDF5 OPeNDAP SSE2
Libraries: HDF5/1.8.11
Filetypes: srv ext ieg grb1 grb2 nc1 nc2 nc4 nc4c
CDI library version : 1.9.5
CGRIBEX library version : 1.9.1
GRIB_API library version : 2.7.0
NetCDF library version : 4.3.0 of Nov 11 2013 08:53:55 $
HDF5 library version : 1.8.11
EXSE library version : 1.4.0
FILE library version : 1.8.3
But I am still getting the same error and I am not sure what else to try.
Thanks in advance,
Heather
Replies (1)
RE: Unsupported file type: Grib - Added by Ralf Mueller about 6 years ago
hi Heather!
the CDO build looks ok. Could you upload the file?
cheers
ralf