|
Project Information
Members
Links
|
GRIB is the the World Meterological Organization (WMO) standard for distributing gridded data. This module contains python interfaces for reading and writing GRIB data using the ECMWF GRIB API C library, and the NCEP GRIB2 C library, as well as command-line utilites for listing and re-packing GRIB files. Quick Links: ncepgrib2 module documentation (new in version 1.9.0) News: 20111122: version 1.9.2 bugfix release. 20111026: version 1.9.1 released, fixes bugs introduced in 1.9.0. The most serious was a reversal of the latitudes returned by the latlons gribmessage method for grid_types 'regular_ll' and 'regular_gg'. 20111020: version 1.9.0 released with a fix to the 'grid_complex_spatial_differencing' unpacking problem. The ncep grib2 C library is used to unpack those fields that use this encoding scheme. As an added bonus, a new module ncepgrib2 has been added to provide a python interface to this library. It's most useful feature is it's ability to encode new grib messages from scratch. 20110330: version 1.8.3 released. This release is identical to 1.8.2, except the example data files have been repacked to work around a bug in the grib_api library. Since version 1.9.8, the grib_api library cannot unpack data with packingType='grid_complex_spatial_differencing'. Since some of the example data files were packed this way, the tests and examples were failing. Not may real-world data file use this packing, with the notable exception of U.S. National Weather Service NDFD data (from ftp://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/DF.gr2/DC.ndfd). If you need to read this data, you will have to re-pack the files using the NCEP cnvgrib utility (available at http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/) or downgrade to grib_api 1.9.5. |