def check_norain(precip_arr, precip_thr=None, norain_thr=0.0):
    """
    DEPRECATED use :py:mod:`pysteps.utils.check_norain.check_norain` in stead
    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: bool
      Returns whether the fraction of rainy pixels is below the norain_thr threshold.

    """
    warnings.warn(
        "pysteps.blending.utils.check_norain has been deprecated, use pysteps.utils.check_norain.check_norain instead"
    )
    return new_check_norain(precip_arr, precip_thr, norain_thr, None)
DEPRECATED use :py:mod:`pysteps.utils.check_norain.check_norain` in stead
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: bool
Returns whether the fraction of rainy pixels is below the norain_thr threshold.
pysteps/blending/utils.py