Skip to main content

"odclib"

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

odclib-1.6.2.dev20250723-cp313-cp313-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

odclib-1.6.2.dev20250723-cp313-cp313-macosx_13_0_arm64.whl (674.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

odclib-1.6.2.dev20250723-cp312-cp312-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

odclib-1.6.2.dev20250723-cp312-cp312-macosx_13_0_arm64.whl (674.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

odclib-1.6.2.dev20250723-cp311-cp311-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

odclib-1.6.2.dev20250723-cp311-cp311-macosx_13_0_arm64.whl (674.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

odclib-1.6.2.dev20250723-cp310-cp310-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

odclib-1.6.2.dev20250723-cp310-cp310-macosx_13_0_arm64.whl (674.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

odclib-1.6.2.dev20250723-cp39-cp39-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

odclib-1.6.2.dev20250723-cp39-cp39-macosx_13_0_arm64.whl (674.5 kB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

Details for the file odclib-1.6.2.dev20250723-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250723-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5489eecb6c5731fb62fc81298dfcffd0b606d63774b3966c01020f02f67b3984
MD5 721400df708c1a97de83933b587e54c2
BLAKE2b-256 8cfe431022f73c62f892eaf42da5e7702348a16f1d92bc824e8c25540f957987

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250723-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250723-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d6d6aac4692e9f56507b2cc34c07166e3a5fcb8819a0fcbf9ac8afb0d9cc1ee9
MD5 8e5478b103980a3b25316d39386e9214
BLAKE2b-256 d28416a7d273dbb86b4d181ae1e65c59135b7a52aec8ca330981dacaea04fcb1

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250723-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250723-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 78ffd4d31874fdf1ef41491929f32c2f0a4583b28a0b1c9b8c2797e3e2edac2e
MD5 b299c014d67538ae3e15140218696d86
BLAKE2b-256 5295ee4748016ae3bb5691b5eeca6c179a29ac13d6153c6d6b33aca75900b584

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250723-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250723-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9a9b640bd4e557b692e22dc55aeba75a53a4ca51f9564a752b3187ac654d89ea
MD5 bcb7bb6387ed8f8a5ff9e9be36bfb6dd
BLAKE2b-256 7dfb9e066060e94299060453e44bd3d7817f7f8430050c3e8584741a4b97acaf

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250723-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250723-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 08b4cb1e04579329553a37f1d49405ea12c2d52361518681e1a1c5ba1ea21070
MD5 5fc8b5dae050e10c63d4c3c86107a59b
BLAKE2b-256 a91da3405af841460c8fa9f7f1f8b15d70494bc4e6142fe62d5c4b13314b988b

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250723-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250723-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8d25ca5f374785e3b9a5a9aea5e4a0b0302987cec34a3baa04ae79942fe1d6f2
MD5 f3995cfdda6ada6aab9f38c856c2118b
BLAKE2b-256 6b9e1f46b588f819781b6c74f79748900f4d2ce851a7bad15da8b388b134046e

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250723-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250723-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ec4318682ac12ee2529d5abe276705e8e852f6fb6261ac667b25b40ff687b870
MD5 1cbdf55c4f106aa337515db828274d43
BLAKE2b-256 2567fef4d3dcbc16d8f503625d4f14f44f0d64e24ee94c39b7e7ae5bb66aed7d

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250723-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250723-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c99700dde46912519a88bf606d49a5b39c69fee0fe5171d6ac19b49b480cb3b2
MD5 acece1747004d8af919da2d3bbc0eea2
BLAKE2b-256 8f95f80817c1312657480902fd9717911038aaf6bcab78af2158f5ed6e749058

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250723-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250723-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e72199313daf4f95a95618fff7a5c478e26318d9b91bcab83bf06b705fa26e57
MD5 00e1ba3d9339f1bb66fb69bdc37d644b
BLAKE2b-256 fe30653cb7fc44f94fdb269360f455ca50f3654bfc7cbe610941ea951d698969

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250723-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250723-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 44bbb416e6ead8409f9c4c476edfcbe1f1a15292ed48bac264c63d4e42d0ebf9
MD5 fb688e00cbb4875c4aa223c5cbd2aa64
BLAKE2b-256 cce235d29117daeeab1f1e4983a3d754650e9ed35df2485c8be233d125c02356

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page