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

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.27
File
odclib-1.6.3.27-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.27-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details
odclib-1.6.3.27-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.27-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details
odclib-1.6.3.27-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.27-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details
odclib-1.6.3.27-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.27-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details
odclib-1.6.3.27-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details
odclib-1.6.3.27-cp310-cp310-manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ ARM64 Details

Total release size: 6.6 MB

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

Download URL odclib-1.6.3.27-cp314-cp314-manylinux_2_28_x86_64.whl
Size 661.8 kB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
681541ce1c3d3e38c4e0aaf34134e90323bff6fe4f9eacbc16d7ad482960e8ec
BLAKE2b-256 checksum
How to use checksums
5243b5ee0af04a8450504e72791c166f61bc2a071a203bc12b0677b261231902
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.27-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL odclib-1.6.3.27-cp314-cp314-manylinux_2_28_aarch64.whl
Size 652.7 kB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
366e040d471e38214bfcbbcebec01ad966e666dad2a66dfbbb8e8f022fbfe100
BLAKE2b-256 checksum
How to use checksums
e4a1e35e4e21c2070306d0696d62693bbf041bf548031e46795f74dbed70b26f
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.27-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.3.27-cp313-cp313-manylinux_2_28_x86_64.whl
Size 661.8 kB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5e1f844a857f850258e4457c3bb5d4c96d1656962a70be605f0dbc96c03fb293
BLAKE2b-256 checksum
How to use checksums
60cb5bab1a4c47e16fd14705b1d1662172cb84fe2ff7220c91720619c4879750
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.27-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL odclib-1.6.3.27-cp313-cp313-manylinux_2_28_aarch64.whl
Size 652.7 kB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
4d1625139b8f48f8c5469b011d27241f65e940361a14c448e64568c1395940b8
BLAKE2b-256 checksum
How to use checksums
b3f622191c5e22e8dd1b80270cb8c2ab82f7ba231ab079a9f8b466a9d8cb516c
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.27-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.3.27-cp312-cp312-manylinux_2_28_x86_64.whl
Size 661.8 kB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e97f57407ddd19c27287937003e6c5bcf91bbb00afdb6a00e5d7666a6b70c8f9
BLAKE2b-256 checksum
How to use checksums
ddfa05c9ed1436745afae5747703e0947851de551742b8307c5ceddd5d39c0b1
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.27-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL odclib-1.6.3.27-cp312-cp312-manylinux_2_28_aarch64.whl
Size 652.7 kB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
44de223a18e8f17a7d72786dab15cad82d5b33ce3907fa17ffffed3150363589
BLAKE2b-256 checksum
How to use checksums
1bbd8fba9f754cdc8a9b4e1416e25a61697a7e17228685031cf0e92268c66b95
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.27-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.3.27-cp311-cp311-manylinux_2_28_x86_64.whl
Size 661.8 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5586b963b93916eac004552499ad01aa2419d52d3d83c8813775896699e6173f
BLAKE2b-256 checksum
How to use checksums
c4751a545ea084323ce89824d87ca88696e186f7632f13d8bb745326310d8e16
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.27-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL odclib-1.6.3.27-cp311-cp311-manylinux_2_28_aarch64.whl
Size 652.7 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
188b7a6a1d2ea0c8c7fe4f6b783ee963d459e6a2a0b3d47f34f3e4904cbbcd4b
BLAKE2b-256 checksum
How to use checksums
d77a69096a278739718eab710b5d85ac86527cb0fc5affddccc9f63d66f206ee
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.27-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL odclib-1.6.3.27-cp310-cp310-manylinux_2_28_x86_64.whl
Size 661.8 kB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3520391f18db8cb8198b40d2e21ef01aac43e4b0ddc3f96ed3f720918c40aeae
BLAKE2b-256 checksum
How to use checksums
d11f605017daad77d3d6a899a5e0493dc741eed0c58c0d9a47d5a9897ae4780b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.19

Release files / odclib-1.6.3.27-cp310-cp310-manylinux_2_28_aarch64.whl

Download URL odclib-1.6.3.27-cp310-cp310-manylinux_2_28_aarch64.whl
Size 652.7 kB
Tags CPython 3.10 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
f15ffc3e4aadb9f42b550ec7c13da5b616b744fa723c45777a6a842efe2427a3
BLAKE2b-256 checksum
How to use checksums
d76156e6b9b9f4477aa6239aaf45597a0275dc2f6f4976c9f7085fd7c5428487
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.19
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