wradlib.clutter.filter_cloudtype#
- wradlib.clutter.filter_cloudtype(img, cloud, thrs=0, snow=False, low=False, cirrus=False, smoothing=None, grid='polar', scale=None)[source]#
Identification of non-meteorological echoes based on cloud type.
- Parameters:
img (
numpy.ndarray
) – radar image to which the filter is to be appliedcloud (
numpy.ndarray
) – image with collocated cloud value from MSG SAFNWC PGE02 productthrs (
float
) – Threshold above which to identify cluttersnow (
bool
) – Switch to use PGE02 class “land/sea snow” for clutter identificationlow (
bool
) – Switch to use PGE02 class very low stratus, very low cumulus and low cumulus for clutter identificationcirrus (
bool
) – Switch to use PGE02 class “very thin cirrus” and “fractional clouds” for clutter identificationsmoothing (
float
) – Size [m] of the smoothing window used to take into account various localisation errors (e.g. advection, parallax)grid (
str
) – “polar” or “cartesian”scale (
float
ortuple
) – float or tuple of 2 floats range [m] scale for polar grid x[m] and y[m] scale for cartesian grid
- Returns:
output (
numpy.ndarray
) – a boolean array containing TRUE where clutter has been identified.