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
Metadata
Release files for pygrib 2.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pygrib-2.1.8.tar.gz | 21.9 MB | Without provenance | Details |
Built distributions (wheels)
Total release size: 402.2 MB
Release files / pygrib-2.1.8.tar.gz
| Download URL | pygrib-2.1.8.tar.gz |
|---|---|
| Size | 21.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ad941571c02b9afa685cb92fb85fb5ed2cd0e36c4ec40cb74d7782dc7975400
|
|
BLAKE2b-256 checksum How to use checksums |
dce929ebe5a47274afcfb37b17be9097b24cf2ff5640672cb06db12ff9a46346
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pygrib-2.1.8-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 17.8 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
557aefaa3a7a3fac91ddc5372e55b33d59ebf6f6c0cbb23c1e3623aa4c2dc8ae
|
|
BLAKE2b-256 checksum How to use checksums |
49e729ead1dce94bb3571ad2b57414054cdc8c0c22f4401ddb8ec5e6cd66015c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | pygrib-2.1.8-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 17.8 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
c97ee052d3048c80805e2103c74d0ac53c249a04eecc276341b32539c9e6c166
|
|
BLAKE2b-256 checksum How to use checksums |
141f0bd7b9ad85f931a74e0683defa113715aea0dcdf959b776c582b257a0ddf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp314-cp314-macosx_15_0_x86_64.whl
| Download URL | pygrib-2.1.8-cp314-cp314-macosx_15_0_x86_64.whl |
|---|---|
| Size | 20.3 MB |
| Tags | CPython 3.14 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
c3ec1d736c1976cbe77c774d80f5dca508a0c24f2c2eaea01b0d5d507778b84b
|
|
BLAKE2b-256 checksum How to use checksums |
235f0fe6a24a63daea60050dad564f4acf69d6229d00a5ce4426c15ddc023f5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp314-cp314-macosx_15_0_arm64.whl
| Download URL | pygrib-2.1.8-cp314-cp314-macosx_15_0_arm64.whl |
|---|---|
| Size | 20.2 MB |
| Tags | CPython 3.14 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
757bf417d05de9de71087791fcc211c6d32544c181aa2285310654c1008869c4
|
|
BLAKE2b-256 checksum How to use checksums |
121a4d627568d5810f6b3d4cec26a6665885cb63b5266fbf617ac36afe259f8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pygrib-2.1.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 17.8 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
2509ecb335bd49f584d5671f4b6fb6c7e42bd8e5db3c260c4af10a97d7b6a0c8
|
|
BLAKE2b-256 checksum How to use checksums |
dee5e20c1cb440d80716dd12522bcd617e2b60d160465b6da15ed3c827478d7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | pygrib-2.1.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 17.8 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
f16d805abe78b3fd1de29a2f1d26849df85c24b095975af7fb5685f330594b7f
|
|
BLAKE2b-256 checksum How to use checksums |
45f467095c134991d44a5361e6f07e38f162839715e7940b0a399b7e7b860e00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp313-cp313-macosx_15_0_x86_64.whl
| Download URL | pygrib-2.1.8-cp313-cp313-macosx_15_0_x86_64.whl |
|---|---|
| Size | 20.3 MB |
| Tags | CPython 3.13 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
35e93d3a5df20ba13b59cc1631e395ec37f15a66b6aafd7edd95cfc163e234d4
|
|
BLAKE2b-256 checksum How to use checksums |
023d59b5340cca7bf4074da4e9b2954572a626c5a3eb8bde0414190b10a6a55a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp313-cp313-macosx_15_0_arm64.whl
| Download URL | pygrib-2.1.8-cp313-cp313-macosx_15_0_arm64.whl |
|---|---|
| Size | 20.2 MB |
| Tags | CPython 3.13 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3693da30a0b1e997c8bda7a7a4a2dfc3c5adadb5ecb54b4c10c95caa4aeb443c
|
|
BLAKE2b-256 checksum How to use checksums |
db299bf1e08c3bea6321969b6ca5feacbddd052e519044c167b34417f4c7d2fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pygrib-2.1.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 17.8 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
12bb2dade46f8cc755e67216e867f8959ac0170afef2f78913930f68c5a97e82
|
|
BLAKE2b-256 checksum How to use checksums |
0ffdce5f152d3a5ac223b5cfb59df79907193d8333ec97b9eb00d4fff5303e2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | pygrib-2.1.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 17.8 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
d3ab748efdc97eb2a4b0ab752e2ee4c1d4bc2b24b82eb02640917b7f7a188d5a
|
|
BLAKE2b-256 checksum How to use checksums |
f4ebca92e6960f513e9ecaba17ba28ea15767a88e133fe0f4fd1ff083d185700
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp312-cp312-macosx_15_0_x86_64.whl
| Download URL | pygrib-2.1.8-cp312-cp312-macosx_15_0_x86_64.whl |
|---|---|
| Size | 20.3 MB |
| Tags | CPython 3.12 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
18abee3b3708346c2ef4f77db23edeb6142fb35b0b596815d7614550388aca76
|
|
BLAKE2b-256 checksum How to use checksums |
9644c95bed59300722a4d135d5692a382f3347bc1db0cbd6945436975ed64487
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp312-cp312-macosx_15_0_arm64.whl
| Download URL | pygrib-2.1.8-cp312-cp312-macosx_15_0_arm64.whl |
|---|---|
| Size | 20.2 MB |
| Tags | CPython 3.12 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7dc0c267609395e9a5135f6617c8e689c10055303d4f745d9b591b6180377f8a
|
|
BLAKE2b-256 checksum How to use checksums |
5e1525e2a0399065c0c637001d5c4ef8b885ca2bd402a4d961c49c28de85b4a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pygrib-2.1.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 17.8 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
93ebc99c4b998fd463c6ee75fb64d69f366768cf757b0db27552c740696df0b4
|
|
BLAKE2b-256 checksum How to use checksums |
cf067a420b8e5f7b8d3385e11d4f4d0d01827f01578ec49733c785826f94dd25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | pygrib-2.1.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 17.7 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
baf604dc82a6413f03c88e5c1a2722c3d3bccb0e74a9ba36592ebabac9ee785d
|
|
BLAKE2b-256 checksum How to use checksums |
a71fec6b8f44a13034d82b0998ffd9c6b4b06515e29fbb046ea6f3da30237bc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp311-cp311-macosx_15_0_x86_64.whl
| Download URL | pygrib-2.1.8-cp311-cp311-macosx_15_0_x86_64.whl |
|---|---|
| Size | 20.3 MB |
| Tags | CPython 3.11 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
64741d7fca01af894929428d01d7e85ef2e95c4a6b4163862c6fe83489763ad5
|
|
BLAKE2b-256 checksum How to use checksums |
9ae81a7431df26112dad8e2989342effb16ea24469734307504b885e35726a36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp311-cp311-macosx_15_0_arm64.whl
| Download URL | pygrib-2.1.8-cp311-cp311-macosx_15_0_arm64.whl |
|---|---|
| Size | 20.2 MB |
| Tags | CPython 3.11 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
916906610809bfd58b066dd42f4585125ae393f1b95794ac0d84bd4b4d953f7a
|
|
BLAKE2b-256 checksum How to use checksums |
36591b0d11c95b21df7092844cab2a7d799090d7e3853d100dce1c2dbd289b08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pygrib-2.1.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 17.8 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5c6d032dba0a745960f96adc15590fcf2ffb73f4f7d0ad6f28cfa254f88defee
|
|
BLAKE2b-256 checksum How to use checksums |
c82c6e13bff42e80bc66a4e49a494e433459b0216445bf1c9088e8613bb592dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | pygrib-2.1.8-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 17.7 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
c069b8a17b3cbc6f95fcd436e8540c09e5402984d2333268153320c6bfabe04b
|
|
BLAKE2b-256 checksum How to use checksums |
90dfc283d149ce0c3e5c289caabc5293ae46ec81ac01abef1b0dfec68ddf26da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp310-cp310-macosx_15_0_x86_64.whl
| Download URL | pygrib-2.1.8-cp310-cp310-macosx_15_0_x86_64.whl |
|---|---|
| Size | 20.3 MB |
| Tags | CPython 3.10 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
f52a006cd65fa10503b1948ade807c505732699f8f26537d29003db6b5ca5af7
|
|
BLAKE2b-256 checksum How to use checksums |
d55f0f301173f63e54a9ac7d1fc3ad69588a72c2af8f0aaf6a441ed202160345
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / pygrib-2.1.8-cp310-cp310-macosx_15_0_arm64.whl
| Download URL | pygrib-2.1.8-cp310-cp310-macosx_15_0_arm64.whl |
|---|---|
| Size | 20.2 MB |
| Tags | CPython 3.10 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
316bc25a659f7b246309c3956c8b0869e6b45ce9dee9e460c6c9cb3eb7e0c4be
|
|
BLAKE2b-256 checksum How to use checksums |
b86346ae27b2e643ed6558b942df5593a768a7c272d81940944079b8ae82abbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Security for pygrib 2.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.