Code Form

      Section 0 - Indicator section
      Section 1 - Product definition section
      Section 2 - Grid description section
      Section 3 - Bit-map section
      Section 4 - Binary data section
      Section 5 - End section


      NOTES:

      1. GRIB is the name of the binary code for the exchange for processed data.

      2. The GRIB coded analysis or forecast consists of a continuous bit-stream made of a sequence of octets (1 octet=8 bits).

      3. The octets of a GRIB message are grouped in sections:
        Section
        number
        NameContents
        0Indicator section"GRIB", length of message, GRIB edition number
        1Product definition sectionLength of section, identification of the coded anlysis or forecast
        2Grid description section (optional)Length of section, grid geometry, as necessary
        3Bit-map sectionLength of section; the bit per grid point, placed in suitable sequence, indicates omission (bit 0) or inclusion (bit 1) of data at respective points
        4Binary data sectionLength of section and data values
        5End section7777


      4. Although the Grid description section is indicated as optional, it is strongly urged that it be included in all GRIB messages.

      5. It will be noted that the GRIB code is not suitable for visual data recognition without computer interpretation.

      6. The representation of data by means of series of bits is independent of any particular machine representation.

      7. Message and section lengths are expressed in octets. Section 0 has a fixed length of 8 octets; Section 5 has a fixed length of 4 octets. Sections 1, 2, 3, and 4 have a variable length which is included in the first three octets of each section.



      Back to Top