Skip to main content

Python module for reading/writing GRIB files

Project description

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 high-level interfaces for the ECWMF ECCODES 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.

  • install dependencies (eccodes library, numpy, pyproj). On linux, this can be done via pip install numpy pyproj; sudo apt-get install libeccodes-dev.

  • Copy setup.cfg.template to setup.cfg, open in text editor, follow instructions in comments for editing.

  • 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygrib-2.0.6.tar.gz (21.5 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page