Skip to main content

Python interface to GribJump

Project description

GribJump

Static Badge

GribJump is a C++ library for extracting subsets of data from GRIB files, particularly data archived in the FDB.

[!IMPORTANT] This software is Incubating and subject to ECMWF's guidelines on Software Maturity.

Installation

Dependencies

Currently, GribJump has the following runtime dependencies:

as well as ecbuild for building.

C++ Library

Building and installing:

   # Environment --- Edit as needed
   srcdir=$(pwd)
   builddir=build
   installdir=$HOME/local  
   
   # 1. Create the build directory:
   mkdir $builddir
   cd $builddir

   # 2. Run ecbuild
   ecbuild --prefix=${installdir} -- \
   -DENABLE_MEMFS=ON \
   -DENABLE_ECCODES_THREADS=ON \
   -DENABLE_AEC=ON \
   -DCMAKE_INSTALL_PREFIX=$</path/to/installations> ${srcdir}
   
   # 3. Compile / Install
   make -j10
   make install

A clientside build (which cannot extract data but talks to a server which can) is built using the flag -DENABLE_GRIBJUMP_LOCAL_EXTRACT=OFF. This requires only eckit and metkit to be installed.

Python Library

The python interface, pygribjump, can be installed with pip:

python3 -m pip install --upgrade git+ssh://git@github.com/ecmwf/gribjump.git@master

pygribjump uses findlibs to find an installed libgribjump library. You can use export GRIBJUMP_HOME=/path/to/gribjump/install to help with finding the library.

See the docs/examples/ files for simple use cases.

Acknowledgements

Past and current funding and support is listed in the Acknowledgements.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pygribjump-0.10.3.dev20250909-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

pygribjump-0.10.3.dev20250909-2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

pygribjump-0.10.3.dev20250909-1-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file pygribjump-0.10.3.dev20250909-py3-none-any.whl.

File metadata

File hashes

Hashes for pygribjump-0.10.3.dev20250909-py3-none-any.whl
Algorithm Hash digest
SHA256 a4b6ae888dc729f5efc6225e3c2696681913d8cea48b12c5e00e463d36f30bc2
MD5 334826e623f7343b90e909d5edc1173a
BLAKE2b-256 fe175f25c3f394b9a46cab3913640345362b7c378f685d71c565afa3a4df4644

See more details on using hashes here.

File details

Details for the file pygribjump-0.10.3.dev20250909-2-py3-none-any.whl.

File metadata

File hashes

Hashes for pygribjump-0.10.3.dev20250909-2-py3-none-any.whl
Algorithm Hash digest
SHA256 4678ccb33e09ef1dcdd20d2470d827e7b53f959e8ffa93a25cca933142c6cfc8
MD5 32ff349ebd491fb847fc3c4d54ff0ee3
BLAKE2b-256 748a45ac358f035f1bc7fde76fe2c4dbabf565ed1a7e50cbad6dabc77c380574

See more details on using hashes here.

File details

Details for the file pygribjump-0.10.3.dev20250909-1-py3-none-any.whl.

File metadata

File hashes

Hashes for pygribjump-0.10.3.dev20250909-1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c37c3c333efee6074f15231764c3c4f4b3dc53b04263f727190e061d0641379
MD5 8deea0a62e62ad00a6ca86bb8a4beb22
BLAKE2b-256 131d387ec8be267bc9aa32a754afd0df3fa96539c5df5227736c672cee917943

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page