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

Uploaded CPython 3.12macOS 13.0+ ARM64

odclib-1.6.2.dev20250529-cp311-cp311-macosx_13_0_x86_64.whl (672.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

odclib-1.6.2.dev20250529-cp310-cp310-macosx_13_0_x86_64.whl (672.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

odclib-1.6.2.dev20250529-cp310-cp310-macosx_13_0_arm64.whl (674.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

odclib-1.6.2.dev20250529-cp39-cp39-macosx_13_0_arm64.whl (674.7 kB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250529-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4efbd94c6bfd775a64859b3017b3f445eb5be318aaf8b9869ae49c037367518c
MD5 12b1839b7e0ce010bb75e61946739508
BLAKE2b-256 cff7af4821ad0c4a6a48f09f3c62432979b80caf8eab9202074509201a12ae0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250529-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9e18952f33286bcad793c01abc4014d28af5afb4d3944baae680dbc7b05d73b5
MD5 a99eda5f2ae3310370764a67104ffc68
BLAKE2b-256 7f325488ac0e9bf1a79fb37f0978f357c24978d718a92bd16d00578db0a023c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250529-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0107bf0cfae6f990d7352c146e5e39811f272bdfd621dab9d24a042a227e9363
MD5 4950ee987db6189224ce3d19b7d2a786
BLAKE2b-256 0c05ad34b233704deed38639c325f178baf3895be5ab4c4a64ad74babc5dca11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250529-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 407855bc9a1bd2871e6060330f9505ba6d40f3111c50ffc1fb1c6af35c33dd1b
MD5 506db315470c0455bcbf225aab27a8f5
BLAKE2b-256 09b9c31cfc9114f13dcbbd1c8045d7a3fbd568542b2dc641470cbccba0dd927b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250529-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 394ca3cbfac47d2b0b74d23b3059d85ddef49b37a3559e1207d253afca07662e
MD5 4cedfb4089b836db2d880cbc091860fe
BLAKE2b-256 dd232aaa830d4534478cb290780c3e7391adf5ad7156f6d13d7a74616633672e

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