Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

Simple python wgrib wrapper

Project description

Description-Content-Type: UNKNOWN
Description: wgrib-python - A thin Python wrapper for wgrib
==============================================

Install
-------

To build please run:

```pip install wgrib-python```

For configuring wgrib2, `CC` and `FC` environment variables need to set prior to calling `pip`, e.g.

```bash

export CC=gcc-7
export FC=gfortran-7

```

Example
-------

To use try the following python code:

```python

from wgrib import wgrib_main # wgrib1
import shlex

output = wgrib_main(shlex.split('-text -verf'))
print(output)

```

TODO
----

- Full wgrib2 support
- Fancier wrappings for more flexibility

Keywords: wgrib weather GRIB
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6

Supported by

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