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 problems 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygrib-2.1.8.tar.gz.
File metadata
- Download URL: pygrib-2.1.8.tar.gz
- Upload date:
- Size: 21.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ad941571c02b9afa685cb92fb85fb5ed2cd0e36c4ec40cb74d7782dc7975400
|
|
| MD5 |
3413a76b0d2bcd49fa69199c5b29a40c
|
|
| BLAKE2b-256 |
dce929ebe5a47274afcfb37b17be9097b24cf2ff5640672cb06db12ff9a46346
|
File details
Details for the file pygrib-2.1.8-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 17.8 MB
- Tags: CPython 3.14, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
557aefaa3a7a3fac91ddc5372e55b33d59ebf6f6c0cbb23c1e3623aa4c2dc8ae
|
|
| MD5 |
a9eefd0632f1093f288b9ac3b1fb492a
|
|
| BLAKE2b-256 |
49e729ead1dce94bb3571ad2b57414054cdc8c0c22f4401ddb8ec5e6cd66015c
|
File details
Details for the file pygrib-2.1.8-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
- Upload date:
- Size: 17.8 MB
- Tags: CPython 3.14, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c97ee052d3048c80805e2103c74d0ac53c249a04eecc276341b32539c9e6c166
|
|
| MD5 |
d99974b5546d423488709f5f05fcb287
|
|
| BLAKE2b-256 |
141f0bd7b9ad85f931a74e0683defa113715aea0dcdf959b776c582b257a0ddf
|
File details
Details for the file pygrib-2.1.8-cp314-cp314-macosx_15_0_x86_64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp314-cp314-macosx_15_0_x86_64.whl
- Upload date:
- Size: 20.3 MB
- Tags: CPython 3.14, macOS 15.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3ec1d736c1976cbe77c774d80f5dca508a0c24f2c2eaea01b0d5d507778b84b
|
|
| MD5 |
4531953c3a307d3dad199bbf73a95f76
|
|
| BLAKE2b-256 |
235f0fe6a24a63daea60050dad564f4acf69d6229d00a5ce4426c15ddc023f5e
|
File details
Details for the file pygrib-2.1.8-cp314-cp314-macosx_15_0_arm64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp314-cp314-macosx_15_0_arm64.whl
- Upload date:
- Size: 20.2 MB
- Tags: CPython 3.14, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
757bf417d05de9de71087791fcc211c6d32544c181aa2285310654c1008869c4
|
|
| MD5 |
3b74d21a52ee0fd042eacbf6c9324dec
|
|
| BLAKE2b-256 |
121a4d627568d5810f6b3d4cec26a6665885cb63b5266fbf617ac36afe259f8c
|
File details
Details for the file pygrib-2.1.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 17.8 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2509ecb335bd49f584d5671f4b6fb6c7e42bd8e5db3c260c4af10a97d7b6a0c8
|
|
| MD5 |
c59105b9126b7e3fc3ba0efd5a013e76
|
|
| BLAKE2b-256 |
dee5e20c1cb440d80716dd12522bcd617e2b60d160465b6da15ed3c827478d7f
|
File details
Details for the file pygrib-2.1.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
- Upload date:
- Size: 17.8 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f16d805abe78b3fd1de29a2f1d26849df85c24b095975af7fb5685f330594b7f
|
|
| MD5 |
dc94c19415247a295fd0ec425c789378
|
|
| BLAKE2b-256 |
45f467095c134991d44a5361e6f07e38f162839715e7940b0a399b7e7b860e00
|
File details
Details for the file pygrib-2.1.8-cp313-cp313-macosx_15_0_x86_64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp313-cp313-macosx_15_0_x86_64.whl
- Upload date:
- Size: 20.3 MB
- Tags: CPython 3.13, macOS 15.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35e93d3a5df20ba13b59cc1631e395ec37f15a66b6aafd7edd95cfc163e234d4
|
|
| MD5 |
f16e3fc4a545ca07446f9d1b4a36943e
|
|
| BLAKE2b-256 |
023d59b5340cca7bf4074da4e9b2954572a626c5a3eb8bde0414190b10a6a55a
|
File details
Details for the file pygrib-2.1.8-cp313-cp313-macosx_15_0_arm64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp313-cp313-macosx_15_0_arm64.whl
- Upload date:
- Size: 20.2 MB
- Tags: CPython 3.13, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3693da30a0b1e997c8bda7a7a4a2dfc3c5adadb5ecb54b4c10c95caa4aeb443c
|
|
| MD5 |
22c152fab595a05814ef3da3a2be89c1
|
|
| BLAKE2b-256 |
db299bf1e08c3bea6321969b6ca5feacbddd052e519044c167b34417f4c7d2fa
|
File details
Details for the file pygrib-2.1.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 17.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12bb2dade46f8cc755e67216e867f8959ac0170afef2f78913930f68c5a97e82
|
|
| MD5 |
2867cb50c463c4de1fcaa571a6fcd675
|
|
| BLAKE2b-256 |
0ffdce5f152d3a5ac223b5cfb59df79907193d8333ec97b9eb00d4fff5303e2d
|
File details
Details for the file pygrib-2.1.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
- Upload date:
- Size: 17.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3ab748efdc97eb2a4b0ab752e2ee4c1d4bc2b24b82eb02640917b7f7a188d5a
|
|
| MD5 |
40c212199a579d99ea251f967c61e9fa
|
|
| BLAKE2b-256 |
f4ebca92e6960f513e9ecaba17ba28ea15767a88e133fe0f4fd1ff083d185700
|
File details
Details for the file pygrib-2.1.8-cp312-cp312-macosx_15_0_x86_64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp312-cp312-macosx_15_0_x86_64.whl
- Upload date:
- Size: 20.3 MB
- Tags: CPython 3.12, macOS 15.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18abee3b3708346c2ef4f77db23edeb6142fb35b0b596815d7614550388aca76
|
|
| MD5 |
e9bba62215fe4495fa5f0e1f7f79b5e4
|
|
| BLAKE2b-256 |
9644c95bed59300722a4d135d5692a382f3347bc1db0cbd6945436975ed64487
|
File details
Details for the file pygrib-2.1.8-cp312-cp312-macosx_15_0_arm64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp312-cp312-macosx_15_0_arm64.whl
- Upload date:
- Size: 20.2 MB
- Tags: CPython 3.12, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dc0c267609395e9a5135f6617c8e689c10055303d4f745d9b591b6180377f8a
|
|
| MD5 |
8abe7b4681b1eccb64428120f8702501
|
|
| BLAKE2b-256 |
5e1525e2a0399065c0c637001d5c4ef8b885ca2bd402a4d961c49c28de85b4a1
|
File details
Details for the file pygrib-2.1.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 17.8 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93ebc99c4b998fd463c6ee75fb64d69f366768cf757b0db27552c740696df0b4
|
|
| MD5 |
eea64e743a7210ad6ca681a48cba27ff
|
|
| BLAKE2b-256 |
cf067a420b8e5f7b8d3385e11d4f4d0d01827f01578ec49733c785826f94dd25
|
File details
Details for the file pygrib-2.1.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
- Upload date:
- Size: 17.7 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
baf604dc82a6413f03c88e5c1a2722c3d3bccb0e74a9ba36592ebabac9ee785d
|
|
| MD5 |
1227a87d2caa45b08f5f56f4d4f98451
|
|
| BLAKE2b-256 |
a71fec6b8f44a13034d82b0998ffd9c6b4b06515e29fbb046ea6f3da30237bc5
|
File details
Details for the file pygrib-2.1.8-cp311-cp311-macosx_15_0_x86_64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp311-cp311-macosx_15_0_x86_64.whl
- Upload date:
- Size: 20.3 MB
- Tags: CPython 3.11, macOS 15.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64741d7fca01af894929428d01d7e85ef2e95c4a6b4163862c6fe83489763ad5
|
|
| MD5 |
61bfeb6ec9edb89635855933e9288c50
|
|
| BLAKE2b-256 |
9ae81a7431df26112dad8e2989342effb16ea24469734307504b885e35726a36
|
File details
Details for the file pygrib-2.1.8-cp311-cp311-macosx_15_0_arm64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp311-cp311-macosx_15_0_arm64.whl
- Upload date:
- Size: 20.2 MB
- Tags: CPython 3.11, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
916906610809bfd58b066dd42f4585125ae393f1b95794ac0d84bd4b4d953f7a
|
|
| MD5 |
80f2277169e37fa4e5a04bd06e2e0cfb
|
|
| BLAKE2b-256 |
36591b0d11c95b21df7092844cab2a7d799090d7e3853d100dce1c2dbd289b08
|
File details
Details for the file pygrib-2.1.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 17.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c6d032dba0a745960f96adc15590fcf2ffb73f4f7d0ad6f28cfa254f88defee
|
|
| MD5 |
47eb4dcf5b1cd07d4684f2a22478f8ca
|
|
| BLAKE2b-256 |
c82c6e13bff42e80bc66a4e49a494e433459b0216445bf1c9088e8613bb592dc
|
File details
Details for the file pygrib-2.1.8-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
- Upload date:
- Size: 17.7 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c069b8a17b3cbc6f95fcd436e8540c09e5402984d2333268153320c6bfabe04b
|
|
| MD5 |
55185bf192ac45aff17ed0ef5fee5392
|
|
| BLAKE2b-256 |
90dfc283d149ce0c3e5c289caabc5293ae46ec81ac01abef1b0dfec68ddf26da
|
File details
Details for the file pygrib-2.1.8-cp310-cp310-macosx_15_0_x86_64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp310-cp310-macosx_15_0_x86_64.whl
- Upload date:
- Size: 20.3 MB
- Tags: CPython 3.10, macOS 15.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f52a006cd65fa10503b1948ade807c505732699f8f26537d29003db6b5ca5af7
|
|
| MD5 |
d4e77512e4367e9774311d9494a366cf
|
|
| BLAKE2b-256 |
d55f0f301173f63e54a9ac7d1fc3ad69588a72c2af8f0aaf6a441ed202160345
|
File details
Details for the file pygrib-2.1.8-cp310-cp310-macosx_15_0_arm64.whl.
File metadata
- Download URL: pygrib-2.1.8-cp310-cp310-macosx_15_0_arm64.whl
- Upload date:
- Size: 20.2 MB
- Tags: CPython 3.10, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
316bc25a659f7b246309c3956c8b0869e6b45ce9dee9e460c6c9cb3eb7e0c4be
|
|
| MD5 |
f17e95b5e9af6ad9ed032378e8fae9bd
|
|
| BLAKE2b-256 |
b86346ae27b2e643ed6558b942df5593a768a7c272d81940944079b8ae82abbb
|