Python module for reading/writing GRIB files
Project description
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:
- 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.
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
Built Distributions
File details
Details for the file pygrib-2.1.6.tar.gz
.
File metadata
- Download URL: pygrib-2.1.6.tar.gz
- Upload date:
- Size: 21.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/62.5.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 047980aeb010ef457999950bcc8e46556910316cb77fe78c0bd1b3520aa920f0 |
|
MD5 | 724952a2b7d1196b4b217645bd5b6a18 |
|
BLAKE2b-256 | 2760bac29fc06197f85efccb346879da3ae9ee125525d43e28b0a1b768831a74 |
File details
Details for the file pygrib-2.1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 18.6 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56d70f492e1a298429a94662c5003c6959d8cc1b078173312fa9cf3bf36a14b8 |
|
MD5 | a3df7ffaeeb9c657c0a2d73f6f02db2b |
|
BLAKE2b-256 | ea42112c2f6836e730343fe21ad85e916c1b742d1f951738a3e9b3f6fab65128 |
File details
Details for the file pygrib-2.1.6-cp313-cp313-macosx_14_0_arm64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp313-cp313-macosx_14_0_arm64.whl
- Upload date:
- Size: 18.4 MB
- Tags: CPython 3.13, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00f84e99372c6cf51f6a67e26c394dc3371ec356906e5aa9177f12372d92b228 |
|
MD5 | ffa8757aacd82c2fcb4bd354d5798b3b |
|
BLAKE2b-256 | fd15bb162b016378993b5a779d83ec499dfd82d8df7776885fb826b69d2b7b98 |
File details
Details for the file pygrib-2.1.6-cp313-cp313-macosx_11_0_x86_64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp313-cp313-macosx_11_0_x86_64.whl
- Upload date:
- Size: 18.5 MB
- Tags: CPython 3.13, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cf2d87ad30449726d9279ca8cfa4afbdc83670750a4dfb5d965e3fc55d3aa8d |
|
MD5 | 88f3bfb14e562ea1f7cbf60543c07dea |
|
BLAKE2b-256 | acbba35a9b012c234416100abe53661cb7002e8fd6f3120f4f85475604cf9d00 |
File details
Details for the file pygrib-2.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 18.6 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/62.5.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d368c359acacae4061ebcdfe635fb826f21fbc1f6c2227a269c870d9e8b49e70 |
|
MD5 | 89cced3b427de78dd096e891f683a191 |
|
BLAKE2b-256 | abcc4b2b85241086a3c42fcf4e9e225a1b2f5bfcb299a4c9c8e46f56c6a2d7c3 |
File details
Details for the file pygrib-2.1.6-cp312-cp312-macosx_14_0_arm64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp312-cp312-macosx_14_0_arm64.whl
- Upload date:
- Size: 18.4 MB
- Tags: CPython 3.12, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/62.5.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 332d29bbc16749375b24c8d9bd01180c0a9eda471df86b2073432fba3339d658 |
|
MD5 | 82bbd3be78455efa7e154692c3a73ef3 |
|
BLAKE2b-256 | b04de2d3150961801d46af88c4cf113c00ff0825206ac6d726cec11f667c9f8e |
File details
Details for the file pygrib-2.1.6-cp312-cp312-macosx_11_0_x86_64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp312-cp312-macosx_11_0_x86_64.whl
- Upload date:
- Size: 18.5 MB
- Tags: CPython 3.12, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/62.5.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa4613eef98b26bf9a8719869f656aa15362f700311aec777b2190deb1060a1d |
|
MD5 | b11255903de15bf9da961e042609f9fe |
|
BLAKE2b-256 | 7199436f5af4e9093277b13153c6ce51336df886e7493076c3d756c44c988d47 |
File details
Details for the file pygrib-2.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 18.6 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/62.5.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69a42b44ae395280b08f62e598b696444446759ae4954db42ad2d01ee2c94d8b |
|
MD5 | 06acd21f2dc579a02785f9c4146c2d92 |
|
BLAKE2b-256 | c8f09490a3bf86feef1be2678a6ce15131d44f6f06c863c2462f7f4a52c35c0a |
File details
Details for the file pygrib-2.1.6-cp311-cp311-macosx_14_0_arm64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp311-cp311-macosx_14_0_arm64.whl
- Upload date:
- Size: 18.4 MB
- Tags: CPython 3.11, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/62.5.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc7fcb20bd5e2a94e1b7501bed45d418eadc6e325bed5f4de37a254409b5a5fe |
|
MD5 | a9762b471e0cabea894c7c66f3258f14 |
|
BLAKE2b-256 | 539aa1742fa64b2702d7723c2595bf1b36b1c56fd1915f6e3f185f057a79fbc3 |
File details
Details for the file pygrib-2.1.6-cp311-cp311-macosx_11_0_x86_64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp311-cp311-macosx_11_0_x86_64.whl
- Upload date:
- Size: 18.5 MB
- Tags: CPython 3.11, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/62.5.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6b912cc528c3a87e4f9f990d5c1e57a54f61835dad5b8daac6adb048faf5c5a |
|
MD5 | f343fb202d636faf48318cdc2260d273 |
|
BLAKE2b-256 | 505d12ae450349ce3d51844e775dff0ee1b04a9aee963d6ed6102ced290805b4 |
File details
Details for the file pygrib-2.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 18.6 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/62.5.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37ce2c761489b68f2642c739a488470b58aacf13c96bdae671dd35730960e94e |
|
MD5 | 4930004ee007f965f1ce42fc6c69c972 |
|
BLAKE2b-256 | 704e741e1f5fa63a08a98de12bf00f274249cd5c3f9296af11f11c16e4375d06 |
File details
Details for the file pygrib-2.1.6-cp310-cp310-macosx_14_0_arm64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp310-cp310-macosx_14_0_arm64.whl
- Upload date:
- Size: 18.4 MB
- Tags: CPython 3.10, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/62.5.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06b3fb25889225a599a908fdb8d4590ab30a2738048d877725f90b6a2a777983 |
|
MD5 | c656b560b34bc90f899840bfab7582df |
|
BLAKE2b-256 | ec339395540f48099d6b04e9f583cc5428ebcb56d54beffbed9207d671d14826 |
File details
Details for the file pygrib-2.1.6-cp310-cp310-macosx_11_0_x86_64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp310-cp310-macosx_11_0_x86_64.whl
- Upload date:
- Size: 18.5 MB
- Tags: CPython 3.10, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/62.5.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 354028fcfc5f29dbebe16da2df3c8cf41383818cf27a43adfa6cc1a4e43c249b |
|
MD5 | 2983736ebe70524f51d538df1a745fa0 |
|
BLAKE2b-256 | fe1155388ae3f0abce352942409ee687d74348fd86f54b60a9517f2311194fc3 |
File details
Details for the file pygrib-2.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 18.6 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/62.5.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78950045e02ff7e84ba19bf41ba5f778e0f17dcc0cf26ae83c6cfded1857515a |
|
MD5 | 9e3efd28f7fbfa5a630fa6b1f24470f6 |
|
BLAKE2b-256 | ec0160215225c356750da2bdb48a0d113ec403838eb2bd14f2193b2ea168c3d1 |
File details
Details for the file pygrib-2.1.6-cp39-cp39-macosx_14_0_arm64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp39-cp39-macosx_14_0_arm64.whl
- Upload date:
- Size: 18.4 MB
- Tags: CPython 3.9, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/62.5.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac216dd2fae9a4f13487d4aff16b2e9ae3d513042c11608761dc944f8f98bbb3 |
|
MD5 | 27a4e93a1b94e79af6c0708769d2ea06 |
|
BLAKE2b-256 | f30407250bdeaba760dfa0a3463e954c1f2299bfb686ccf509bb09c06fd26650 |
File details
Details for the file pygrib-2.1.6-cp39-cp39-macosx_11_0_x86_64.whl
.
File metadata
- Download URL: pygrib-2.1.6-cp39-cp39-macosx_11_0_x86_64.whl
- Upload date:
- Size: 18.5 MB
- Tags: CPython 3.9, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/62.5.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31e2f06b91bbd4efcc142a68605102563b7e3599336d9a409dde7016266d5cf7 |
|
MD5 | cef1c75a3920a88446525552a3dbbb06 |
|
BLAKE2b-256 | 9eefce807e3967d684ab5a12d475af161e432603bbbfbbd3055b764e89e11fa2 |