radarx.io.imd.read_sweep#
- radarx.io.imd.read_sweep(file)[source]#
Read and process a single radar file from the Indian Meteorological Department (IMD).
This function reads radar data and returns it as a quasi-CF-Radial xarray.Dataset, with coordinates and variables properly renamed and calculated fields added as necessary.
- Parameters:
file (
str
orpathlib.Path
) – The file path to the radar data file.- Returns:
xarray.Dataset
– A processed dataset in quasi-CF-Radial format, with variables and coordinates appropriately renamed and additional fields calculated.
Examples
>>> import radarx as rx >>> ds = rx.io.read_sweep("path/to/radar/file")
See also
read_volume
Reads and processes radar volume data from multiple sweeps.