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

Uploaded CPython 3.13macOS 13.0+ x86-64

odclib-1.6.2.dev20250521-cp313-cp313-macosx_13_0_arm64.whl (674.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

odclib-1.6.2.dev20250521-cp312-cp312-macosx_13_0_x86_64.whl (672.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

odclib-1.6.2.dev20250521-cp312-cp312-macosx_13_0_arm64.whl (674.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

odclib-1.6.2.dev20250521-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.dev20250521-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.dev20250521-cp311-cp311-macosx_13_0_arm64.whl (674.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ ARM64

odclib-1.6.2.dev20250521-cp39-cp39-macosx_13_0_x86_64.whl (672.6 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

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

Uploaded CPython 3.9macOS 13.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ ARM64

odclib-1.6.2.dev20250521-1-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.dev20250521-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250521-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3b16d5d6871174c3ff4ff8db5ed2647429bfac547b21d734ea045c96a87a33ab
MD5 089c32f67597cbd2313c11a3232c122b
BLAKE2b-256 f27cb919757add1f8c0692b465be719695655654ad1b74d235be1077b30eccc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250521-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 68d104a2759a146aa9629718541a7da7f4b4be24345796237f53ec8f356ca6d4
MD5 114303405df86e3dd1832b387f152ab7
BLAKE2b-256 8b8c05df00328057ec94b0c4fea947363b63517300a17aae884b10552757c8c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250521-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cf8182381b36c3be0ed848548885531a67e00763e382cc89503517befbffb534
MD5 f6ca7128e15309d452b7cd50e0f791b4
BLAKE2b-256 267e6d02e3694883eef187fa52a7790a1a16cb9e8e7715556f3310de6b9aa2ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250521-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 68e9e772e281fa2eff7bd992b30e08cff1b342e2e21b897cf79956875fec7a68
MD5 1664ddfefc239361923c36160f2637dd
BLAKE2b-256 c879cb4ec03c3232adefa33751c7f2e966b8e76273e88deb312c5bc6a11ef8ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250521-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d926a63f0c4e2a1f779f0dfd43b7922cd25a2e021b819784a20d24c0fc396793
MD5 d97ec9ae968155e394a32ebba3da07a2
BLAKE2b-256 3c2edce54ed239b06bf2be384731ce924524b389c90df237e8ae11c8efc5cc6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250521-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3db744766f4f3cadbfad0897e51efdfb6fae4d02b2b82038c8f85649bd070e80
MD5 525d97bbc9558775893f5406235bc5a9
BLAKE2b-256 4293cc0f9f02c72ff452bc3a927c8882dc4e581c7d5aa6afbee6c4b73ad8e6d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250521-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5283e29dd964b53763b3fa1dddbc13532b8863da9762148ce10a14e06f56c27f
MD5 5da77465bb5703f7d157586e8c409e6e
BLAKE2b-256 620dfe9fa8dfaade9810e03e57342cbe380d24523850df3ef94630c5531ee9c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250521-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e8e1240112ab01ed0eac7b629d1b3b2d07eac9dd4771de6abb4211a6284c5830
MD5 291c5474d77c55b6be56fa9999ffcc8c
BLAKE2b-256 22a266d33e037dc10f730dff4291a33409242bb6a45391815e68c187947aca58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250521-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3ae15219d4e19a1ee7598ab9e6316eb9735f0f9e990796810e81758929228195
MD5 c9dd7a6058931a16f8ba5fbda06b1bf9
BLAKE2b-256 a989c85813aec6e7c86cb3fe370311086502d8f88b0d0e73d5b3a75d77f6d650

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250521-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bfb36547fddd47f38d371c34647ff280fba478b649302d1a1b5ade6629ac2faa
MD5 6e02c8f57eb69c857b006c50143210f6
BLAKE2b-256 bf79ec2fd3cf67978b05ba69e5217a748d8a7c3250ac018a30b008b269d285dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250521-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b6bccb503e2716e5d2a531562320efa065ed977615585151fa8e77217e83b4fb
MD5 a1b8441a7bc8685266ab663aac0e4a29
BLAKE2b-256 b8e4e94c7fc97a7b0c4884445f90076695f4f47c6e2cd792dbb9dd713f7d692b

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250521-1-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250521-1-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 10dd81195b8c9927b57a2affd5e87ede0c3ce0139a2cfc5529e48db0206449b2
MD5 8d08f38298ecab4445fa3d29949dc2fa
BLAKE2b-256 76c0deb5d787737edd84cdafd4c0d7de3eba7b827f5993a920fef33f0e22f749

See more details on using hashes here.

File details

Details for the file odclib-1.6.2.dev20250521-1-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250521-1-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ba9636f232db074505faf258402cd29182ae38dd89798bc5b3d09efcc3450840
MD5 40dfdcd7eb3b5f883fbd4b42ea12cae1
BLAKE2b-256 061220281969b9adf88ea3ca3a670b0ffde5a4c3b9225ab9fa6bcca5d3bf227b

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