Skip Navigation Link www.nws.noaa.gov 
NOAA logo - Click to go to the NOAA homepage NWS Title   NWS logo-Click to go to the NWS homepage
The MDL Banner
navbarleft Search     

Meteorological Development Laboratory's

GRIB2 Product Decoder




The MDL GRIB2 decoder provides the mechanism to unpack gridded binary data from a GRIB2 message that was created following the packing scheme outlined in the World Meteorological Organization (WMO) document FM92-XII GRIB .  This software supports the processing of only certain Meteorological data grids as outlined in the MDL GRIB2 Decoder User's Guide.  This document also contains all of the information needed to install, compile, and use this software.

Known Decoder Deficiencies:

  • Not all templates supported.

Related Documents:

  • The MDL GRIB2 Decoder User's Guide   -  A detailed description of the unpk_grib2.f routine and the calling arguments it requires.  This is equivalent to a UNIX "man" page and describes in detail the procedure that must be followed in order to install, compile, and run this software.  This document is in PDF format.


  • The WMO GRIB2 Document FM92-XII GRIB    -  The WMO rules, regulations, templates, and code tables pertaining to the decoding of a GRIB2 message.  This document provides a thorough overview of all of the data describing and handling options supported by GRIB2.  This is an html document.


  • A Discussion of GRIB2 and Related MDL Software  -  A document that focuses on sections 5, 6, and 7 of a GRIB2 message.  Specifically, the unpacking methods supported by the MDL GRIB2 software are explained.  This document is in PDF format.

Change History Log:

Version Date Summary of Changes
1.0 5/16/2001 Initial Version
1.1 3/26/2002 Additional Testing and Internal Documentation, More Diagnostics Added
1.2 5/17/2002 Bug Fix in unpk_temp48
1.3 8/22/2002 Added template 4.9(unpk_temp49.f) - modified unpk_sect4.f to call template 4.9
1.4 10/15/2002 Updated README, libunpk_grib2lib.a, timpr.f, unpk_lambert.f, unpksecdif.f and pk_endian
1.5 10/22/2002 Updated unpk_cmplx. unpk_sect7,unpk_temp48, and unpk_temp49

Download the Software:

The latest version of the MDL GRIB2 product decoder can be downloaded and utilized free of charge, subject to the usual NWS disclaimer.    See the above documentation for information concerning how to interface with the GRIB2 unpacking routine, unpk_grib2.f.

m
Platform Download File Format Download Link
UNIX / LINUX tar'ed and gzip Click Here
DOS / Windows 98 Self-Extracting Winzip File(.exe) Click Here


Return to Main Decoder / Encoder Page