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

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

Total release size: 3.4 MB

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

Download URL odclib-1.6.2.dev20250529-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
4efbd94c6bfd775a64859b3017b3f445eb5be318aaf8b9869ae49c037367518c
BLAKE2b-256 checksum
How to use checksums
cff7af4821ad0c4a6a48f09f3c62432979b80caf8eab9202074509201a12ae0f
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.dev20250529-cp311-cp311-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250529-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
9e18952f33286bcad793c01abc4014d28af5afb4d3944baae680dbc7b05d73b5
BLAKE2b-256 checksum
How to use checksums
7f325488ac0e9bf1a79fb37f0978f357c24978d718a92bd16d00578db0a023c9
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.dev20250529-cp310-cp310-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250529-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
0107bf0cfae6f990d7352c146e5e39811f272bdfd621dab9d24a042a227e9363
BLAKE2b-256 checksum
How to use checksums
0c05ad34b233704deed38639c325f178baf3895be5ab4c4a64ad74babc5dca11
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.dev20250529-cp310-cp310-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250529-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
407855bc9a1bd2871e6060330f9505ba6d40f3111c50ffc1fb1c6af35c33dd1b
BLAKE2b-256 checksum
How to use checksums
09b9c31cfc9114f13dcbbd1c8045d7a3fbd568542b2dc641470cbccba0dd927b
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.dev20250529-cp39-cp39-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250529-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
394ca3cbfac47d2b0b74d23b3059d85ddef49b37a3559e1207d253afca07662e
BLAKE2b-256 checksum
How to use checksums
dd232aaa830d4534478cb290780c3e7391adf5ad7156f6d13d7a74616633672e
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