GRIB Data Format used for the COSMO-Model System

Last updated: February 2013

GRIB Software: DWD GRIB1 Library

To code / decode the meteorological data to GRIB, special software is needed. While a DWD-written software, the GRIB1-library is used to work with GRIB 1 data, the new application programmers interface grib_api from ECMWF is used for dealing with GRIB 2. But grib_api can also deal with GRIB 1 data. The approach, how data is coded to / decoded from GRIB messages is rather different in these software packages. While the GRIB1-library provides interfaces to code / decode the full GRIB message in one step, the grib_api uses the so-called key/value approach, where the single meta data could be set. Both approaches will be discussed shortly:

DWD GRIB library libgrib1.a

In the DWD GRIB1 library, full GRIB messages are coded / decoded in one step. The main interface routines are:

Back