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 (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 the conda:

conda install -c conda-forge pygrib

If you don't use conda, be sure you have the ECCODES library installed first. Then you can install pygrib 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.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.1
File Size Uploaded
pygrib-2.1.1.tar.gz 22.9 MB Details

Release files / pygrib-2.1.1.tar.gz

Download URL pygrib-2.1.1.tar.gz
Size 22.9 MB
Tags Source
SHA-256 checksum
How to use checksums
26679c6c50c7e7e33ab270048c67097b193f295008bbd5d83075903921a18d77
BLAKE2b-256 checksum
How to use checksums
6b17e1bc982350473406db851ec9ea8148086e68a68ebdaa805fca12d61ef708
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.2 pkginfo/1.4.2 requests/2.25.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.9

Release history Release notifications | RSS feed

2.1.8

21 release files

2.1.7

21 release files

2.1.5

13 release files

2.1.4

23 release files

2.1.3

23 release files

2.1.2

17 release files

This release

2.1.1 This release

1 release file

2.1

1 release file

2.0.6

1 release file

2.0.5

1 release file

2.0.4

1 release file

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.9.9

1 release file

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