...
ECMWF makes available a GRIB decoding library (GRIB-APIecCodes) for the benefit of the WMO community. GRIB-API ecCodes can be freely downloaded from here and the documentation can be found here. The GRIB-API ecCodes provides a simplified access to GRIB2 headers through a set of virtual keys documented here
...