Skip Navigation Linkwww.nws.noaa.gov 
NOAA logo - Click to go to the NOAA homepage nws title graphic   NWS logo-Click to go to the NWS homepage
MDL Banner
navbarleft Search      end cap graphic

Meteorological Development Laboratory's

GRIB2 Product Encoder




The MDL GRIB2 encoder provides for the compression of gridded binary data according to the packing scheme outlined in the World Meteorological Organization (WMO) document The WMO GRIB2 Document FM92-XII GRIB .  This software supports the processing of only certain Meteorological data grids as outlined in the MDL GRIB2 Encoder User's Guide.  This document also contains all of the information needed to install, compile, and use this software.

Known Encoder Deficiencies:

  • Not all templates supported.

Related Documents:

  • The MDL GRIB2 Encoder User's Guide   -  A detailed description of the pk_grib2.f routine and the calling arguments that 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 the 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 creation 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 packing 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 8/22/2002 Bug Fix in pk_polster and added Template 4.9(pk_temp49.f) - modified pk_sect.f to call template 4.9
1.3 10/15/2002 Updated README, libpk_grib2lib.a, timpr.f, and pk_endian
1.4 10/22/2002 Updated pk_temp49
1.5 12/18/2002 fixed a bug in pk_nomiss.f and pk_missp.f

Download the Software:

The latest version of the MDL GRIB2 product encoder can be downloaded and utilized free of charge, subject to the usual NWS disclaimer.  The routines that comprise the MDL encoder must be compiled using a Fortran 90 compiler.  See the above documentation for information concerning how to interface with the GRIB2 packing routine, pk_grib2.f.

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


National Weather Service
Office of Science and Technology
Meteorological Development Laboratory
Last Modified : March 6, 2006
Page Author: Harry.Lebowitz
EMAIL ADDRESS: mdl_webmaster@thunder.nws.noaa.gov
http://www.nws.noaa.gov/mdl

Disclaimer Privacy Policy