wradlib.classify.ClassifyMethods.filter_window_distance#
- ClassifyMethods.filter_window_distance(**kwargs)[source]#
2d filter looking for large reflectivity gradients.
This function counts for each bin in
img
the percentage of surrounding bins in a window of half sizefsize
which are nottr1
smaller than the central bin. The window is defined using geometrical distance.- Parameters:
obj (
xarray.DataArray
|xarray.Dataset
) – 2d polar data to which the filter is to be applied- Keyword Arguments:
- Returns:
output (
xarray.DataArray
|xarray.Dataset
) – an array with the same shape asimg
, containing the filter’s results.
See also