wradlib.classify.ClassifyMethods.classify#
- ClassifyMethods.classify(threshold=0.0)[source]#
Calculate probability of hmc-class for every data bin.
- Parameters
data (
numpy.ndarray
) – Array which is of size (hmc-class, data.shape), containing the weighted hmc-membership probability values.- Keyword Arguments
threshold (
float
) – Threshold value where probability is considered no precip, defaults to 0- Returns
out (
xarray.DataArray
) – DataArray containing probability scores. No precip is added on the top.