Problem

If you issue the command "grib_set -s changeDecimalPrecision=1 spectral.grib output", you can get an error

Failure setting key changeDecimalPrecision

Solution

If you issue the command "grib_set -s changeDecimalPrecision=1 spectral.grib output", you can get an error

ECCODES ERROR   :  COMPLEX_PACKING : Cannot compute binary_scale_factor

This is because that key does not work for spectral_complex! So first check the packingType key.

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.