Project

General

Profile

Wrong GRIB indicator section: found

Added by Farhan Saleem about 2 years ago

Hi, I have downloaded three grib files (June, July, and August 2022) of variable divergence from hourly JRA55 data and tried to merge them using CDO, but got an error mentioned below;

cdo mergetime anl_p25.044_reld.2022060100_2022063018.saleem605772 anl_p25.044_reld.2022070100_2022073118.saleem605772 anl_p25.044_reld.2022080100_2022083118.saleem605772 div_JJA_2022
Wrong GRIB indicator section: found >n��t<
GRIB message error
Wrong GRIB indicator section: found >�WU<
GRIB message error
Wrong GRIB indicator section: found >�1S<
GRIB message error
Wrong GRIB indicator section: found >f��n<
GRIB message error
Wrong GRIB indicator section: found >�Mt�<
GRIB message error
Wrong GRIB indicator section: found >�"F$<
GRIB message error
Wrong GRIB indicator section: found >�C�<
GRIB message error
Wrong GRIB indicator section: found >�O<
GRIB message error
Wrong GRIB indicator section: found >e(U<
GRIB message error
cdo mergetime: Processed 3 variables over 368 timesteps [0.43s 47MB].

Can anyone help with this error? thanks

Best,
Farhan


Replies (3)

RE: Wrong GRIB indicator section: found - Added by Karin Meier-Fleischer about 2 years ago

Hi Farhan,

I am not able to reproduce the error on my Mac.

cdo -O -mergetime anl* div_JJA_2022.grb
cdo    mergetime: Processed 3 variables over 368 timesteps [0.03s 15MB].

Which cdo version are you using (cdo -V)? On what operating system (Windows, Linux, Mac OSX) are you working?

RE: Wrong GRIB indicator section: found - Added by Farhan Saleem about 2 years ago

Hi Karin,

I am using Windows subsystem for Linux on the windows 11 operating system and the CDO version is;

dell@Farhan:/mnt/c/JRA55/daily/div/JJA/combine$ cdo -V
Climate Data Operators version 2.0.4 (https://mpimet.mpg.de/cdo)
System: x86_64-pc-linux-gnu
CXX Compiler: g++ -std=gnu++14 -g -O2 -ffile-prefix-map=/build/cdo-hTyRvi/cdo-2.0.4=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -pthread
CXX version : g++ (Ubuntu 11.2.0-16ubuntu1) 11.2.0
C Compiler: gcc -g -O2 -ffile-prefix-map=/build/cdo-hTyRvi/cdo-2.0.4=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fPIC -fopenmp -pthread -pthread
C version : gcc (Ubuntu 11.2.0-16ubuntu1) 11.2.0
F77 Compiler: f77 -g -O2 -ffile-prefix-map=/build/cdo-hTyRvi/cdo-2.0.4=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong
F77 version : GNU Fortran (Ubuntu 11.2.0-16ubuntu1) 11.2.0
Features: 15GB 12threads C++14 OpenMP45 Fortran PTHREADS HDF5 NC4/HDF5/threadsafe OPeNDAP SZ UDUNITS2 PROJ MAGICS CURL FFTW3 SSE2
Libraries: HDF5/1.10.7 proj/8.2.1 curl/7.81.0 magics/4.10.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.4
ecCodes library version : 2.24.2
NetCDF library version : 4.8.1 of Sep 29 2021 09:36:14 $
hdf5 library version : library undefined
exse library version : 1.4.2
FILE library version : 1.9.1

RE: Wrong GRIB indicator section: found - Added by Karin Meier-Fleischer about 2 years ago

I have installed CDO 2.0.4 with conda on my Mac and everything works fine with mergetime and your files too.

Can you install the current version 2.1.0 with conda? See https://code.mpimet.mpg.de/projects/cdo/wiki/Anaconda

    (1-3/3)