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

Uploaded CPython 3.12macOS 13.0+ ARM64

odclib-1.6.2.dev20250617-cp311-cp311-macosx_13_0_arm64.whl (674.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ ARM64

odclib-1.6.2.dev20250617-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.dev20250617-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.dev20250617-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250617-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 aeb4c2660c6f027061c3191d809ba48a19e49748f13633c24e7bc6b55fef8f66
MD5 907bc09ffb345f47c05807127c71e215
BLAKE2b-256 fb76e4b0dca6bf79c796ee1edc79fe9236b3312006bf773b12fb89a8ed6703b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250617-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bebdb7d0ab71b6ace0878dddcf7198e37de502b192d5265dd437ea3777e02bad
MD5 cfa6b9175df80539194d5b867633c843
BLAKE2b-256 e8ecd49be2c39c8538b43eb0754321a3cd08a71789855206fa3a4349ec099171

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250617-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f32365ef9766562a764e3371d617264a342c46fd529a15d00581e5264dd5f3c2
MD5 1a0f8b450d23166630a2cd1f96747fa8
BLAKE2b-256 d0c3ae57999f52daf2aa6671a6fea9246405d23c9a5635b886dfdb747f38eb98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250617-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8db4c08bda5790cb640b61a09ff15a1816890b80b2ade27d69de4eb964b2aec5
MD5 babbcffb9b1d1b08a70f8d4930808fad
BLAKE2b-256 85f09db3d4021e01202c3a22b0559dfc0aa293bb79729506e6a98c86336cac95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250617-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9f7a3817fa17c0482aa429173b379981c0752d89a9eaad9235be86984d4f5d34
MD5 f2849813bcdb1572ce6eb88a4ae98cc0
BLAKE2b-256 610e276cfd2e14a7dc209fb2c8254ee33ced3cf900f96fc10d8b9390bbcbc10e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250617-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4ef490665eb60716d107f14d505308141bd714048034d4ea43f1a52a2e9223c5
MD5 050d2f189f140b4d4aa2a4cadcb4ae5f
BLAKE2b-256 69a1b2ca04a4aea052f35b07630f21de4fd4d922bfa3b2ce70c972f5bc590a02

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