Skip to content

likely bug in count_occurrences

 def __init__(self, threshold, condition):
        self.threshold = threshold
        self.condition = NUMPY_OPERATORS[condition]
        self.lazy_condition = DASK_OPERATORS[condition]
        self.condition = condition    # <---- should be removed
        self.standard_name = None
        self.units = Unit('days')

Link to code line here