Skip to main content

"odclib"

Project description

odc

Build Status Documentation Status Licence PyPI

C, C++ and Fortran libraries providing encoders and decoders and interrogation of meteorological data encoded in ODB-2 format as well as command line tools for investigation and manipulation of ODB-2 data.

Documentation

Dependencies

Required

Optional

Installation

git clone https://github.com/ecmwf/odc
cd odc

# Setup environment variables (edit as needed)
SRC_DIR=$(pwd)
BUILD_DIR=build
INSTALL_DIR=$HOME/local
export eckit_DIR=$INSTALL_DIR # set to eckit install prefix

# Create the the build directory
mkdir $BUILD_DIR
cd $BUILD_DIR

# Run ecbuild (CMake)
ecbuild --prefix=$INSTALL_DIR -- $SRC_DIR

# Build and install
make -j10
make test # optional
make install

# Check installation
$INSTALL_DIR/bin/odc --version

Usage

Include the odc headers like so:

// odc_test.c
#include "odc/api/odc.h"

int main() {
   odc_initialise_api();
   return 0;
}

Make sure to reference the linked library when compiling:

gcc -lodccore odc_test.c

Build Documentation

The documentation is generated using Sphinx.

First, make sure that Doxygen module is available, and then install Python dependencies in your environment:

cd docs
pip install -r requirements.txt

You can then build the documentation by using make:

cd docs
make html

The built HTML documentation will be available under the docs/_build/html/index.html path.

Licence

This software is licensed under the terms of the Apache Licence Version 2.0 which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.

In applying this licence, ECMWF does not waive the privileges and immunities granted to it by virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.

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.

odclib-1.6.2.dev20250613-cp313-cp313-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

odclib-1.6.2.dev20250613-cp313-cp313-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

odclib-1.6.2.dev20250613-cp313-cp313-macosx_13_0_arm64.whl (674.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

odclib-1.6.2.dev20250613-cp312-cp312-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

odclib-1.6.2.dev20250613-cp312-cp312-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

odclib-1.6.2.dev20250613-cp312-cp312-macosx_13_0_arm64.whl (674.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

odclib-1.6.2.dev20250613-cp311-cp311-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

odclib-1.6.2.dev20250613-cp311-cp311-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

odclib-1.6.2.dev20250613-cp311-cp311-macosx_13_0_arm64.whl (674.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

odclib-1.6.2.dev20250613-cp310-cp310-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

odclib-1.6.2.dev20250613-cp310-cp310-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

odclib-1.6.2.dev20250613-cp310-cp310-macosx_13_0_arm64.whl (674.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

odclib-1.6.2.dev20250613-cp39-cp39-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

odclib-1.6.2.dev20250613-cp39-cp39-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

odclib-1.6.2.dev20250613-cp39-cp39-macosx_13_0_arm64.whl (674.6 kB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

Details for the file odclib-1.6.2.dev20250613-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 560c3aef31974f86569595448c1fec7f0e3614fd1237e397fcd8323220ac1372
MD5 b6205a0285a7df7947e76396a48a926c
BLAKE2b-256 301b4850cf8206e0ae78d2b434c95f846757ad51f7796221b6c42713e8841c99

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7015a87deadd7ada3a9b2add0fef6626c722949c68a6861e6d44a947fd6e7c9f
MD5 f45ee5bb404d5b08dec7eeadaacf85a7
BLAKE2b-256 bc89eeb045a97077d74b39c6d4cb7e6c11e22c444e81525ae3654e3bfaad5d45

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 024eb996962532e8af99f6fa57f9632cee1add9913216a8745c6faae43edec88
MD5 203c79a1fb3fa6bdb03f35f5be66c1dc
BLAKE2b-256 ee3e7cb6e5e9cc72192a3aef371119db7a9006ff9f70fbca2e9a8cbdc1a253fe

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 10ef6f16ba1e2ef43fcc0c6ceeb4995cb284ef71e9700d901f580a9e61c77a7f
MD5 9ec5cedc7499f371aa05e651e5c82d3e
BLAKE2b-256 f6a6ce117caaa410edc38ac7365191b8ef201dd8e31eba87895edf895e7e111b

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ec9732068c2fc8cc54b531d3cc793fe8e7d24b47736a8cab96f90231ff8ac319
MD5 db5b6e36093c43d06144937a5afc54ec
BLAKE2b-256 9dc8a02d63c0f7b2157db824bfa3436b1ebce8a11d8e3f5ceee8a2cc429abb59

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 72f2d43c46c8871e884e706eeb90977ef3070c13d95070cfc8aa305cabe6a236
MD5 437a71fcf09d2a47b6db434fad79dba0
BLAKE2b-256 299800a809255ba38c4545895756d4c188cc8290cff927ee51426e32dbf87ea2

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8dda1b9a06c6e07091e03d657d7fffeefa538bb81a695257afc6e468aeb23e73
MD5 0d9ff9a58566338b0201cb72a99b3bb4
BLAKE2b-256 cb2e96ce1767b636813e6a6ac8cdeac71f9e57f03a99a8d05d708f3102e372a5

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9464f1dcc5a2ebcf21aee548936ccfa45ed2d4db413627475fe6eeb97bfd5d41
MD5 5b9bd67d9d178330413728e7e0a47fab
BLAKE2b-256 94493610354fbf0c33eea100aa5b915e74a5855fe6150b5fe3f98f69fcf24c6d

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1506913dfc5b3403282dfc8ad98513b54b9be228ec2402a2c3faff246632b5a4
MD5 25bb44fb050f93f5a091f89e0b2057ff
BLAKE2b-256 e87b749b04b646b7aa5cb4c583e2818ee362213ddd9dc2424c4931339c65bfa3

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0be3b607420bf984010cdd2eb57ebdfb5f0c174f380e2b486d74fabb4a980a98
MD5 a60952ec2b27a0ec465e138a0d18841c
BLAKE2b-256 a56effbcaa6ce3d3d81b60bf2fb90cc6c7d7f3a8550c49a7b1c61f432095d8ed

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 aa6f7cf19a0c39ec05fb94d72d37ab3dd0d911661eb6ac22361460c311ae8391
MD5 a1bf446e91fe6311e15edeb019607218
BLAKE2b-256 f1d1a5555d948645f11c2c106e556d4d3075978b2240fe3c97f5cbc09df55ff5

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 da89c5f9f11ac1e3175ad30d6225e085d5bb6ace2f7508aee7bb2730bc0a1548
MD5 eef60a5eff46da1def4a222c9f17f89f
BLAKE2b-256 ee5e925ebb46d1c07bb5233e1087d9ef20db492c8cec4ca7be7fb316f663677e

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a16fa19533dc46ef627edece54cef8ea74ba33908ca95ebcdd2afe66ff0e0ff3
MD5 b75f4e882ca584d6ea27fb29c9ccb70a
BLAKE2b-256 8d8fc682d0ff56e826c4d4c2c87b48a5dbbd96dc194f2741e53529369b36c77c

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8e48d6c73193cb38cc1f45a207593fdeeacf7c181e4f927c20908085034262de
MD5 910a4ffe0a6752cf11d5434d569bb019
BLAKE2b-256 afd0338a591c48c32949eb5c2fdf25dab7b95603512d3b20460e174115595f8e

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250613-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250613-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 eb69f06260169770589eb250ab2ce6c5ccd270d292349ddf9837b6929cf965c2
MD5 bfe628705bb37cdce31f91bb0623a054
BLAKE2b-256 347af9a7b9a31ee5a9212f36b72f8d535f8517f9e2f0d813ae53427a96ecdbd6

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