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

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

Total release size: 20.1 MB

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

Download URL odclib-1.6.2.dev20250521-cp313-cp313-macosx_13_0_x86_64.whl
Size 672.6 kB
Tags CPython 3.13 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
3b16d5d6871174c3ff4ff8db5ed2647429bfac547b21d734ea045c96a87a33ab
BLAKE2b-256 checksum
How to use checksums
f27cb919757add1f8c0692b465be719695655654ad1b74d235be1077b30eccc7
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.dev20250521-cp313-cp313-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250521-cp313-cp313-macosx_13_0_arm64.whl
Size 674.7 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
68d104a2759a146aa9629718541a7da7f4b4be24345796237f53ec8f356ca6d4
BLAKE2b-256 checksum
How to use checksums
8b8c05df00328057ec94b0c4fea947363b63517300a17aae884b10552757c8c2
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.dev20250521-cp312-cp312-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250521-cp312-cp312-macosx_13_0_x86_64.whl
Size 672.6 kB
Tags CPython 3.12 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
cf8182381b36c3be0ed848548885531a67e00763e382cc89503517befbffb534
BLAKE2b-256 checksum
How to use checksums
267e6d02e3694883eef187fa52a7790a1a16cb9e8e7715556f3310de6b9aa2ea
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.dev20250521-cp312-cp312-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250521-cp312-cp312-macosx_13_0_arm64.whl
Size 674.7 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
68e9e772e281fa2eff7bd992b30e08cff1b342e2e21b897cf79956875fec7a68
BLAKE2b-256 checksum
How to use checksums
c879cb4ec03c3232adefa33751c7f2e966b8e76273e88deb312c5bc6a11ef8ed
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.dev20250521-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250521-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
d926a63f0c4e2a1f779f0dfd43b7922cd25a2e021b819784a20d24c0fc396793
BLAKE2b-256 checksum
How to use checksums
3c2edce54ed239b06bf2be384731ce924524b389c90df237e8ae11c8efc5cc6c
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.dev20250521-cp311-cp311-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250521-cp311-cp311-macosx_13_0_x86_64.whl
Size 672.6 kB
Tags CPython 3.11 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
3db744766f4f3cadbfad0897e51efdfb6fae4d02b2b82038c8f85649bd070e80
BLAKE2b-256 checksum
How to use checksums
4293cc0f9f02c72ff452bc3a927c8882dc4e581c7d5aa6afbee6c4b73ad8e6d2
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.dev20250521-cp311-cp311-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250521-cp311-cp311-macosx_13_0_arm64.whl
Size 674.7 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
5283e29dd964b53763b3fa1dddbc13532b8863da9762148ce10a14e06f56c27f
BLAKE2b-256 checksum
How to use checksums
620dfe9fa8dfaade9810e03e57342cbe380d24523850df3ef94630c5531ee9c0
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.dev20250521-cp310-cp310-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250521-cp310-cp310-macosx_13_0_x86_64.whl
Size 672.6 kB
Tags CPython 3.10 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
e8e1240112ab01ed0eac7b629d1b3b2d07eac9dd4771de6abb4211a6284c5830
BLAKE2b-256 checksum
How to use checksums
22a266d33e037dc10f730dff4291a33409242bb6a45391815e68c187947aca58
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.dev20250521-cp310-cp310-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250521-cp310-cp310-macosx_13_0_arm64.whl
Size 674.7 kB
Tags CPython 3.10 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
3ae15219d4e19a1ee7598ab9e6316eb9735f0f9e990796810e81758929228195
BLAKE2b-256 checksum
How to use checksums
a989c85813aec6e7c86cb3fe370311086502d8f88b0d0e73d5b3a75d77f6d650
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.dev20250521-cp39-cp39-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250521-cp39-cp39-macosx_13_0_x86_64.whl
Size 672.6 kB
Tags CPython 3.9 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
bfb36547fddd47f38d371c34647ff280fba478b649302d1a1b5ade6629ac2faa
BLAKE2b-256 checksum
How to use checksums
bf79ec2fd3cf67978b05ba69e5217a748d8a7c3250ac018a30b008b269d285dc
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.dev20250521-cp39-cp39-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250521-cp39-cp39-macosx_13_0_arm64.whl
Size 674.7 kB
Tags CPython 3.9 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
b6bccb503e2716e5d2a531562320efa065ed977615585151fa8e77217e83b4fb
BLAKE2b-256 checksum
How to use checksums
b8e4e94c7fc97a7b0c4884445f90076695f4f47c6e2cd792dbb9dd713f7d692b
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.dev20250521-1-cp310-cp310-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250521-1-cp310-cp310-macosx_13_0_arm64.whl
Size 674.7 kB
Tags CPython 3.10 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
10dd81195b8c9927b57a2affd5e87ede0c3ce0139a2cfc5529e48db0206449b2
BLAKE2b-256 checksum
How to use checksums
76c0deb5d787737edd84cdafd4c0d7de3eba7b827f5993a920fef33f0e22f749
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.dev20250521-1-cp39-cp39-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250521-1-cp39-cp39-macosx_13_0_arm64.whl
Size 674.7 kB
Tags CPython 3.9 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
ba9636f232db074505faf258402cd29182ae38dd89798bc5b3d09efcc3450840
BLAKE2b-256 checksum
How to use checksums
061220281969b9adf88ea3ca3a670b0ffde5a4c3b9225ab9fa6bcca5d3bf227b
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