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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250908-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d64526a2329996116acdd2432f79c10ee11c535ccb4234813c35d7957c172cf6
MD5 27f2fd687cb620e3d881b09d87f07198
BLAKE2b-256 74d348e44ee624ec0c408f5073fbd32aa14bc365013d79b9898aeaf11972388f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250908-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7b0554fbd99567e3f49479b839faa7cea09a112f0455e991e05f2d608520a293
MD5 1729f074cbb21f0daa6c3592ee369160
BLAKE2b-256 f7ee5271f5e5211db51a4cc7d05db4e070438003a8cafc659bc0f29547ca0c87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250908-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 afac98d90ce047c396fb6a2b77ebb10873116286385bafce98bee1795ac2e53d
MD5 eed45ecd24229d8880c0da972bd5c847
BLAKE2b-256 297105c3285537a1c6046a64bf2e971d8fbf415ac591f8b77e808321fa6a5a74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250908-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 19251345347bee0ca30359882fd3afeac0b3ae9e3e6eef43f0a7b0adcf50209d
MD5 39078793e374833d592f8fe80cdd4049
BLAKE2b-256 67a3e38abd6f8cfc7a3070bfd03d7f7df40b5b5bc8950d83481171fa84368747

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250908-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4422ef7cdaadd95a512648a67e26b43b3f70527ddc768ff9c330f45491c0218a
MD5 043c571c5577d7de9f0fa3780f9ec427
BLAKE2b-256 092b9179191d590222e4f1bd3296f6a705b3ee113eaff8ae49da6834751e7610

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250908-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 46751f825d2cba48932fb4e6babf24bf1ed228084708f6e18e2f6bb72fc5c820
MD5 934ec00a95309816f8f53bda9ec35745
BLAKE2b-256 0bfca912f590ddd8bead1b2caea8c7d133b1cc2b260d60ae1c8281592558f83c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250908-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1631c5a40742a46b86f5159a6963cdb27299d55c928061f6fcfdc3a5c2ad0c44
MD5 518a3a3c252bb9be8f1f6930d4bf9234
BLAKE2b-256 874659523e06c777d7fe038d8002e8b0c18ae2148c2166dd7e52ec2e1ebd53b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250908-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0eef0a9c6c753b47576aff70754787078d6498b34d838e84fb6bf20f32664e10
MD5 c45b1fb60802d7664c9811d120b96cce
BLAKE2b-256 15162d29f19737671f2db9198b64a19eb57e13b1d54f131cc5cb46865018b73e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250908-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5653beae4ecb70338354f9e84e00f109a9b3a15e3c02f5dd677c3883c2e860d7
MD5 07bafc94f91a3bcb8ba18a3d4e87f844
BLAKE2b-256 eee3cc9b77930ff773fab11911379d9468f55645227d4a008ac3b5e564364091

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250908-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 372e3a462c0d067530e9edf6baf6bc3d59de2f3036f1028e983176968af054ac
MD5 57c50c936bdf45b33f5cd33065b05a29
BLAKE2b-256 2dc061426408764e66dbcb6bfd5a895ca0eb6834edd7544c48c85bc60b994d49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for odclib-1.6.2.dev20250908-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d620e60d10812ff42a47ef4cafea5fd0d5a267b14bb45cc60667bde8660b5ca6
MD5 c78f5003ccca4083104c38c399ce180f
BLAKE2b-256 60e60ef6f9f07b167e6f4d8b2d721f458aabb1540830da2d5da7746951c03118

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