Skip to content
Python interface for reading and writing GRIB data
HTML C Python Objective-C CSS JavaScript Other
Branch: master
Clone or download
jswhit Merge pull request #114 from mhagdorn/master
use floor division operator
Latest commit 464d151 Jun 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
g2clib_src don't use private variable inmem_ in jasper (no longer available in 1.9) Nov 18, 2016
man update grib_list man page Nov 20, 2013
ncepgrib2_docs regenerate docs Dec 29, 2014
ports fix typo May 31, 2012
sampledata Add test for issue #77 Apr 10, 2018
test use grbs.select Nov 22, 2013
utils Changed tab to spaces Apr 18, 2016
.travis.yml update Feb 1, 2018
COPYING add COPYING file with license info. Jun 9, 2010
Changelog preparing for 2.0.4 release Feb 14, 2019
MANIFEST.in Update MANIFEST.in Aug 24, 2018
README.macosx update Sep 23, 2012
README.md prepare for 2.0.3 release (eccodes is now default library name) Aug 15, 2018
create_docs.sh add ncepgrib2 docs Sep 30, 2011
g2clib.c regenerate C Aug 8, 2016
g2clib.pyx Use operator // for positions returned by decode$() so python3 does not Jun 30, 2016
index.html add index.html for gh-pages Dec 29, 2014
ncepgrib2.py Update ncepgrib2.py May 22, 2019
pygrib.c fix version number (issue #107) Mar 18, 2019
pygrib.pyx use floor division operator Jun 2, 2019
redtoreg.c regenerate C Aug 8, 2016
redtoreg.pyx regenerate C, fix .pyx to remove annoying warnings. Jul 10, 2014
requirements.in Updated requirements for pygrib and its setup Sep 19, 2018
requirements.txt Updated requirements for pygrib and its setup Sep 19, 2018
setup.cfg.template prepare for 2.0.3 release (eccodes is now default library name) Aug 15, 2018
setup.py Update setup.py May 24, 2019
test.py update Aug 15, 2018

README.md

Python module for reading and writing GRIB files (edition 1 and edition 2).

GRIB is the World Meteorological Organization (WMO) standard file format for the exchange of weather data.

Provides a interfaces for the ECWMF GRIB_API C library and the NCEP grib2 C library, including command line utilities for listing (grib_list) and repacking (grib_repack) GRIB files.

Quickstart:

  • Clone the github repository, or download a source release from https://pypi.python.org/pypi/pygrib.

  • Copy setup.cfg.template to setup.cfg, open in text editor, follow instructions in comments for editing. If you are using the old grib_api library instead of the new eccodes library, be sure to uncomment the last line setup.cfg.

  • Run 'python setup.py build'

  • Run 'python setup.py install' (with sudo if necessary)

  • Run 'python test.py' to test your pygrib installation.

For full installation instructions and API documentation, see https://jswhit.github.io/pygrib.

Sample iPython notebooks illustrating pygrib usage:

Questions or comments - contact Jeff Whitaker jeffrey.s.whitaker@noaa.gov or use https://github.com/jswhit/pygrib/issues.

You can’t perform that action at this time.