Versions Compared

Key

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

...

This can be done by setting the key "deletePV" as shown:

Code Block
$% grib_set -s deletePV=1 in.grib out.grib

Which is in fact equivalent to setting the number of coordinate values to 0 and clearing the "pv" array:

Code Block
$% grib_set -s PVPresent=0,NV=0 in.grib out.grib

Afterwards you can do a check with grib_compare to see the differences:

Code Block
% grib_compare in.grib out.grib
...
long [numberOfVerticalCoordinateValues]: [184] != [0]
[pv] not found in 2nd field
...


Content by Label
showLabelsfalse
max5
spaces~usa
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("kb-how-to-article","eccodes-faqs","grib","grib_set","delete") and label in ("grib","keys","grib_set") and type = "page" and space = "UDOC"
labelskb-how-to-article

...