wradlib.clutter.filter_gabella

wradlib.clutter.filter_gabella(img, wsize=5, thrsnorain=0.0, tr1=6.0, n_p=6, tr2=1.3, rm_nans=True, radial=False, cartesian=False)

Clutter identification filter developed by [Gabella et al., 2002].

This is a two-part identification algorithm using echo continuity and minimum echo area to distinguish between meteorological (rain) and non- meteorological echos (ground clutter etc.)

Parameters
  • img (numpy.ndarray)

  • wsize (int) – Size of the window surrounding the central pixel

  • thrsnorain (float)

  • tr1 (float)

  • n_p (int)

  • tr2 (float)

  • rm_nans (bool) – True replaces nans with Inf False takes nans into acount

  • radial (bool) – True to use radial information only in filter_gabella_a.

  • cartesian (bool) – True if cartesian data are used, polar assumed if False.

Returns

output (numpy.ndarray) – boolean array with pixels identified as clutter set to True.

Examples

See Clutter detection using the Gabella approach.