pyart.map.grid_rhi_sweeps#
- pyart.map.grid_rhi_sweeps(radar, target_sweeps=None, grid_size=801, grid_limits='auto', max_z=12000.0, az_rounding_frac=0.25, **kwargs)[source]#
Separately grid RHI sweeps to a Y-Z plane considering only cross-sectional distances in grid RoI and weighting function. Gridding is performed using the grid_from_radars method, which receives any additional input parameters. Note that h_factor and dist_factor should not be included in kwargs (required for valid gridding results)
- Parameters:
radar (Radar) – Radar volume containing PPI sweeps.
target_sweeps (int or list) – sweeps to grid. Using all sweeps in radar if None.
grid_size (int or 2-tuple) – grid dimension size. Using sizes for the Y-Z plane if tuple. This input parameter is ignored if grid_shape is given explicitly via kwargs.
max_z (float) – maximum height in grid (only used if grid_size is ‘auto’).
grid_limits (3-tuple with 2-tuple elements or ‘auto’) – if ‘auto’ using the maximum horizontal range and limiting vertically up to 12 km.
az_rounding_frac (float) – A fraction for rounding the azimuth elements.
- Returns:
radar_ds (xarray.Dataset) – Radar data gridded to the Y-Z plane with a third dimension representing the different sweep azimuths.