Skip to main content

Linux Build 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.

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:

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)

Source distribution for pygrib 2.1
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.

Release history Release notifications | RSS feed

This release

2.1 This release

1 release file No provenance

1.9.8

1.9.7

1.9.6

1.9.5

1.9.4

1.9.3

1.9.2

1.9.1

1.9.0

1.8.4

1.8.3

1.8.2

1.8.1

1.8.0

1.7.2

1.7.1

1.7

1.6.1

1.6

1.5

1.4

1.3

1.2

1.1

1.0

1.0b1

1.0a1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page