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.dev20250627-cp313-cp313-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

odclib-1.6.2.dev20250627-cp313-cp313-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

odclib-1.6.2.dev20250627-cp313-cp313-macosx_13_0_arm64.whl (674.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

odclib-1.6.2.dev20250627-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.dev20250627-cp312-cp312-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

odclib-1.6.2.dev20250627-cp312-cp312-macosx_13_0_arm64.whl (674.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

odclib-1.6.2.dev20250627-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.dev20250627-cp311-cp311-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

odclib-1.6.2.dev20250627-cp311-cp311-macosx_13_0_arm64.whl (674.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

odclib-1.6.2.dev20250627-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.dev20250627-cp310-cp310-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

odclib-1.6.2.dev20250627-cp310-cp310-macosx_13_0_arm64.whl (674.5 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

odclib-1.6.2.dev20250627-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.dev20250627-cp39-cp39-macosx_13_0_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

odclib-1.6.2.dev20250627-cp39-cp39-macosx_13_0_arm64.whl (674.5 kB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

Details for the file odclib-1.6.2.dev20250627-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0c06e3efdfe532195040cf6dd81d7be599e8e1bb10b7ab43854ad04a2c5006b2
MD5 a52a9dee90a0a4c595a5b9c7efbebd64
BLAKE2b-256 e3b4988c4edcfe383b5d2f4827e507af9ff9dba595702ded8388c368b639c3f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0cf423495147c91fbd56e0c17ccf818a5c41e7676b40f6735fecb4d2dabecf52
MD5 b94cc0619ee1cc7797e8e030d583b3dc
BLAKE2b-256 d57a044dbef355f9759e8813e936e22ff92df5590a7bacbdd21ee8c337212551

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d1bc7c75092c002e3de9199eb3f76ac4e74f9272d36bedc970b62cc58000cdfb
MD5 b15d45d8119c8a8475faae9da99b193c
BLAKE2b-256 481430c52c6bc50b82d81048e71c16aed8693aafe54d21a9a8aca76a1a05fe4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 79c23501a4a5da2c54ddb3c2533f273a7bead53bdfab3c0ab92ed5ffd8195662
MD5 cba5fe997839f83c3ed7420cb9bbfa04
BLAKE2b-256 6a0ba5b1cfe96863855877b6ffa0b7cfb61dd031ca1c76062ea64e8b40431d3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cc223fd931d27456a0a52106498deac894c0c5344fe8a1327a212c8f8f45b74c
MD5 be4687d28b5b7d6c922021f16fe7748d
BLAKE2b-256 f2723a382083447cd974e99fa72fcc2b8a2080dddfb3b838d0a73d48cb98a203

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6e96f94dd39e9997fec4977a35bcd3b15dbc726bdee31429db717195792e0039
MD5 257b0ea33717458764faeae92199041f
BLAKE2b-256 02d0d78adb9bc494b061721acf253ea1178428ac8b0331ba973b4f55071ab11b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ac39d6b667cae4c35a4e4cf0fe338a0d3e0d6e88d5a8a5044c1ad7ae458f1596
MD5 83012e08d03ff29d711c56d2c95ce3b3
BLAKE2b-256 6653af19824ce3769c4a1c4da5f6ea4aff4616e768709960147062ab685cac6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f5c44b3e77d740f668eac2b40fcc98a0a33ff3f3515b910e20dddd4c66ac6ec4
MD5 39213724e9230622bf451e16546ef90f
BLAKE2b-256 de5510eb14778049cfc8b27abde4033f17f46c655ca104e49856958bafdfe38d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 373fa5d8c3d238c783fddf218a4a35f90bcacf7bce10909605294cac90c1b15f
MD5 f6fc92ec837f1dd8cab445fe817ce47c
BLAKE2b-256 b716b74473e5b00d7001597e4b00db755ece6532c85fcb5ce033468ecfb3e3b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7c953173dda6612a946dbe130f5f7fb70b571d4997b3059cf1be2569c221ddbf
MD5 39c44350564368755b01c57ff99bb374
BLAKE2b-256 c9e43e9721733daed8de2e75a6095204cab49ce6cc20294cbbf6ec1461209a18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 201452ab5b954d21db16cb84353898be7c7f7d0676e3fe1da94f25bc9a872a1d
MD5 3eb2bee4b81b43c3e7c6418c0d30fa00
BLAKE2b-256 e8572753cc0c265692d21164518c8963b8c3c66b8a10e41149f83f997500e243

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bfaaf47d9af8e032da3e72509905305e9de8685640cc957371c1c45fb823d4b4
MD5 7ab6b6c42229f6ec5c16ff03db12cf32
BLAKE2b-256 a4f51273b98a3d22c46563c14539139d144154be093550dd4a4bc49f2247e21e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1a3914fb22e5cb4481fe37d432eb281662b3a6cdc1ab01ea341865b38b3ecd1c
MD5 4acc18da187d66a01fce9a325545c5ea
BLAKE2b-256 168a1721f3df69cb8edff940174e2562f9d4c9d8539d16e4cb58dc2ba1fb9371

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6472883f74b14bd5dca42c4c7ccff150bf1ab9d2ba619f1fec2531853b8d6e0b
MD5 a4f17ce2c76ac478841e6d95087daaef
BLAKE2b-256 757b128e865891c0f97bb440743ad063f3e2ff255cffaa4666d3dc5d243cf95f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250627-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6b62979d33f63fd404bf41db43b7363ada02ab667116728735e0a027d938a843
MD5 6cad04f476d243869abd3085478a74ec
BLAKE2b-256 a95790080c34632b80795abb8a1d38e993ea2dd58876b096d8dc9ea029594741

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