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.dev1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

pygribjump-0.10.3.dev1-1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pygribjump-0.10.3.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 35e97bcd741501e4bdc90fdd24f906b2e3855d9f6bd8412fc75263c5a6eac433
MD5 3499ea46b0103b37bb163fa939cc3646
BLAKE2b-256 6b13e2b0dd3c9c7b55a024cf8ad2f73c36bef0deab5d0a71bba49273bc396139

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygribjump-0.10.3.dev1-1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e7547956f34ade735aec833b0c3289dd704a77e776b92f55bb20099a6654de3
MD5 325cf68089bfd3fa2beb8d85b46fd5ac
BLAKE2b-256 114192ec3b4344e700a7560ad85ced7ffcd8e6d1cf04d844c8a21d454e693a70

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