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

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

Download URL odclib-1.6.2.dev20250725-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
5cbe700b7dca7f32cdf611a58251834546794f6d7b08af0b540cefe974fa0d16
BLAKE2b-256 checksum
How to use checksums
7b953b2aa3fc7922ebe902474d69b5e18902928e2412faeb33cf198bb1712bde
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.dev20250725-cp313-cp313-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250725-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
7b87a4a5a18380bf8213d1bcd880df6b245d5c60c3aa96861c8fbb959acdcd86
BLAKE2b-256 checksum
How to use checksums
f09f18385dcf1f002bfdc99baa03cf807db0a56a1be38bbb7aadff52e5ffecb1
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.dev20250725-cp312-cp312-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250725-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
c732efb2987ffea11ae42b992d730148d7e7acd84a5475deef52120af7876e50
BLAKE2b-256 checksum
How to use checksums
41e7889f71c3ae2cf39ff2d0ee77712f86b390458f33ca5fbf501178b1fe7261
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.dev20250725-cp312-cp312-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250725-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
7b05461c54bb4f8decb724ca2764ee06ee2f76ff0d4527f26bd5fd49f751e50a
BLAKE2b-256 checksum
How to use checksums
a06ddb5526d9394b52d51382cde272f44f5df0da8a5e4f909edda8fcb823c70b
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.dev20250725-cp311-cp311-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250725-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
f0bd521c86e7e8a6741b28404fcf8fb5b0ca260fa8dbddf482d52690d8587fd7
BLAKE2b-256 checksum
How to use checksums
01a6834348e8c8ff8154075cdfda6b102bf35732f2e954a5d7310d76d89b9d69
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.dev20250725-cp311-cp311-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250725-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
c9d15fa957f96a2f3c8faf6fb46a44aa910dfe14b22af36e2862dc93c49be270
BLAKE2b-256 checksum
How to use checksums
16c10e30fc8aa8302cfe25e8cdb34e085bbfebd4cf60be02ba874fec9db2b398
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.dev20250725-cp310-cp310-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250725-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
03aa4b89963d57dfc0cb774acc1ba98129fed7fecdfc9d1a7a6c23ee68aab865
BLAKE2b-256 checksum
How to use checksums
644adda1462997ef28c5af9866406ea06d2df6057fe4cd9fc2408363c7ac3f2c
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.dev20250725-cp310-cp310-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250725-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
53da65eedf60e33260e80d82ddc0f9cc37fe6369ea83c0d878402ee00690c898
BLAKE2b-256 checksum
How to use checksums
a26aa973dc44da8e493d43d406730711da91cbefe347f46777e8377d82efd24e
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.dev20250725-cp39-cp39-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250725-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
0b75a20f6ad3cb24c5909d4b84f2bdd06fd112402342e79647f546a72cb3575f
BLAKE2b-256 checksum
How to use checksums
52051104e736653ceaa6fd35af9221457b2162c216af186bc6471c0d41811cd8
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.dev20250725-cp39-cp39-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250725-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
d3bec444fc131a412317a84ad5348e1f35293df533aac322418345f6ea087943
BLAKE2b-256 checksum
How to use checksums
89150d77c986b0c84ecebb89eb42f6cccdbfe5a8da5896aab7ff10372c5364c2
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