Metadata-Version: 2.1
Name: pygrib
Version: 2.1
Summary: Python module for reading/writing GRIB files
Home-page: https://github.com/jswhit/pygrib
Author: Jeff Whitaker
Author-email: jeffrey.s.whitaker@noaa.gov
License: UNKNOWN
Download-URL: http://python.org/pypi/pygrib
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
Requires-Dist: pyproj
Requires-Dist: numpy

[![Linux Build Status](https://travis-ci.org/jswhit/pygrib.svg?branch=master)](https://travis-ci.org/jswhit/pygrib)
[![PyPI package](https://badge.fury.io/py/pygrib.svg)](http://python.org/pypi/pygrib)
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/pygrib/badges/version.svg)](https://anaconda.org/conda-forge/pygrib)
[![DOI](https://zenodo.org/badge/28599617.svg)](https://zenodo.org/badge/latestdoi/28599617)

Provides a high-level interface to the ECWMF [ECCODES](https://confluence.ecmwf.int/display/ECC) C library for reading GRIB files.
There are limited capabilities for writing GRIB files.

Quickstart
==========

The easiest way to get everything installed is to use the [conda](https://conda.io):

```
conda install -c conda-forge pygrib
```

If you don't use conda, be sure you have the required dependencies
installed first. Then, install cftime with pip:

```
ECCODES_DIR=path/to/eccodes pip install pygrib
```

where `$ECCODES_DIR` is the path to the directory containing `include/grib_api.h`
and `lib/libeccodes.so`. If `ECCODES_DIR` is not specified, a few common locations
such as `$CONDA_PREFIX,/usr,/usr/local,/opt/local` will be searched..

Alternately, clone the github repo and run `python setup.py install` (after setting `$ECCCODES_DIR`).
Run `python test.py` from the source directory to test your pygrib installation.

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

Sample [iPython](http://ipython.org/) notebooks illustrating pygrib usage: 
* http://nbviewer.jupyter.org/gist/jswhit/8635665
* https://github.com/scollis/HRRR/blob/master/notebooks/HRRR%20Grib.ipynb

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


