Skip to main content

Radish Python Bindings

High-performance weather radar data library with Rust core and Python bindings.

Installation

From source

# Install maturin
pip install maturin

# Build and install in development mode
cd python
maturin develop --release

# Or build a wheel
maturin build --release
pip install target/wheels/radish-*.whl

With xarray support

pip install radish[xarray]

Quick Start

Basic Usage

import radish

# Read a CfRadial1 file
volume = radish.read_cfradial1("cfrad.nc")

# Access metadata
print(f"Instrument: {volume.metadata.instrument_name}")
print(f"Sweeps: {volume.num_sweeps}")

# Access sweep data
sweep = volume.get_sweep(0)
print(f"Rays: {sweep.num_rays}, Gates: {sweep.num_gates}")
print(f"Moments: {sweep.moment_names()}")

# Access moment data
dbz = sweep.get_moment("DBZH")
data = dbz.data()  # Returns numpy array
print(f"Reflectivity shape: {data.shape}")

With xarray

from datatree import DataTree

# Open as DataTree
radar = DataTree.open_datatree("cfrad.nc", engine="radish")

# Access sweeps
sweep_0 = radar["sweep_0"].ds

# Work with xarray
sweep_0["DBZH"].plot()

Performance

Radish uses Rust for performance-critical operations:

  • 10-100x faster file parsing than pure Python
  • Memory-efficient data structures
  • Minimal Python overhead

Development

# Install development dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Format code
black radish/
ruff check radish/

# Build documentation
cd docs && make html

License

Licensed under either of:

at your option.

Metadata

Release files for radish-rs 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for radish-rs 0.4.0
File Size Uploaded Provenance Actions
radish_rs-0.4.0.tar.gz 790.8 kB With provenance Details for radish_rs-0.4.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for radish-rs 0.4.0
File Actions
radish_rs-0.4.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for radish_rs-0.4.0-cp313-cp313-manylinux_2_28_x86_64.whl
radish_rs-0.4.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for radish_rs-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
radish_rs-0.4.0-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details for radish_rs-0.4.0-cp313-cp313-macosx_10_12_x86_64.whl
radish_rs-0.4.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for radish_rs-0.4.0-cp312-cp312-manylinux_2_28_x86_64.whl
radish_rs-0.4.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for radish_rs-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
radish_rs-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details for radish_rs-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl

Total release size: 18.9 MB

Release files / radish_rs-0.4.0.tar.gz

Download URL radish_rs-0.4.0.tar.gz
Size 790.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e99d6ab466cce995ee1b3793997be6cfb7d5a5c165f465290debb8e864515d8b
BLAKE2b-256 checksum
How to use checksums
84bf393da554313a572ce3f806a1e7568e0bbee0fe8c0cd26d596463d699812a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

Release files / radish_rs-0.4.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL radish_rs-0.4.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 7.8 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f99ed94e4251b9d6b96c9b9311e35c278470547d88922d425f688fb21de28c76
BLAKE2b-256 checksum
How to use checksums
0326b189fdbb2ecaaa27153fe7d2bc893c9c54798e34196ba20380b6b378cfaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

Release files / radish_rs-0.4.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL radish_rs-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
Size 606.9 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
66b32cf819334d05001fae1d48adfe81f54fb8453d189e3daa71fd0eddb7610f
BLAKE2b-256 checksum
How to use checksums
fd5c42b3a6f13c2b2c67089496c7bd8d5d2fa7295c689847a761f20fc72c651e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

Release files / radish_rs-0.4.0-cp313-cp313-macosx_10_12_x86_64.whl

Download URL radish_rs-0.4.0-cp313-cp313-macosx_10_12_x86_64.whl
Size 646.0 kB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a084c755f971e1fb3f77fd2f829dfc4699eca52969491393988fa31616ee49f4
BLAKE2b-256 checksum
How to use checksums
aa34f0edbfdbc5635ac068f313e59ef6b4e3dcd7f4a75418ce664ba63f813000
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

Release files / radish_rs-0.4.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL radish_rs-0.4.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 7.8 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
00aa5a4bf68317c67616f5682880d8eb2ecd239d83c34ae3a563307bfbad0295
BLAKE2b-256 checksum
How to use checksums
b6c6117ee6df805a2e8d0bf2f9b6a77d3b4009dd62f21773c9c1b2fd18506b34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

Release files / radish_rs-0.4.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL radish_rs-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
Size 606.8 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
acb74e6913f23a3b4399f6c28c7d77abd4ce1fe749f4f8e4660bb0adafe4ec1b
BLAKE2b-256 checksum
How to use checksums
651c3d378f699e6b5e3ff6bab26a92269a50c713b84e090b81ae9040c5c440ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

Release files / radish_rs-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl

Download URL radish_rs-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl
Size 646.0 kB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
6c478c96c84c85658bb0f3c8d5bb606cf09bb44a8120d3cfe1967ed5657f3361
BLAKE2b-256 checksum
How to use checksums
6aecd9cba41a07e14a44a09ff0c4ab9ff44f15b6493b253a9a41cb5b6b78bf55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

Security for radish-rs 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for radish_rs-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page