...
Code Block | ||
---|---|---|
| ||
cdo -R copy <input grib> <output grib> | ||
Info |
The -R
option
...
only works for GRIB edition 1 (GRIB 1) data as it uses the CGRIBEX decoder.
For GRIB-2 messages it's better to use the setgridtype
operator:
Code Block | ||
---|---|---|
| ||
cdo setgridtype,regular <input grib> <output grib> |
Info |
---|
If you have files with a mix of GRIB-1 and GRIB-2, then either split the file first or compile cdo with "--disable-cgribex --with-grib_api" |
If these steps do If this step does not work, see workarounds below.
...