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

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

Total release size: 66.9 MB

Release files / odclib-1.6.2.dev20250627-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250627-cp313-cp313-manylinux_2_28_x86_64.whl
Size 12.0 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0c06e3efdfe532195040cf6dd81d7be599e8e1bb10b7ab43854ad04a2c5006b2
BLAKE2b-256 checksum
How to use checksums
e3b4988c4edcfe383b5d2f4827e507af9ff9dba595702ded8388c368b639c3f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

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

Download URL odclib-1.6.2.dev20250627-cp313-cp313-macosx_13_0_x86_64.whl
Size 672.4 kB
Tags CPython 3.13 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
0cf423495147c91fbd56e0c17ccf818a5c41e7676b40f6735fecb4d2dabecf52
BLAKE2b-256 checksum
How to use checksums
d57a044dbef355f9759e8813e936e22ff92df5590a7bacbdd21ee8c337212551
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.dev20250627-cp313-cp313-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250627-cp313-cp313-macosx_13_0_arm64.whl
Size 674.5 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
d1bc7c75092c002e3de9199eb3f76ac4e74f9272d36bedc970b62cc58000cdfb
BLAKE2b-256 checksum
How to use checksums
481430c52c6bc50b82d81048e71c16aed8693aafe54d21a9a8aca76a1a05fe4c
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.dev20250627-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250627-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
79c23501a4a5da2c54ddb3c2533f273a7bead53bdfab3c0ab92ed5ffd8195662
BLAKE2b-256 checksum
How to use checksums
6a0ba5b1cfe96863855877b6ffa0b7cfb61dd031ca1c76062ea64e8b40431d3e
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.dev20250627-cp312-cp312-macosx_13_0_x86_64.whl

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

Download URL odclib-1.6.2.dev20250627-cp312-cp312-macosx_13_0_arm64.whl
Size 674.5 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
6e96f94dd39e9997fec4977a35bcd3b15dbc726bdee31429db717195792e0039
BLAKE2b-256 checksum
How to use checksums
02d0d78adb9bc494b061721acf253ea1178428ac8b0331ba973b4f55071ab11b
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.dev20250627-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250627-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
ac39d6b667cae4c35a4e4cf0fe338a0d3e0d6e88d5a8a5044c1ad7ae458f1596
BLAKE2b-256 checksum
How to use checksums
6653af19824ce3769c4a1c4da5f6ea4aff4616e768709960147062ab685cac6a
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.dev20250627-cp311-cp311-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250627-cp311-cp311-macosx_13_0_x86_64.whl
Size 672.4 kB
Tags CPython 3.11 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
f5c44b3e77d740f668eac2b40fcc98a0a33ff3f3515b910e20dddd4c66ac6ec4
BLAKE2b-256 checksum
How to use checksums
de5510eb14778049cfc8b27abde4033f17f46c655ca104e49856958bafdfe38d
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.dev20250627-cp311-cp311-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250627-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
373fa5d8c3d238c783fddf218a4a35f90bcacf7bce10909605294cac90c1b15f
BLAKE2b-256 checksum
How to use checksums
b716b74473e5b00d7001597e4b00db755ece6532c85fcb5ce033468ecfb3e3b0
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.dev20250627-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250627-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
7c953173dda6612a946dbe130f5f7fb70b571d4997b3059cf1be2569c221ddbf
BLAKE2b-256 checksum
How to use checksums
c9e43e9721733daed8de2e75a6095204cab49ce6cc20294cbbf6ec1461209a18
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.dev20250627-cp310-cp310-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250627-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
201452ab5b954d21db16cb84353898be7c7f7d0676e3fe1da94f25bc9a872a1d
BLAKE2b-256 checksum
How to use checksums
e8572753cc0c265692d21164518c8963b8c3c66b8a10e41149f83f997500e243
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.dev20250627-cp310-cp310-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250627-cp310-cp310-macosx_13_0_arm64.whl
Size 674.5 kB
Tags CPython 3.10 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
bfaaf47d9af8e032da3e72509905305e9de8685640cc957371c1c45fb823d4b4
BLAKE2b-256 checksum
How to use checksums
a4f51273b98a3d22c46563c14539139d144154be093550dd4a4bc49f2247e21e
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.dev20250627-cp39-cp39-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.2.dev20250627-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
1a3914fb22e5cb4481fe37d432eb281662b3a6cdc1ab01ea341865b38b3ecd1c
BLAKE2b-256 checksum
How to use checksums
168a1721f3df69cb8edff940174e2562f9d4c9d8539d16e4cb58dc2ba1fb9371
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.dev20250627-cp39-cp39-macosx_13_0_x86_64.whl

Download URL odclib-1.6.2.dev20250627-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
6472883f74b14bd5dca42c4c7ccff150bf1ab9d2ba619f1fec2531853b8d6e0b
BLAKE2b-256 checksum
How to use checksums
757b128e865891c0f97bb440743ad063f3e2ff255cffaa4666d3dc5d243cf95f
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.dev20250627-cp39-cp39-macosx_13_0_arm64.whl

Download URL odclib-1.6.2.dev20250627-cp39-cp39-macosx_13_0_arm64.whl
Size 674.5 kB
Tags CPython 3.9 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
6b62979d33f63fd404bf41db43b7363ada02ab667116728735e0a027d938a843
BLAKE2b-256 checksum
How to use checksums
a95790080c34632b80795abb8a1d38e993ea2dd58876b096d8dc9ea029594741
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