wradlib.vpr.out_of_range

Contents

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 location

  • gridcoords (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)