njuychen / pygrib

Python interface for reading and writing GRIB data

Home Page:https://jswhit.github.io/pygrib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Python interface for reading and writing GRIB data

https://jswhit.github.io/pygrib

License:Other


Languages

Language:HTML 45.3%Language:C 29.7%Language:Python 20.6%Language:Objective-C 1.7%Language:CSS 1.4%Language:JavaScript 0.9%Language:Makefile 0.2%Language:Tcl 0.1%Language:Shell 0.0%