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.dev20250725-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.dev20250725-cp313-cp313-macosx_13_0_arm64.whl (674.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

odclib-1.6.2.dev20250725-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.dev20250725-cp312-cp312-macosx_13_0_arm64.whl (674.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

odclib-1.6.2.dev20250725-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.dev20250725-cp311-cp311-macosx_13_0_arm64.whl (674.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

odclib-1.6.2.dev20250725-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.dev20250725-cp310-cp310-macosx_13_0_arm64.whl (674.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

odclib-1.6.2.dev20250725-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.dev20250725-cp39-cp39-macosx_13_0_arm64.whl (674.6 kB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250725-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5cbe700b7dca7f32cdf611a58251834546794f6d7b08af0b540cefe974fa0d16
MD5 0c1bda2ff947c4aed2b89e9a811c7b76
BLAKE2b-256 7b953b2aa3fc7922ebe902474d69b5e18902928e2412faeb33cf198bb1712bde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250725-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7b87a4a5a18380bf8213d1bcd880df6b245d5c60c3aa96861c8fbb959acdcd86
MD5 33d6d6ffc5895d143d61255272ab1206
BLAKE2b-256 f09f18385dcf1f002bfdc99baa03cf807db0a56a1be38bbb7aadff52e5ffecb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250725-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c732efb2987ffea11ae42b992d730148d7e7acd84a5475deef52120af7876e50
MD5 bf8be90cb3eb88ee58fff63156fbadac
BLAKE2b-256 41e7889f71c3ae2cf39ff2d0ee77712f86b390458f33ca5fbf501178b1fe7261

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250725-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7b05461c54bb4f8decb724ca2764ee06ee2f76ff0d4527f26bd5fd49f751e50a
MD5 8f8289c6b2ee931f66019f719b0ef837
BLAKE2b-256 a06ddb5526d9394b52d51382cde272f44f5df0da8a5e4f909edda8fcb823c70b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250725-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f0bd521c86e7e8a6741b28404fcf8fb5b0ca260fa8dbddf482d52690d8587fd7
MD5 8c425908e04d7edfd9ca75dc38f68937
BLAKE2b-256 01a6834348e8c8ff8154075cdfda6b102bf35732f2e954a5d7310d76d89b9d69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250725-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c9d15fa957f96a2f3c8faf6fb46a44aa910dfe14b22af36e2862dc93c49be270
MD5 5a96bbbbc004379340a3edc6c6540af2
BLAKE2b-256 16c10e30fc8aa8302cfe25e8cdb34e085bbfebd4cf60be02ba874fec9db2b398

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250725-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 03aa4b89963d57dfc0cb774acc1ba98129fed7fecdfc9d1a7a6c23ee68aab865
MD5 9ed8f067271d383d4b8038edd655374c
BLAKE2b-256 644adda1462997ef28c5af9866406ea06d2df6057fe4cd9fc2408363c7ac3f2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250725-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 53da65eedf60e33260e80d82ddc0f9cc37fe6369ea83c0d878402ee00690c898
MD5 f38c1bb35a24c20b9cba51073dc3826b
BLAKE2b-256 a26aa973dc44da8e493d43d406730711da91cbefe347f46777e8377d82efd24e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250725-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0b75a20f6ad3cb24c5909d4b84f2bdd06fd112402342e79647f546a72cb3575f
MD5 2641fcadba83b9a613f797f1f61316b2
BLAKE2b-256 52051104e736653ceaa6fd35af9221457b2162c216af186bc6471c0d41811cd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250725-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d3bec444fc131a412317a84ad5348e1f35293df533aac322418345f6ea087943
MD5 2954cf19ebf7f563fd122670dc0703a7
BLAKE2b-256 89150d77c986b0c84ecebb89eb42f6cccdbfe5a8da5896aab7ff10372c5364c2

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