Radarx IO#
IMD Reader#
This sub-module provides functionality to read and process single radar files from the Indian Meteorological Department (IMD), returning a quasi-CF-Radial xarray Dataset.
Example:
import radarx as rx
dtree = rx.io.read_sweep(filename)
dtree = rx.io.read_volume(filename)
Read and process a single radar file from the Indian Meteorological Department (IMD). |
|
Read and process multiple radar files to create a volume scan dataset. |
|
Convert a CfRadial1 Dataset to a CfRadial2 hierarchical structure using xarray's native DataTree. |
|
Convert multiple CfRadial1 volumes to a DataTree containing CfRadial2 structures. |
AWS Radar Data Utilities#
This module provides utilities to interact with AWS S3 buckets containing radar data. It supports listing available files in specific paths and downloading them locally.
Supported Buckets#
NEXRAD Level II Archive:
noaa-nexrad-level2
NEXRAD Level II Real-Time:
unidata-nexrad-level2-chunks
NEXRAD Level III Real-Time:
unidata-nexrad-level3
MRMS Data:
noaa-mrms-pds
Usage Examples#
List available files:
from radarx.io.aws_data import list_available_files files = list_available_files('noaa-nexrad-level2', '2016/10/06/KAMX/') print(files)
Download a file:
from radarx.io.aws_data import download_file file_path = download_file('noaa-nexrad-level2', '2016/10/06/KAMX/KAMX20161006_170414_V06', './downloads') print('File downloaded to', file_path)
This sub-module contains functions necessary to grid the radar data.
Create an S3 client. |
|
List files in an S3 bucket with the given prefix. |
|
Download a file from S3. |