Provides a high-level interface to the ECWMF ECCODES C library for reading GRIB files. There are limited capabilities for writing GRIB files.
Quickstart
The easiest way to get everything installed is to use the conda:
conda install -c conda-forge pygrib
If you don't use conda, be sure you have the required dependencies installed first. Then, install cftime with pip:
ECCODES_DIR=path/to/eccodes pip install pygrib
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..
Alternately, clone the github repo and run python setup.py install (after setting $ECCCODES_DIR).
Run python test.py from the source directory to test your pygrib installation.
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.
Metadata
Release files for pygrib 2.1
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 | Actions |
|---|---|---|---|---|
| pygrib-2.1.tar.gz | 21.4 MB | Without provenance | Details for pygrib-2.1.tar.gz |
Release files / pygrib-2.1.tar.gz
| Download URL | pygrib-2.1.tar.gz |
|---|---|
| Size | 21.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8233281776f918313856d58e4bb6684811b9a6ee2da030a621fba06f0c4eacf6
|
|
BLAKE2b-256 checksum How to use checksums |
1649ae597215cbd82243aef543c0b0632a28ab8acdabc61fb04b01e96f75861b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.9
|
Security for pygrib 2.1
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.