Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Metadata

Release files for odclib 1.6.2.dev20250613

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for odclib 1.6.2.dev20250613
File
odclib-1.6.2.dev20250613-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
odclib-1.6.2.dev20250613-cp313-cp313-macosx_13_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 13.0+ x86-64 Details
odclib-1.6.2.dev20250613-cp313-cp313-macosx_13_0_arm64.whl CPython 3.13 CPython 3.13 macOS 13.0+ ARM64 Details
odclib-1.6.2.dev20250613-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
odclib-1.6.2.dev20250613-cp312-cp312-macosx_13_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 13.0+ x86-64 Details
odclib-1.6.2.dev20250613-cp312-cp312-macosx_13_0_arm64.whl CPython 3.12 CPython 3.12 macOS 13.0+ ARM64 Details
odclib-1.6.2.dev20250613-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
odclib-1.6.2.dev20250613-cp311-cp311-macosx_13_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 13.0+ x86-64 Details
odclib-1.6.2.dev20250613-cp311-cp311-macosx_13_0_arm64.whl CPython 3.11 CPython 3.11 macOS 13.0+ ARM64 Details
odclib-1.6.2.dev20250613-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details
odclib-1.6.2.dev20250613-cp310-cp310-macosx_13_0_x86_64.whl CPython 3.10 CPython 3.10 macOS 13.0+ x86-64 Details
odclib-1.6.2.dev20250613-cp310-cp310-macosx_13_0_arm64.whl CPython 3.10 CPython 3.10 macOS 13.0+ ARM64 Details
odclib-1.6.2.dev20250613-cp39-cp39-manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64 Details
odclib-1.6.2.dev20250613-cp39-cp39-macosx_13_0_x86_64.whl CPython 3.9 CPython 3.9 macOS 13.0+ x86-64 Details
odclib-1.6.2.dev20250613-cp39-cp39-macosx_13_0_arm64.whl CPython 3.9 CPython 3.9 macOS 13.0+ ARM64 Details

Total release size: 66.9 MB

Release files / odclib-1.6.2.dev20250613-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250613-cp313-cp313-manylinux_2_28_x86_64.whl
Size 12.0 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
560c3aef31974f86569595448c1fec7f0e3614fd1237e397fcd8323220ac1372
BLAKE2b-256 checksum
How to use checksums
301b4850cf8206e0ae78d2b434c95f846757ad51f7796221b6c42713e8841c99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release files / odclib-1.6.2.dev20250613-cp313-cp313-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250613-cp313-cp313-macosx_13_0_x86_64.whl
Size 672.4 kB
Tags CPython 3.13 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
7015a87deadd7ada3a9b2add0fef6626c722949c68a6861e6d44a947fd6e7c9f
BLAKE2b-256 checksum
How to use checksums
bc89eeb045a97077d74b39c6d4cb7e6c11e22c444e81525ae3654e3bfaad5d45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.2

Release files / odclib-1.6.2.dev20250613-cp313-cp313-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250613-cp313-cp313-macosx_13_0_arm64.whl
Size 674.6 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
024eb996962532e8af99f6fa57f9632cee1add9913216a8745c6faae43edec88
BLAKE2b-256 checksum
How to use checksums
ee3e7cb6e5e9cc72192a3aef371119db7a9006ff9f70fbca2e9a8cbdc1a253fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.2

Release files / odclib-1.6.2.dev20250613-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250613-cp312-cp312-manylinux_2_28_x86_64.whl
Size 12.0 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
10ef6f16ba1e2ef43fcc0c6ceeb4995cb284ef71e9700d901f580a9e61c77a7f
BLAKE2b-256 checksum
How to use checksums
f6a6ce117caaa410edc38ac7365191b8ef201dd8e31eba87895edf895e7e111b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.7

Release files / odclib-1.6.2.dev20250613-cp312-cp312-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250613-cp312-cp312-macosx_13_0_x86_64.whl
Size 672.4 kB
Tags CPython 3.12 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
ec9732068c2fc8cc54b531d3cc793fe8e7d24b47736a8cab96f90231ff8ac319
BLAKE2b-256 checksum
How to use checksums
9dc8a02d63c0f7b2157db824bfa3436b1ebce8a11d8e3f5ceee8a2cc429abb59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.9

Release files / odclib-1.6.2.dev20250613-cp312-cp312-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250613-cp312-cp312-macosx_13_0_arm64.whl
Size 674.6 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
72f2d43c46c8871e884e706eeb90977ef3070c13d95070cfc8aa305cabe6a236
BLAKE2b-256 checksum
How to use checksums
299800a809255ba38c4545895756d4c188cc8290cff927ee51426e32dbf87ea2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.9

Release files / odclib-1.6.2.dev20250613-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250613-cp311-cp311-manylinux_2_28_x86_64.whl
Size 12.0 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8dda1b9a06c6e07091e03d657d7fffeefa538bb81a695257afc6e468aeb23e73
BLAKE2b-256 checksum
How to use checksums
cb2e96ce1767b636813e6a6ac8cdeac71f9e57f03a99a8d05d708f3102e372a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.10

Release files / odclib-1.6.2.dev20250613-cp311-cp311-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250613-cp311-cp311-macosx_13_0_x86_64.whl
Size 672.4 kB
Tags CPython 3.11 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
9464f1dcc5a2ebcf21aee548936ccfa45ed2d4db413627475fe6eeb97bfd5d41
BLAKE2b-256 checksum
How to use checksums
94493610354fbf0c33eea100aa5b915e74a5855fe6150b5fe3f98f69fcf24c6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.11

Release files / odclib-1.6.2.dev20250613-cp311-cp311-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250613-cp311-cp311-macosx_13_0_arm64.whl
Size 674.5 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
1506913dfc5b3403282dfc8ad98513b54b9be228ec2402a2c3faff246632b5a4
BLAKE2b-256 checksum
How to use checksums
e87b749b04b646b7aa5cb4c583e2818ee362213ddd9dc2424c4931339c65bfa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.11

Release files / odclib-1.6.2.dev20250613-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250613-cp310-cp310-manylinux_2_28_x86_64.whl
Size 12.0 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0be3b607420bf984010cdd2eb57ebdfb5f0c174f380e2b486d74fabb4a980a98
BLAKE2b-256 checksum
How to use checksums
a56effbcaa6ce3d3d81b60bf2fb90cc6c7d7f3a8550c49a7b1c61f432095d8ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.15

Release files / odclib-1.6.2.dev20250613-cp310-cp310-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250613-cp310-cp310-macosx_13_0_x86_64.whl
Size 672.4 kB
Tags CPython 3.10 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
aa6f7cf19a0c39ec05fb94d72d37ab3dd0d911661eb6ac22361460c311ae8391
BLAKE2b-256 checksum
How to use checksums
f1d1a5555d948645f11c2c106e556d4d3075978b2240fe3c97f5cbc09df55ff5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.16

Release files / odclib-1.6.2.dev20250613-cp310-cp310-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250613-cp310-cp310-macosx_13_0_arm64.whl
Size 674.6 kB
Tags CPython 3.10 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
da89c5f9f11ac1e3175ad30d6225e085d5bb6ace2f7508aee7bb2730bc0a1548
BLAKE2b-256 checksum
How to use checksums
ee5e925ebb46d1c07bb5233e1087d9ef20db492c8cec4ca7be7fb316f663677e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.16

Release files / odclib-1.6.2.dev20250613-cp39-cp39-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250613-cp39-cp39-manylinux_2_28_x86_64.whl
Size 12.0 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a16fa19533dc46ef627edece54cef8ea74ba33908ca95ebcdd2afe66ff0e0ff3
BLAKE2b-256 checksum
How to use checksums
8d8fc682d0ff56e826c4d4c2c87b48a5dbbd96dc194f2741e53529369b36c77c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.20

Release files / odclib-1.6.2.dev20250613-cp39-cp39-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250613-cp39-cp39-macosx_13_0_x86_64.whl
Size 672.4 kB
Tags CPython 3.9 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
8e48d6c73193cb38cc1f45a207593fdeeacf7c181e4f927c20908085034262de
BLAKE2b-256 checksum
How to use checksums
afd0338a591c48c32949eb5c2fdf25dab7b95603512d3b20460e174115595f8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Release files / odclib-1.6.2.dev20250613-cp39-cp39-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250613-cp39-cp39-macosx_13_0_arm64.whl
Size 674.6 kB
Tags CPython 3.9 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
eb69f06260169770589eb250ab2ce6c5ccd270d292349ddf9837b6929cf965c2
BLAKE2b-256 checksum
How to use checksums
347af9a7b9a31ee5a9212f36b72f8d535f8517f9e2f0d813ae53427a96ecdbd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21
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