Skip to main content

pyodim

pyodim is a Python library for reading ODIM H5 radar files, transforming them into xarray datasets with geographic coordinates. This library is designed for users needing direct access to ODIM H5 files, providing tools to read and process radar data.

Table of Contents

Overview

The pyodim library provides essential functions for handling ODIM H5 radar data. It reads radar sweeps and converts them into xarray datasets, handling various metadata and radar coordinates transformations. The main function, read_odim, enables easy access to radar data in a format compatible with Python's data analysis ecosystem.

Installation

pyodim is available on PyPI:

pip install pyodim

It requires the following packages: h5py pyproj pandas numpy xarray dask.

Usage

The main entry point for pyodim is the read_odim function, which reads a sweep from an ODIM H5 file and outputs an xarray dataset.

Example

from pyodim import read_odim

# Read an ODIM H5 file
dataset = read_odim("radar_file.h5", nslice=0)
print(dataset)

read_odim takes the following parameters:

  • odim_file (str): Path to the ODIM H5 file.
  • nslice (int, optional): Sweep number to read (default is 0).
  • include_fields (List, optional): Fields to read.
  • exclude_fields (List, optional): Fields to exclude.
  • check_NI (bool, optional): Check Nyquist parameter consistency (default is False).
  • read_write (bool, optional): Open in read-write mode if True.

Feel free to contribute to pyodim by submitting issues or pull requests.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyodim-0.6.1.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyodim-0.6.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file pyodim-0.6.1.tar.gz.

File metadata

  • Download URL: pyodim-0.6.1.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyodim-0.6.1.tar.gz
Algorithm Hash digest
SHA256 acd21d5a509d85c57056d6b9558a2338ca1be1bfb7af861ce45af82059ee3c98
MD5 5293fb8f45aca81ccf9de7ed72021b38
BLAKE2b-256 ca7ba17f6b07495bb4d8e020e04e1999aa90604e2cc33221cdaccae63f11cdb2

See more details on using hashes here.

File details

Details for the file pyodim-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: pyodim-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyodim-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a3dee426c80cbd8cead368e8b9004fc0de32d205db3d5ab06463c1bc1ee85ce
MD5 6bb8f263794ab6d521906c9efb281a5c
BLAKE2b-256 b7bbba29dfb027ab0f6855a70085e8797c46db8fe22847f12496f8c5e35c62a4

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.2

2 files

This release

0.6.1 This release

2 files

0.6.0

2 files

0.5.9

2 files

0.5.8

2 files

0.5.7

2 files

0.5.6

2 files

0.5.5

2 files

0.5.4

2 files

0.5.0

2 files

0.4

1 file

Supported by

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