Skip to main content

An Odim hdf5 file reader.

Project description

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.

Project details


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.0.tar.gz (14.1 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.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyodim-0.6.0.tar.gz
Algorithm Hash digest
SHA256 9bfe123b70ca9fd4fdcd305b77fc011056324c5932bdbc1ecdab7abb8cc09f02
MD5 4813a365773d72577108891a34e47226
BLAKE2b-256 005c7ccc56cac3a616a1f34c7fcea340fae4e64eceac1a7903a7b5372dc3dbdb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyodim-0.6.0-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.7

File hashes

Hashes for pyodim-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de8f7d1c017bc3bf6966253c280d1f449c16437cd399f9e2a59ab59a63aac355
MD5 68186b61caa9a835cb811b2fc54996e6
BLAKE2b-256 889b6199f6c65aa443101460acb12d10ce38f53eb2d61bfcfe675b8eb19ed3af

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