pysteps.blending.utils.check_norain#
- pysteps.blending.utils.check_norain(precip_arr, precip_thr=None, norain_thr=0.0)#
- Parameters:
precip_arr (array-like) – Array containing the input precipitation field
precip_thr (float, optional) – Specifies the threshold value for minimum observable precipitation intensity. If None, the minimum value over the domain is taken.
norain_thr (float, optional) – Specifies the threshold value for the fraction of rainy pixels in precip_arr below which we consider there to be no rain. Standard set to 0.0
- Returns:
norain – Returns whether the fraction of rainy pixels is below the norain_thr threshold.
- Return type:
bool