GRIB ( GRIdded Binary ) is a mathematical compressed data format commonly used in meteorology for storing historical and predicted weather data. It was standardized by the Commission for Basic Systems of the World Meteorological Organization , known under the GRIB number FM 92-IX and described in 306 number of the WMO Code Guide. Currently there are three versions of GRIB. Version 0 is used to a limited extent in projects such as TOGA , and is practically not used anymore. The first edition (the current sub-version is 2) is used worldwide by most meteorological centers to derive numerical weather forecasts. The new generation was introduced and is known as the second edition of GRIB, data is slowly being translated into this format.
GRIB replaced ADF (aeronautical data format).
Content
Explanation of GRIB1 sections
Section 1 PDS
The section contains metadata: center code, element type, time, grid type.
| Bytes | Description | Comments |
|---|---|---|
| 1-3 | PDS section size | |
| four | Table version | 2 - standard table value |
| five | Center ID | Cell text |
| 6 | Process id | Cell text |
| 7 | Grid number | Cell text |
| eight | Flag of the presence of the section GDS and BMS | Cell text |
| 9 | Variable identifier | table 2 |
| ten | Level or Layer ID | Table 3 |
| Cell text | Cell text | Cell text |
GDS Section 2 (Grid)
The section is intended to describe the data grid. 17 bytes - the flag that describes the resolution.
Links
- www.nco.ncep.noaa.gov (English)
- www.ecmwf.int (English) GRIB API
- First Edition (eng.)
- Second edition (eng.)