Skip Navigation Links 
NOAA logo - Click to go to the NOAA homepage National Weather Service   NWS logo - Click to go to the NWS homepage
National Centers for Environmental Prediction
Navigation Bar Left Cap
Navigation Bar End Cap

NCEP Home > NCO Home > IDSB > GRIB2 use at NCEP > NCEP Codes - GRIB2

NCEP codes for decoding and encoding data in GRIB2 format
Image of horizontal rule

Note: These codes are provided as is for the use of NCEP data users. NCEP does not and can not provide any support for them.

g2lib-3.2.0.tar Library contains GRIB2 encoder/decoder and search/indexing routines (Fortran90)
Last updated: 12/16/2020
w3lib-2.2.0.tar Library contains GRIB1 encoder/decoder and utility routines (Fortran90)
Last updated: 12/16/2020
cnvgrib-3.2.0.tar GRIB1 <--> GRIB2 conversion utility. Requires g2lib and w3lib. (Fortran90)
Last updated: 12/16/2020
bacio-1.3.tar Library contains Fortran interface to "C" I/O routines. Useful with g2lib, and is also included in w3lib.
Last updated: 11/2/2006 JPEG2000 image compression algorithms within the GRIB2 standard.
Last updated: 05/01/2012
libpng-1.2.34.tar PNG image compression algorithms within the GRIB2 standard.
Last updated: 06/08/2009
zlib-1.2.6.tar Zlib contains compression/decompression routines used by libpng.a for PNG image compression support.
Last updated: 05/01/2012
Build_cnvgrib.pdf CNVGRIB Build Instructions
Last update: 07/17/2012
g2clib-1.6.3.tar Library contains GRIB2 encoder/decoder ("C" version)
Last updated: 03/08/2021
wgrib2 Utility tools for grib2.
You can use this utility to read and inventory GRIB2 file.

For questions related to the cnvgrib software, send mail to

NOAA/ National Weather Service
National Centers for Environmental Prediction
5830 University Research Court
College Park, MD 20740
NCEP Internet Services Team
Privacy Policy
About Us
Career Opportunities
Page last modified: Monday, 08-Mar-2021 20:43:12 UTC