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

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

Total release size: 4.0 MB

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

Download URL odclib-1.6.2.dev20250617-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
aeb4c2660c6f027061c3191d809ba48a19e49748f13633c24e7bc6b55fef8f66
BLAKE2b-256 checksum
How to use checksums
fb76e4b0dca6bf79c796ee1edc79fe9236b3312006bf773b12fb89a8ed6703b4
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.dev20250617-cp311-cp311-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250617-cp311-cp311-macosx_13_0_arm64.whl
Size 674.6 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
bebdb7d0ab71b6ace0878dddcf7198e37de502b192d5265dd437ea3777e02bad
BLAKE2b-256 checksum
How to use checksums
e8ecd49be2c39c8538b43eb0754321a3cd08a71789855206fa3a4349ec099171
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.dev20250617-cp310-cp310-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250617-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
f32365ef9766562a764e3371d617264a342c46fd529a15d00581e5264dd5f3c2
BLAKE2b-256 checksum
How to use checksums
d0c3ae57999f52daf2aa6671a6fea9246405d23c9a5635b886dfdb747f38eb98
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.dev20250617-cp310-cp310-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250617-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
8db4c08bda5790cb640b61a09ff15a1816890b80b2ade27d69de4eb964b2aec5
BLAKE2b-256 checksum
How to use checksums
85f09db3d4021e01202c3a22b0559dfc0aa293bb79729506e6a98c86336cac95
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.dev20250617-cp39-cp39-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250617-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
9f7a3817fa17c0482aa429173b379981c0752d89a9eaad9235be86984d4f5d34
BLAKE2b-256 checksum
How to use checksums
610e276cfd2e14a7dc209fb2c8254ee33ced3cf900f96fc10d8b9390bbcbc10e
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.dev20250617-cp39-cp39-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250617-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
4ef490665eb60716d107f14d505308141bd714048034d4ea43f1a52a2e9223c5
BLAKE2b-256 checksum
How to use checksums
69a1b2ca04a4aea052f35b07630f21de4fd4d922bfa3b2ce70c972f5bc590a02
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