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

Uploaded CPython 3.12macOS 13.0+ ARM64

odclib-1.6.2.dev20250909-cp311-cp311-macosx_13_0_arm64.whl (675.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

odclib-1.6.2.dev20250909-cp310-cp310-macosx_13_0_x86_64.whl (672.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

odclib-1.6.2.dev20250909-cp310-cp310-macosx_13_0_arm64.whl (675.0 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250909-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f74cbda406f831f4b1a6a51e500c0fd3fefbc0d804f07488990013bc7e4fa363
MD5 05acb114faece35c13d936e967dad484
BLAKE2b-256 d31dbdb0ab8c6621962143d3c9a069c2289ffa8ee8d51b3d264100d89a8e4a4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250909-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 488eed2f40312e9105adea0ba7a335e63a548739070a222a78cf9b98b3941a39
MD5 9fefa12f055f6385080b8ce9484eca02
BLAKE2b-256 939712bc755028a476921073e166e040016ba5d5fd976d6422397cb45366b3d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250909-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 29c2f98c88722a108e1d287fd1a32150acb6b04a2856e6f7fe85527d8a28d4fe
MD5 7a033481e483967080862aed29d43b47
BLAKE2b-256 6ba78715677bc2a7c3240b8b2ab42948b5d2735c0d0ba6994e3909c4686aa0f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250909-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2a63686e0c189b7568704498cee51eeac89175f0933cb080c377e8fdf61b243b
MD5 8819d838b829651182890d3944098271
BLAKE2b-256 c579ae6b87d2d6698de441ac25c35fd4f6c98816818cfb92f7ce79f81ef0cd37

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