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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file wgrib-python-0.0.1.dev3.linux-x86_64.tar.gz
.
File metadata
- Download URL: wgrib-python-0.0.1.dev3.linux-x86_64.tar.gz
- Upload date:
- Size: 273.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04850edf6f7650af216f2f45cb6ac4768379ef1d88b5b0aa21aaadf4f99e47c1 |
|
MD5 | 6f0e6cce324b5ff301dc35d5781a9e36 |
|
BLAKE2b-256 | 174a590c9b93e0c11428387d390d5ccea4c66ddb16403f7218b2a99cf9c6ba72 |