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.dev20250723

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.dev20250723
File
odclib-1.6.2.dev20250723-cp313-cp313-macosx_13_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 13.0+ x86-64 Details
odclib-1.6.2.dev20250723-cp313-cp313-macosx_13_0_arm64.whl CPython 3.13 CPython 3.13 macOS 13.0+ ARM64 Details
odclib-1.6.2.dev20250723-cp312-cp312-macosx_13_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 13.0+ x86-64 Details
odclib-1.6.2.dev20250723-cp312-cp312-macosx_13_0_arm64.whl CPython 3.12 CPython 3.12 macOS 13.0+ ARM64 Details
odclib-1.6.2.dev20250723-cp311-cp311-macosx_13_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 13.0+ x86-64 Details
odclib-1.6.2.dev20250723-cp311-cp311-macosx_13_0_arm64.whl CPython 3.11 CPython 3.11 macOS 13.0+ ARM64 Details
odclib-1.6.2.dev20250723-cp310-cp310-macosx_13_0_x86_64.whl CPython 3.10 CPython 3.10 macOS 13.0+ x86-64 Details
odclib-1.6.2.dev20250723-cp310-cp310-macosx_13_0_arm64.whl CPython 3.10 CPython 3.10 macOS 13.0+ ARM64 Details
odclib-1.6.2.dev20250723-cp39-cp39-macosx_13_0_x86_64.whl CPython 3.9 CPython 3.9 macOS 13.0+ x86-64 Details
odclib-1.6.2.dev20250723-cp39-cp39-macosx_13_0_arm64.whl CPython 3.9 CPython 3.9 macOS 13.0+ ARM64 Details

Total release size: 6.7 MB

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

Download URL odclib-1.6.2.dev20250723-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
5489eecb6c5731fb62fc81298dfcffd0b606d63774b3966c01020f02f67b3984
BLAKE2b-256 checksum
How to use checksums
8cfe431022f73c62f892eaf42da5e7702348a16f1d92bc824e8c25540f957987
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.dev20250723-cp313-cp313-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250723-cp313-cp313-macosx_13_0_arm64.whl
Size 674.5 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
d6d6aac4692e9f56507b2cc34c07166e3a5fcb8819a0fcbf9ac8afb0d9cc1ee9
BLAKE2b-256 checksum
How to use checksums
d28416a7d273dbb86b4d181ae1e65c59135b7a52aec8ca330981dacaea04fcb1
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.dev20250723-cp312-cp312-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250723-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
78ffd4d31874fdf1ef41491929f32c2f0a4583b28a0b1c9b8c2797e3e2edac2e
BLAKE2b-256 checksum
How to use checksums
5295ee4748016ae3bb5691b5eeca6c179a29ac13d6153c6d6b33aca75900b584
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.dev20250723-cp312-cp312-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250723-cp312-cp312-macosx_13_0_arm64.whl
Size 674.5 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
9a9b640bd4e557b692e22dc55aeba75a53a4ca51f9564a752b3187ac654d89ea
BLAKE2b-256 checksum
How to use checksums
7dfb9e066060e94299060453e44bd3d7817f7f8430050c3e8584741a4b97acaf
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.dev20250723-cp311-cp311-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250723-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
08b4cb1e04579329553a37f1d49405ea12c2d52361518681e1a1c5ba1ea21070
BLAKE2b-256 checksum
How to use checksums
a91da3405af841460c8fa9f7f1f8b15d70494bc4e6142fe62d5c4b13314b988b
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.dev20250723-cp311-cp311-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250723-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
8d25ca5f374785e3b9a5a9aea5e4a0b0302987cec34a3baa04ae79942fe1d6f2
BLAKE2b-256 checksum
How to use checksums
6b9e1f46b588f819781b6c74f79748900f4d2ce851a7bad15da8b388b134046e
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.dev20250723-cp310-cp310-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250723-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
ec4318682ac12ee2529d5abe276705e8e852f6fb6261ac667b25b40ff687b870
BLAKE2b-256 checksum
How to use checksums
2567fef4d3dcbc16d8f503625d4f14f44f0d64e24ee94c39b7e7ae5bb66aed7d
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.dev20250723-cp310-cp310-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250723-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
c99700dde46912519a88bf606d49a5b39c69fee0fe5171d6ac19b49b480cb3b2
BLAKE2b-256 checksum
How to use checksums
8f95f80817c1312657480902fd9717911038aaf6bcab78af2158f5ed6e749058
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.dev20250723-cp39-cp39-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250723-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
e72199313daf4f95a95618fff7a5c478e26318d9b91bcab83bf06b705fa26e57
BLAKE2b-256 checksum
How to use checksums
fe30653cb7fc44f94fdb269360f455ca50f3654bfc7cbe610941ea951d698969
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.dev20250723-cp39-cp39-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250723-cp39-cp39-macosx_13_0_arm64.whl
Size 674.5 kB
Tags CPython 3.9 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
44bbb416e6ead8409f9c4c476edfcbe1f1a15292ed48bac264c63d4e42d0ebf9
BLAKE2b-256 checksum
How to use checksums
cce235d29117daeeab1f1e4983a3d754650e9ed35df2485c8be233d125c02356
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