Versions Compared

Key

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

...

In order to conserve space, the bitmap is used to efficiently indicate those data points that actually appear in the Data Section.

Bitmap

0000
0110
0010

Encoded data






2.54.6


9.1

In the example shown above, we have 12 grid points of which 3 have actual 'real' values which are {2.5, 4.6, 9.1}.

...

When the library encounters a value equal to the missing value in the data array, it will set the bitmap entry to 0 for that grid point. For an example see grib_set_bitmap

When decoding, you can directly query the bitmap to discover missing data values. For an example see grib_iterator_bitmap


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

...

Page properties
hiddentrue


Related issues