See GRIB API Documentation for more information.
NOTE: ECMWF has changed the default GRIB decoding/encoding package on all ECMWF platforms from GRIB-API to ecCodes (starting from version 2.0.0).
No new features/functionality will be implemented in GRIB-API - new features for the handling of GRIBs will only be developed in ecCodes.
Nevertheless GRIB-API will be maintained and new releases made publicly available to support decoding of ECMWF model output.
In the coming months only major/critical bug fixes and support for new parameters will be provided.
Replacing GRIB-API with ecCodes is expected to be transparent for current GRIB-API users. In particular the "grib_" functions are included in the ecCodes library.
Users are strongly advised to start the migration process.
Please see GRIB-API migration for more specific information on minor changes between GRIB-API and ecCodes.