Skip to main content

Radar Data

This is a collection of radar data readers that are in the NetCDF format

These formats are currently supported

  • WDSS-II
  • CF-Radial 1.3 / CF-1.6
  • CF-Radial 1.4 / CF-1.6
  • CF-Radial 1.4 / CF-1.7
  • CF-Radial 2.0 (draft)
  • NEXRAD Level II

Install Using the Python Package-Management System

pip install radar-data

Example Usage

import radar

# Get the absolute path of the .nc file, reader automatically gets -V, -W, etc.
file = os.path.expanduser("~/Downloads/data/PX-20240529-150246-E4.0-Z.nc")
sweep = radar.read(file)

# It also works with providing the original .tar.xz or .txz archive
file = os.path.expanduser("~/Downloads/data/PX-20240529-150246-E4.0.txz")
sweep = radar.read(file)

# NEXRAD LDM data feed, simply supply any of the files, the reader reads sweep_index=0 by default
file = os.path.expanduser("~/Downloads/data/KTLX/861/KTLX-20250503-122438-861-1-S")
sweep = radar.read(file)

# The reader finds others in ~/Downloads/data/KTLX/861/ to get to sweep_index=1
file = os.path.expanduser("~/Downloads/data/KTLX/861/KTLX-20250503-122438-861-7-I")
sweep = radar.read(file, sweep_index=1)

# NEXRAD complete volume
file = os.path.expanduser("~/Downloads/data/KTLX/20250503/KTLX20250503_122438_V06")
sweep = radar.read(file, sweep_index=1)

DataShop

python src/radar/service/datashop.py -v -H 10.197.14.52 -p 50001 -c 4 -t /mnt/data/PX1000/2024/20241219/_original

Download files

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

Source Distribution

radar_data-1.1.tar.gz (26.6 kB view details)

Uploaded Source

File details

Details for the file radar_data-1.1.tar.gz.

File metadata

  • Download URL: radar_data-1.1.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for radar_data-1.1.tar.gz
Algorithm Hash digest
SHA256 818717164b362a1e63e4d91371f0c678f2276b7a4b7259f32239b52c85daf81c
MD5 8fd8d40bc63e57a698ee5444eb6ec80d
BLAKE2b-256 ec249cf816291b4dc254a2a3e8cc2dd06c9efc72c83ebdd11c9835e89a2d9c78

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