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.dev20250827-cp313-cp313-macosx_13_0_x86_64.whl (672.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

odclib-1.6.2.dev20250827-cp313-cp313-macosx_13_0_arm64.whl (675.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

odclib-1.6.2.dev20250827-cp312-cp312-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

odclib-1.6.2.dev20250827-cp312-cp312-macosx_13_0_x86_64.whl (672.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

odclib-1.6.2.dev20250827-cp312-cp312-macosx_13_0_arm64.whl (675.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

odclib-1.6.2.dev20250827-cp311-cp311-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

odclib-1.6.2.dev20250827-cp311-cp311-macosx_13_0_x86_64.whl (672.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

odclib-1.6.2.dev20250827-cp310-cp310-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.10macOS 13.0+ ARM64

odclib-1.6.2.dev20250827-cp39-cp39-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

odclib-1.6.2.dev20250827-cp39-cp39-macosx_13_0_x86_64.whl (672.7 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

odclib-1.6.2.dev20250827-cp39-cp39-macosx_13_0_arm64.whl (675.0 kB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

odclib-1.6.2.dev20250827-1-cp311-cp311-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ee9d41c9a77aa4eeb123a785bccc705760be36e0e0107691bea503fad284f9d9
MD5 da657f968c98f64e18c92b79b1abaa87
BLAKE2b-256 5ea8921ec82609d98c3cf393cda5e4ec8193dfd668e7370f299e88dcb87bf964

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b5c087bbed9299c452c35a310f6545624e1dd10425c00aaad5b350d05f50dbad
MD5 557e27ece0d1daafad9d22ce1502d7bc
BLAKE2b-256 46cca65403a6a636ce5588b8c5d417166ad98a6b4ad87bf789dbd88e83f995a9

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250827-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b41d4ab2c608db61a76abcb45617f3cc8d920e2403b4af3994c7d18cf5110050
MD5 5dcf38179a8628759ade026a5baaa8ea
BLAKE2b-256 03505eb2a8a81224031641ba8a9be5d8601de6bfb2a7af0ae19d6b08da403280

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 eaacc6dd2d4af39288c5419d967d8876e4af97667798e17f17d7a8b576e7ff94
MD5 74a8f11fcbb9906bf720d2713aff5208
BLAKE2b-256 b0162535afe6b6cbd39ecd8a52c9a6fa9b20707050136de3b794c831545ba05d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2b8f68897c5a43e529ff4fe7bca4d4af6feeef2a62fc258f545d6d6e815a9890
MD5 decc4b9db4cab8a40a7e980c87c428a3
BLAKE2b-256 8bbfa99e225cb0e345f73b7fd4afc6910e8f383e8b83e1c11f029f0ad1cf424a

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250827-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 19d43771ab7477a2aad5dc1e89805575d58a8f1a43a3d37c9df054c8bd054854
MD5 23c3056b0b7028d571e44c2cd6011a96
BLAKE2b-256 8e53e2a3833a5b6979ec680c95a71fc84faa78536d1c0d7e4a5e5060ceaaa7be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c63252b945c1e76ab0d390ee96636170bb5a1a66aa21992cb46573bb77ecfa58
MD5 f27b22e42249d8a4c8d2d0bcfebcb7d3
BLAKE2b-256 834174d1c8bc3112881f6576836f89f34d47966e2d26448cbc52b36d565aaef8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 024fcf8d20823e95d71830ce71d9af0607f3e9ec24da87d66efdf7db334513aa
MD5 e3898e8ec2ac7cd73205710c84f0b639
BLAKE2b-256 ca5a5c3894b3b1dd0928113f3af97cb0aba3c33860ded14d77012280757b47d0

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250827-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0920af0be8015d89d9e8b0e59c253e48f39928c310e128b1bdad505eaf6fb6b6
MD5 1c6047c2a29fa7c4d706972daeb8ce39
BLAKE2b-256 23367501b88e71f7ae15015e617a6a97c17c84830cce95fbc63819af1d37c961

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b4134f9367c077c209c1ba25ae27ce0a87c0500237780598364efae48828da1a
MD5 d311f649e40aad1c9e3611263befda68
BLAKE2b-256 a1adfb1a50cb3aad69457e9e4452c281e31c57f52bfb14d805f9f179f1e638f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 562cbbca303472c6db29195e1bc719096b85278813797b500a6955c018bddc4a
MD5 3344baee786033ef9402398431b0a082
BLAKE2b-256 df86cf8da53915acfdfb1ab294e00db4ed742127e65365d912fc2562b0ec58da

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250827-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aaee349dc935008a344c55fad0674402e5f56bf1094ca38ad86a1166185be335
MD5 5029930235de8d2e42fe8f0906b747cb
BLAKE2b-256 4a3d4236888dbf293b29b4ac9156ad747196cf7deb0eacb661459c81d6334e0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3d8a784fcf463d0b0970a3083494b2b098ab7f7d3007bda3e956961916fb4c28
MD5 8c30cb048253843f87ed3921e243faae
BLAKE2b-256 29a57674d9de9f34c950710ebdbe63e646f56c53fb9e25a04019b37f0a27a85d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0b69be4fcce4a4cf162a545725a0755236c123b239779525814d0fb8ff25a7e3
MD5 891d1f9b66c7c031de1dd4439391cdb3
BLAKE2b-256 091aa096f6ea2c164309cb650ae8b7c84172df17f82adba44862206e0b244a5a

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250827-1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250827-1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cb23ef81fb96cdd50b68def39a96726b3bc7f5833022f8c79f1779355f611069
MD5 58196760941bdbe5695f1aa60d9c7a8e
BLAKE2b-256 af5f188eef5c4bf911845d0129d57d435e22de0bfd5b3cf11be4d7a351f55b9c

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