Versions Compared

Key

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

...

Excerpt
hiddentrue

But this will not work and issue errors re codedValues and bitsPerValue! You need to use the repacking option as shown

How can I change from second_order to simple packing?

Step-by-step guide

You may be tempted to try it like this:

Code Block
% grib_set -s packingType=grid_simple second_order.grib simple.grib

But this will not work and issue errors re codedValues and bitsPerValue! You need to use the repacking option as shown, adding the "-r" option to repack the message:

Code Block
% grib_set -r -s packingType=grid_simple second_order.grib simple.grib

Also see the code example: grib_precision

...


Content by Label
showLabelsfalse
max5
spaces~usa
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = in ("kb-how-to-article","eccodes-faqs","grib","second-order","packing","encode") and label in ("packing","grib") and type = "page" and space = "~usaUDOC"
labelskb-how-to-article

...

hiddentrue

...