Skip to main content

"odc"

Project description

odc

Build Status Documentation Status Licence

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

odclib-1.6.0-cp313-cp313-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.28+ x86-64

odclib-1.6.0-cp313-cp313-macosx_13_0_x86_64.whl (670.5 kB view details)

Uploaded CPython 3.13 macOS 13.0+ x86-64

odclib-1.6.0-cp313-cp313-macosx_13_0_arm64.whl (673.1 kB view details)

Uploaded CPython 3.13 macOS 13.0+ ARM64

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

Uploaded CPython 3.12 manylinux: glibc 2.28+ x86-64

odclib-1.6.0-cp312-cp312-macosx_13_0_x86_64.whl (670.5 kB view details)

Uploaded CPython 3.12 macOS 13.0+ x86-64

odclib-1.6.0-cp312-cp312-macosx_13_0_arm64.whl (673.1 kB view details)

Uploaded CPython 3.12 macOS 13.0+ ARM64

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

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

odclib-1.6.0-cp311-cp311-macosx_13_0_x86_64.whl (670.5 kB view details)

Uploaded CPython 3.11 macOS 13.0+ x86-64

odclib-1.6.0-cp311-cp311-macosx_13_0_arm64.whl (673.1 kB view details)

Uploaded CPython 3.11 macOS 13.0+ ARM64

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

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

odclib-1.6.0-cp310-cp310-macosx_13_0_x86_64.whl (670.5 kB view details)

Uploaded CPython 3.10 macOS 13.0+ x86-64

odclib-1.6.0-cp310-cp310-macosx_13_0_arm64.whl (673.1 kB view details)

Uploaded CPython 3.10 macOS 13.0+ ARM64

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

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

odclib-1.6.0-cp39-cp39-macosx_13_0_x86_64.whl (670.5 kB view details)

Uploaded CPython 3.9 macOS 13.0+ x86-64

odclib-1.6.0-cp39-cp39-macosx_13_0_arm64.whl (673.1 kB view details)

Uploaded CPython 3.9 macOS 13.0+ ARM64

File details

Details for the file odclib-1.6.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 25a5f34fbc333c97ad95ea58492688a9080d0559bc32aa9c054d7290c6576066
MD5 ec14ff24136b88634037992a5197b3d5
BLAKE2b-256 c4a140de63accbce8cab037f0d10d2d23af0b5e8df8859440b2254a89224c33b

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3d6c7fcf2503ef411c5959a7729d2e13b83966a4fcad7b98a51518764d85482b
MD5 638a8137c2dcba92f5bf2a292fea458e
BLAKE2b-256 7004138927c0153237c4a1bf5690585ccc43a0be179f71ea3190bc9cb84df3f8

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7f6a2660a79853d32d6495a15595532c73aa13ed96a9fbc253a3689a3ad98942
MD5 fdd618e62b9a3b42619a56a7c5e025c3
BLAKE2b-256 b689fec85f4325160a20931acb6197a6591fccfb739d7daeab0c03d1c4632f14

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e42b8932d18607953a0a107e6a9a72b5bb502038cc65c114f4f74de9b4ca1a8e
MD5 26a5df7a23420ae45274ff5ccf8eef78
BLAKE2b-256 fdb3cab76b744c17561dc60896c4e132bf1e59a0563f1476e1c77ae66a9b30ea

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3f3183e00a408ddb5b8f95e2dbdcd6e67f3b8236095aca543513ed40a7328c68
MD5 9725507e70ef56eb5d8d8accf8499a1e
BLAKE2b-256 a6de73da8b01893e909d5ecaafac032075538805bae341df6d1be85decace0f0

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3f6aabab0847b55dd95970f4bf9ade3c9e752e38f87ff51c35bbb5201a2005ae
MD5 43524c2b916a509b5492c03602c08966
BLAKE2b-256 da03c10d15c9da7cd32d401c8991046bc4f9d4cfb705f66fae6b07ce4ace5b20

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bd5a16d2c3f3f188b7859ac59aa385fd2145f5950eec2d90e1edf5cf4dbe2717
MD5 ad9e40fb11fc4d1daabecd9cf5734552
BLAKE2b-256 fc06c6d8a8702c2dc682de4959bd7025a88631c60d616dbac41387d2a7edbcee

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9fdb2c15d5f0250289124485397d2204a1b945b8a6cc38d746931bb25e50ca54
MD5 1d47a8014b6cf11a06be0620b4c97168
BLAKE2b-256 6d8736d575cc16f37bf65f0148c2b5fbe89d3da2440e76ff5d3b346b44a8c6bc

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0b207ffe9bf81601c280c3e1a78a33715542b5d8d6e144a6453e37c06605b4d1
MD5 a59aadfa0f607e71a86027f95911bf2f
BLAKE2b-256 16355b228461f2a743931ed5f18ddbf6b127833b6218a7011097af21791d5b4a

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2c7d16e4ae204cf0a14b67bb0c900e401d3c53de621061d09333af00a469ae13
MD5 4e9146a4d7c269820f632c18b80265eb
BLAKE2b-256 cb3efe94de2b2322369147148bbfb77750ff0bdda9bff4dd68d931c3f528ce29

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9a3e5a2f20ae51e5c4442137a1c3bc1b618f74a1de3829e90a5e8dcb9dd30b29
MD5 4352cdd184203b3a4bd4225fe4bae1c2
BLAKE2b-256 62ca26c17b6ff23c5c48e3d3cdb495aa252c4be1501770f7b51b6eabf9ecafff

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c0a369b35c7b49ec21144b4a090f147da1882fba580513ba257f8f058d9b4d6b
MD5 90a45ebd24d41d0a337197822a0dee61
BLAKE2b-256 3efc750b36b6ee128da2bbc63e8ce316ac11ef557e4c8b0fef891fc41ea39208

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 da47003fe41ee67a116bfa5a4774e88a280c4734615e653b135c3d1f663e98cc
MD5 940cd0c1c8b29875793fb446e5b2f233
BLAKE2b-256 87a1677f579f234ea802288ab68f7aab61039c928c270916140c7a04c9ad4354

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 98a1a2264e4061598a65f7c6aa7bf3e6094c4a07a175654ab81080fea62f641e
MD5 de56260c37fa71c56de6a2d7c25d6ddd
BLAKE2b-256 a7ec0311f690280a860da272e838ff8bd32763d21f824e9243129c9965b8ecda

See more details on using hashes here.

File details

Details for the file odclib-1.6.0-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.0-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2c39ba87856fdcf3c0f48892c0fbacc8827cf18403c91d20ac85a297b471c81c
MD5 46113c3c26a3f7e8345b278f8ea5ed98
BLAKE2b-256 9d71dfcf066674ae4a2183de8332dc999ab19405337c478fe8d667f13ed5be85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page