Versions Compared

Key

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

...

Here the shapeOfTheEarth key has type "codetable" so its values come from the entries in Code Table 3.2. The relative path of the table file relative to the definitions directory is also shown (grib2/tables/4/3.2.table).
And the other key resolutionAndComponentFlags has the type "codeflag" with Flag Table 3.3. We can see which bits of the integer have been set: the 3rd and 4th bits are set and the rest are zero (reading from left to right; most significant bit to least significant). To see the full meaning of those bits, you will need to use the "-D" option of grib_dump:

...

Note: The content of Flag Table keys should not be interpreted as a value, for that is meaningless in this case. Rather, the individual bits must be inspected. For this reason ecCodes has other keys which correspond to these bits: in the case of resolutionAndComponentFlags, we have the associated keys:

...

You can query these keys (to decode the flags) as well as set them (to encode the flags).


Content by Label
showLabelsfalse
max5
spacesUDOC
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and label = "grib" and label = "keys" and type = "page" and space = "UDOC"
labelskb-how-to-article

...