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

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

Total release size: 2.7 MB

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

Download URL odclib-1.6.2.dev20250909-cp312-cp312-macosx_13_0_arm64.whl
Size 675.0 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
f74cbda406f831f4b1a6a51e500c0fd3fefbc0d804f07488990013bc7e4fa363
BLAKE2b-256 checksum
How to use checksums
d31dbdb0ab8c6621962143d3c9a069c2289ffa8ee8d51b3d264100d89a8e4a4e
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.dev20250909-cp311-cp311-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250909-cp311-cp311-macosx_13_0_arm64.whl
Size 675.0 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
488eed2f40312e9105adea0ba7a335e63a548739070a222a78cf9b98b3941a39
BLAKE2b-256 checksum
How to use checksums
939712bc755028a476921073e166e040016ba5d5fd976d6422397cb45366b3d3
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.dev20250909-cp310-cp310-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250909-cp310-cp310-macosx_13_0_x86_64.whl
Size 672.7 kB
Tags CPython 3.10 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
29c2f98c88722a108e1d287fd1a32150acb6b04a2856e6f7fe85527d8a28d4fe
BLAKE2b-256 checksum
How to use checksums
6ba78715677bc2a7c3240b8b2ab42948b5d2735c0d0ba6994e3909c4686aa0f7
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.dev20250909-cp310-cp310-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250909-cp310-cp310-macosx_13_0_arm64.whl
Size 675.0 kB
Tags CPython 3.10 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
2a63686e0c189b7568704498cee51eeac89175f0933cb080c377e8fdf61b243b
BLAKE2b-256 checksum
How to use checksums
c579ae6b87d2d6698de441ac25c35fd4f6c98816818cfb92f7ce79f81ef0cd37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.16
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