wradlib.vpr.out_of_range#
- wradlib.vpr.out_of_range(center, gridcoords, maxrange)[source]#
Masks the region outside the radar range
- Parameters:
center (
tuple
) – radar locationgridcoords (
numpy.ndarray
) – array of 3-D coordinates with shape (num voxels, 3)maxrange (
float
) – maximum range (same unit as gridcoords)
- Returns:
output (
numpy.ndarray
) – 1-D Boolean array of length len(gridcoords)