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

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

Total release size: 67.0 MB

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

Download URL odclib-1.6.2.dev20250827-cp313-cp313-macosx_13_0_x86_64.whl
Size 672.7 kB
Tags CPython 3.13 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
ee9d41c9a77aa4eeb123a785bccc705760be36e0e0107691bea503fad284f9d9
BLAKE2b-256 checksum
How to use checksums
5ea8921ec82609d98c3cf393cda5e4ec8193dfd668e7370f299e88dcb87bf964
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.dev20250827-cp313-cp313-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250827-cp313-cp313-macosx_13_0_arm64.whl
Size 675.0 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
b5c087bbed9299c452c35a310f6545624e1dd10425c00aaad5b350d05f50dbad
BLAKE2b-256 checksum
How to use checksums
46cca65403a6a636ce5588b8c5d417166ad98a6b4ad87bf789dbd88e83f995a9
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.dev20250827-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250827-cp312-cp312-manylinux_2_28_x86_64.whl
Size 12.0 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b41d4ab2c608db61a76abcb45617f3cc8d920e2403b4af3994c7d18cf5110050
BLAKE2b-256 checksum
How to use checksums
03505eb2a8a81224031641ba8a9be5d8601de6bfb2a7af0ae19d6b08da403280
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.7

Release files / odclib-1.6.2.dev20250827-cp312-cp312-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250827-cp312-cp312-macosx_13_0_x86_64.whl
Size 672.7 kB
Tags CPython 3.12 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
eaacc6dd2d4af39288c5419d967d8876e4af97667798e17f17d7a8b576e7ff94
BLAKE2b-256 checksum
How to use checksums
b0162535afe6b6cbd39ecd8a52c9a6fa9b20707050136de3b794c831545ba05d
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.dev20250827-cp312-cp312-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250827-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
2b8f68897c5a43e529ff4fe7bca4d4af6feeef2a62fc258f545d6d6e815a9890
BLAKE2b-256 checksum
How to use checksums
8bbfa99e225cb0e345f73b7fd4afc6910e8f383e8b83e1c11f029f0ad1cf424a
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.dev20250827-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250827-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
19d43771ab7477a2aad5dc1e89805575d58a8f1a43a3d37c9df054c8bd054854
BLAKE2b-256 checksum
How to use checksums
8e53e2a3833a5b6979ec680c95a71fc84faa78536d1c0d7e4a5e5060ceaaa7be
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.dev20250827-cp311-cp311-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250827-cp311-cp311-macosx_13_0_x86_64.whl
Size 672.7 kB
Tags CPython 3.11 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
c63252b945c1e76ab0d390ee96636170bb5a1a66aa21992cb46573bb77ecfa58
BLAKE2b-256 checksum
How to use checksums
834174d1c8bc3112881f6576836f89f34d47966e2d26448cbc52b36d565aaef8
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.dev20250827-cp311-cp311-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250827-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
024fcf8d20823e95d71830ce71d9af0607f3e9ec24da87d66efdf7db334513aa
BLAKE2b-256 checksum
How to use checksums
ca5a5c3894b3b1dd0928113f3af97cb0aba3c33860ded14d77012280757b47d0
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.dev20250827-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250827-cp310-cp310-manylinux_2_28_x86_64.whl
Size 12.0 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0920af0be8015d89d9e8b0e59c253e48f39928c310e128b1bdad505eaf6fb6b6
BLAKE2b-256 checksum
How to use checksums
23367501b88e71f7ae15015e617a6a97c17c84830cce95fbc63819af1d37c961
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.15

Release files / odclib-1.6.2.dev20250827-cp310-cp310-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250827-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
b4134f9367c077c209c1ba25ae27ce0a87c0500237780598364efae48828da1a
BLAKE2b-256 checksum
How to use checksums
a1adfb1a50cb3aad69457e9e4452c281e31c57f52bfb14d805f9f179f1e638f6
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.dev20250827-cp310-cp310-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250827-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
562cbbca303472c6db29195e1bc719096b85278813797b500a6955c018bddc4a
BLAKE2b-256 checksum
How to use checksums
df86cf8da53915acfdfb1ab294e00db4ed742127e65365d912fc2562b0ec58da
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.dev20250827-cp39-cp39-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250827-cp39-cp39-manylinux_2_28_x86_64.whl
Size 12.0 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
aaee349dc935008a344c55fad0674402e5f56bf1094ca38ad86a1166185be335
BLAKE2b-256 checksum
How to use checksums
4a3d4236888dbf293b29b4ac9156ad747196cf7deb0eacb661459c81d6334e0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.20

Release files / odclib-1.6.2.dev20250827-cp39-cp39-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250827-cp39-cp39-macosx_13_0_x86_64.whl
Size 672.7 kB
Tags CPython 3.9 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
3d8a784fcf463d0b0970a3083494b2b098ab7f7d3007bda3e956961916fb4c28
BLAKE2b-256 checksum
How to use checksums
29a57674d9de9f34c950710ebdbe63e646f56c53fb9e25a04019b37f0a27a85d
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.dev20250827-cp39-cp39-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250827-cp39-cp39-macosx_13_0_arm64.whl
Size 675.0 kB
Tags CPython 3.9 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
0b69be4fcce4a4cf162a545725a0755236c123b239779525814d0fb8ff25a7e3
BLAKE2b-256 checksum
How to use checksums
091aa096f6ea2c164309cb650ae8b7c84172df17f82adba44862206e0b244a5a
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.dev20250827-1-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250827-1-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
cb23ef81fb96cdd50b68def39a96726b3bc7f5833022f8c79f1779355f611069
BLAKE2b-256 checksum
How to use checksums
af5f188eef5c4bf911845d0129d57d435e22de0bfd5b3cf11be4d7a351f55b9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.10
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