Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If the
Code Block
titleConvert to regular Gaussian grid: GRIB-1 only
 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
titleConvert to regular grid: GRIB-2
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.

...