radarx

Xarray Based Radar Toolkit

https://github.com/syedhamidali/radarx

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 10 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.6%) to scientific vocabulary

Keywords

azimuth cappi plot ppi radar rhi
Last synced: 4 months ago · JSON representation ·

Repository

Xarray Based Radar Toolkit

Basic Info
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 2
  • Open Issues: 3
  • Releases: 16
Topics
azimuth cappi plot ppi radar rhi
Created over 1 year ago · Last pushed 8 months ago
Metadata Files
Readme Contributing License Citation Authors

README.md

Radarx

Radarx Logo

DOI Python Versions PyPI Version PyPI Downloads

Conda Version Conda Downloads

CI Build distribution RTD Version License pre-commit enabled

Black Ruff CodeQL CodeFactor codebeat badge codecov Codacy Badge

Radarx is a Python library built for radar data processing and visualization. The library integrates tightly with xradar and leverages xarray and DataTree structures to enable easy and efficient manipulation of radar sweeps and volume data.

Project Status: Beta

[!WARNING] This project is currently in high development mode. Features may change frequently, and some parts of the library may be incomplete or subject to change. Please proceed with caution.

Key Features

  • Xradar Integration: Uses xradar for reading radar data in different formats, providing a consistent interface for various radar types.
  • IMD Radar Data Support: Special support for reading and processing IMD radar data in NetCDF format.
  • Volume Scanning: Utilities to process radar sweeps and group them into complete volume scans.
  • Data Gridding: Provides tools for converting radar data to regular Cartesian grids, supporting complex radar geometries.
  • Xarray and DataTree Structured Data: Radar data is returned as xarray datasets, organized into DataTree structures for easy navigation and analysis.

Installation

You can install radarx using conda from the conda-forge channel (recommended):

bash conda install -c conda-forge radarx

You can also install radarx via pip from PyPI:

bash python -m pip install radarx

Alternatively, you can install it from source by cloning the repository and running:

bash git clone https://github.com/syedhamidali/radarx.git cd radarx python -m pip install .

Usage

Here's a simple example of how to use Radarx with xradar to load IMD radar data and process a volume scan:

```python import radarx as rx

List of radar files

files = [ 'radarfile1.nc', 'radarfile2.nc', 'radar_file3.nc' ]

Read volume data using Radarx, with xradar integration

volume = rx.io.read_volume(files)

Access a specific sweep or variable

dbz_data = volume['/volume_0']['DBZ'] ```

Radarx leverages xradar to handle radar file formats and integrates smoothly with xarray and DataTree for organizing and analyzing radar data.

Xradar Integration

Radarx makes use of the powerful xradar library for radar data ingestion and format handling. This ensures that the package is flexible and can handle a variety of radar data formats, including ODIM_H5, Sigmet, and others. For more advanced users, xradar functionality can be directly accessed to extend Radarx\'s capabilities.

Documentation

For full documentation, please visit the Radarx Documentation.

Contributing

Contributions are welcome! If you\'d like to contribute, please follow the steps below:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Write tests for your changes.
  4. Submit a pull request.

Please ensure that your code passes the pre-commit hooks and test suite before submitting your PR.

License

Radarx is licensed under the MIT License. See the LICENSE file for more details.

Authors

  • Syed Hamid Ali

Citation

Syed, H. A. (2025). Radarx: An Xarray-based Python package for radar data processing (v0.2). Zenodo. https://doi.org/10.5281/zenodo.14699312

python @software{syed_2025_14699312, author = {Syed, Hamid Ali}, title = {Radarx: An Xarray-based Python package for radar data processing }, month = jan, year = 2025, publisher = {Zenodo}, version = {v0.2}, doi = {10.5281/zenodo.14699312}, url = {https://doi.org/10.5281/zenodo.14699312}, swhid = {swh:1:dir:eb4e11846680cf6416be5940f36b363f74e1a3ec ;origin=https://doi.org/10.5281/zenodo.14699306;vi sit=swh:1:snp:f6755852f0e71678ed579651ec997ac4496f 3b30;anchor=swh:1:rel:ebd79cd3cf49a7e8a5e9b9576fb7 7f7c8bd0227e;path=syedhamidali-radarx-ec92870 }, }

Owner

  • Name: Hamid Ali Syed
  • Login: syedhamidali
  • Kind: user
  • Location: West Lafayette
  • Company: @purdue

Ph.D. Student at Deptt. of EAPS, Purdue University, West Lafayette.

Citation (CITATION.cff)

# YAML 1.2
# Metadata for citation of this software according to the CFF format (https://citation-file-format.github.io/)
cff-version: 1.0.3
message: If you use this software, please cite it using these metadata.
# FIXME title as repository name might not be the best name, please make human readable
title: 'Radarx: An Xarray-based Python package for radar data processing'
doi: 10.5281/zenodo.14699312
authors:
- given-names: Hamid Ali
  family-names: Syed
  affiliation: Purdue University
  orcid: https://orcid.org/0000-0002-7188-2544

version: 0.2.4
date-released: 2025-01-19
repository-code: https://github.com/syedhamidali/radarx
license: MIT

GitHub Events

Total
  • Create event: 18
  • Issues event: 8
  • Release event: 7
  • Watch event: 4
  • Delete event: 6
  • Issue comment event: 29
  • Push event: 81
  • Pull request event: 36
  • Fork event: 2
Last Year
  • Create event: 18
  • Issues event: 8
  • Release event: 7
  • Watch event: 4
  • Delete event: 6
  • Issue comment event: 29
  • Push event: 81
  • Pull request event: 36
  • Fork event: 2

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 5
  • Total pull requests: 35
  • Average time to close issues: 18 minutes
  • Average time to close pull requests: 3 days
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.09
  • Merged pull requests: 34
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 5
  • Pull requests: 35
  • Average time to close issues: 18 minutes
  • Average time to close pull requests: 3 days
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.09
  • Merged pull requests: 34
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • syedhamidali (11)
Pull Request Authors
  • syedhamidali (76)
  • dependabot[bot] (3)
Top Labels
Issue Labels
good first issue (3) enhancement (2) bug (1) help wanted (1)
Pull Request Labels
enhancement (6) documentation (3) dependencies (3) bug (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 29 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 12
  • Total maintainers: 1
pypi.org: radarx

Xarray based radar toolkit

  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 29 Last month
Rankings
Dependent packages count: 10.4%
Average: 34.4%
Dependent repos count: 58.4%
Maintainers (1)
Last synced: 4 months ago