Skip to main content

Python module for reading/writing GRIB files

Project description

Install and Test Status PyPI package Anaconda-Server Badge DOI

Provides a high-level interface to the ECWMF ECCODES C library for reading GRIB files. There are limited capabilities for writing GRIB files (you can modify the contents of an existing file, but you can't create one from scratch). See the online docs for example usage.

Quickstart

The easiest way to get everything installed is to use pip:

pip install pygrib

You can also use conda:

conda install -c conda-forge pygrib

Alternately, clone the github repo and run pip install -e . (after setting $ECCCODES_DIR) 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.

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.1.5.tar.gz (21.8 MB view hashes)

Uploaded Source

Built Distributions

pygrib-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.1 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pygrib-2.1.5-cp312-cp312-macosx_10_9_x86_64.whl (18.0 MB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

pygrib-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pygrib-2.1.5-cp311-cp311-macosx_10_9_x86_64.whl (18.0 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pygrib-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pygrib-2.1.5-cp310-cp310-macosx_10_9_x86_64.whl (18.0 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pygrib-2.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pygrib-2.1.5-cp39-cp39-macosx_10_9_x86_64.whl (18.0 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

pygrib-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pygrib-2.1.5-cp38-cp38-macosx_10_9_x86_64.whl (18.0 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

pygrib-2.1.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.1 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

pygrib-2.1.5-cp37-cp37m-macosx_10_9_x86_64.whl (18.0 MB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

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