def METHOD_NAME(self, snow_fraction_data: Cube) -> ndarray:
    """Calculates the sleet_phase data"""
    return np.where(
        (self.lower_threshold < snow_fraction_data)
        & (snow_fraction_data < self.upper_threshold),
        1,
        0,
    )