Versions Compared

Key

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

...

In these commands, we first decode the data values, then change the bitsPerValue key and then repack.
It is advisable to check the field values after such a change, for example by printing the statistics before and after:

Code Block
% grib_ls -n statistics in.grib
% grib_ls -n statistics out.grib


Content by Label
showLabelsfalse
max5
spacesUDOC
showSpacefalse
sortmodified
reversetrue
typepage
excludeCurrenttrue
cqllabel = "grib" and label in ("encode","grib") and type = "page" and space = "UDOC"
labelsgrib

...