Last updated: January 2013
The following table lists the GRIB2 meta data and associated grib_api keys for the Data Representation Section of GRIB2 messages.
| Octets | Key Name | Comments | ||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1-4 | section5Length | Length of section in octets (nn) | ||||||||||||||||||||||||||||||||||||||
| 5 | numberOfSection | Number of section (5) | ||||||||||||||||||||||||||||||||||||||
| 6-9 | numberOfValues | Number of data points where one or more values are specified in Section 7 when a bit map is present, total number of data points when a bit map is absent. | ||||||||||||||||||||||||||||||||||||||
| 10-11 | dataRepresentationTemplateNumber | Data representation template number according to Code Table 5.0:
|
||||||||||||||||||||||||||||||||||||||
| 12-nn | Data Representation Template: Only Template 5.0 is shown here | |||||||||||||||||||||||||||||||||||||||
| 12-15 | referenceValue | Reference value (R) (IEEE 32-bit floating-point value) | ||||||||||||||||||||||||||||||||||||||
| 16-17 | binaryScaleFactor | Binary scale factor (E) | ||||||||||||||||||||||||||||||||||||||
| 18-19 | decimalScaleFactor | Decimal scale factor (D) | ||||||||||||||||||||||||||||||||||||||
| 20 | bitsPerValue | Number of bits used for each packed value for simple packing, or for each group reference value for complex packing or spatial differencing | ||||||||||||||||||||||||||||||||||||||
| 21 | typeOfOriginalFieldValues | Type of original field values according to Code Table 5.1:
|