Skip to main content

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

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.3.29
File
odclib-1.6.3.29-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details
odclib-1.6.3.29-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details
odclib-1.6.3.29-cp314-cp314-macosx_15_0_x86_64.whl CPython 3.14 CPython 3.14 macOS 15.0+ x86-64 Details
odclib-1.6.3.29-cp314-cp314-macosx_15_0_arm64.whl CPython 3.14 CPython 3.14 macOS 15.0+ ARM64 Details
odclib-1.6.3.29-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
odclib-1.6.3.29-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details
odclib-1.6.3.29-cp313-cp313-macosx_15_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 15.0+ x86-64 Details
odclib-1.6.3.29-cp313-cp313-macosx_15_0_arm64.whl CPython 3.13 CPython 3.13 macOS 15.0+ ARM64 Details
odclib-1.6.3.29-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
odclib-1.6.3.29-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details
odclib-1.6.3.29-cp312-cp312-macosx_15_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 15.0+ x86-64 Details
odclib-1.6.3.29-cp312-cp312-macosx_15_0_arm64.whl CPython 3.12 CPython 3.12 macOS 15.0+ ARM64 Details
odclib-1.6.3.29-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
odclib-1.6.3.29-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details
odclib-1.6.3.29-cp311-cp311-macosx_15_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 15.0+ x86-64 Details
odclib-1.6.3.29-cp311-cp311-macosx_15_0_arm64.whl CPython 3.11 CPython 3.11 macOS 15.0+ ARM64 Details

Total release size: 9.7 MB

Release files / odclib-1.6.3.29-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.3.29-cp314-cp314-manylinux_2_28_x86_64.whl
Size 661.4 kB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0979569361f65dc04174341f8c6de4862861fff0f65bb0ce5a6f134284d8cca6
BLAKE2b-256 checksum
How to use checksums
97e06b0110db0b3326c5066fdc45d77bedd18efd8a0e1b8a9c8069ab949f85e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / odclib-1.6.3.29-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL odclib-1.6.3.29-cp314-cp314-manylinux_2_28_aarch64.whl
Size 652.2 kB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
3c0f5f353ff1d5aa7a0f04ac9d4c20da698960ab9fae6565029fa785dd8dc570
BLAKE2b-256 checksum
How to use checksums
e834dc067bc259e8b059a972281502edbb0e3aafc5bdaa4f3de49ae67fd15743
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / odclib-1.6.3.29-cp314-cp314-macosx_15_0_x86_64.whl

Download URL odclib-1.6.3.29-cp314-cp314-macosx_15_0_x86_64.whl
Size 570.6 kB
Tags CPython 3.14 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
03b48fc14b589c80ceac75624997136d920976e491e97757882abead8039839e
BLAKE2b-256 checksum
How to use checksums
2b73894a5780491a5cf1efda993d16485e4b94d7d478f6489a1cef3959bd8ac1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.14.5

Release files / odclib-1.6.3.29-cp314-cp314-macosx_15_0_arm64.whl

Download URL odclib-1.6.3.29-cp314-cp314-macosx_15_0_arm64.whl
Size 543.7 kB
Tags CPython 3.14 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
06e299de37bd91bb971be7a3116ae50249a008f2a63fb177c64ad7a6dbee4855
BLAKE2b-256 checksum
How to use checksums
b347523cfd8af3c14f21b02ebb561f3e761d26ad828a8b29af4e715ff1a2ef26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.14.7

Release files / odclib-1.6.3.29-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.3.29-cp313-cp313-manylinux_2_28_x86_64.whl
Size 661.4 kB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2ddefef32a236b157d915be45d589815157cb99cc0fcf17749dec9fe9800eb45
BLAKE2b-256 checksum
How to use checksums
134288ce6f2b764359ce618c4c8a3d30e127a9a7ff3dcd6f0ec1ca2159b88d15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release files / odclib-1.6.3.29-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL odclib-1.6.3.29-cp313-cp313-manylinux_2_28_aarch64.whl
Size 652.2 kB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
570b739396987ac1c36196625a46ef8f12924c4dec4f23db1564c8a58f6386d7
BLAKE2b-256 checksum
How to use checksums
6ce0c7ef75d6d996dcdb495a8446c506114d593a1cb6f5a8a0196b0513a77e12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release files / odclib-1.6.3.29-cp313-cp313-macosx_15_0_x86_64.whl

Download URL odclib-1.6.3.29-cp313-cp313-macosx_15_0_x86_64.whl
Size 570.6 kB
Tags CPython 3.13 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
b743ce2a93333201de36bc6216fc91b061f8367867b65ac5fe3b0a8efd40bdfd
BLAKE2b-256 checksum
How to use checksums
05d950b9180850c47d041ba72af40c470bb03a34033c0d8e9858019925f86668
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.3.29-cp313-cp313-macosx_15_0_arm64.whl

Download URL odclib-1.6.3.29-cp313-cp313-macosx_15_0_arm64.whl
Size 543.7 kB
Tags CPython 3.13 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
374b92bca726c25eaf7fa32938ce249adb08041731c7876b789eefb5baff5e3c
BLAKE2b-256 checksum
How to use checksums
a4babdb921ea4d239c12987ec07957b92643da53ff35a1e77eb529a70ce0e2fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.15

Release files / odclib-1.6.3.29-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.3.29-cp312-cp312-manylinux_2_28_x86_64.whl
Size 661.4 kB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
70efdb8fa94f7932f146fb3b0079f5533d0bf643674215be92278b13867b951c
BLAKE2b-256 checksum
How to use checksums
c822edd01d94e6658dcbd7dbe5a96e83e33e015c1a65674c889c31551c68bc59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release files / odclib-1.6.3.29-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL odclib-1.6.3.29-cp312-cp312-manylinux_2_28_aarch64.whl
Size 652.2 kB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
1337ea8b495bc568b0fe0baf5685b1eae18b41d8e5f55989551146494df621b4
BLAKE2b-256 checksum
How to use checksums
50366a1425dd9b4a5899f0991faaf41eb0846e31270917b1ce1788667fb436c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release files / odclib-1.6.3.29-cp312-cp312-macosx_15_0_x86_64.whl

Download URL odclib-1.6.3.29-cp312-cp312-macosx_15_0_x86_64.whl
Size 570.6 kB
Tags CPython 3.12 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
39360122e8fbcf78be973613f45d6f149d26543142d6f63c854239962c301fcc
BLAKE2b-256 checksum
How to use checksums
d03c94b2ea40072f8c800c37948c711b1ffcf62552374e23cfbe0938f4cd8d14
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.3.29-cp312-cp312-macosx_15_0_arm64.whl

Download URL odclib-1.6.3.29-cp312-cp312-macosx_15_0_arm64.whl
Size 543.7 kB
Tags CPython 3.12 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
8598b89e813e24fa3a4e2a4bdcb05ca55571684b62e930fc32f1d3e4900967a0
BLAKE2b-256 checksum
How to use checksums
730929a4ac88de97bbec2f0d63637db24d4e0f42f9a8b556db27ca9447cb3886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.14

Release files / odclib-1.6.3.29-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.3.29-cp311-cp311-manylinux_2_28_x86_64.whl
Size 661.4 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
deb7a6e1acc6b7d5bebe9b4b2d106184b61f83b52ae46f9f2784964ae3e7adc8
BLAKE2b-256 checksum
How to use checksums
56658a99544e8a097a09aa6cdaef5424fea4af20e5ae287393473935808db590
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.14

Release files / odclib-1.6.3.29-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL odclib-1.6.3.29-cp311-cp311-manylinux_2_28_aarch64.whl
Size 652.2 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
249bb95da7137b788ffb15a832fc562b91c9298849f10e6bc0f82be9b6d919ff
BLAKE2b-256 checksum
How to use checksums
989b92f0a7be9024a176abb7d8fbe3742749e40b3bb624465e001fc7d9f33e73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.14

Release files / odclib-1.6.3.29-cp311-cp311-macosx_15_0_x86_64.whl

Download URL odclib-1.6.3.29-cp311-cp311-macosx_15_0_x86_64.whl
Size 570.6 kB
Tags CPython 3.11 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
f70ab3cef91cfdf8665955caec2ff06c808559fec9c758301e3121bd1183fe76
BLAKE2b-256 checksum
How to use checksums
6e5e0e36f98658bcf2a3d2f1949cd4ceb1338757378a0026c6083f88e51d7d94
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.3.29-cp311-cp311-macosx_15_0_arm64.whl

Download URL odclib-1.6.3.29-cp311-cp311-macosx_15_0_arm64.whl
Size 543.7 kB
Tags CPython 3.11 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
7acc81c2c3af7dd6cb6934b46d1c8aa5d19aee4f996e69c414d9048137a695ce
BLAKE2b-256 checksum
How to use checksums
dc30948831c0bed1f20c13f9eaa38dfe44d6c648ba5d3694793bb31d8665f91e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.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