i_array_based_rule
Module for IArrayBasedRule interface
!!! interfaces IArrayBasedRule
IArrayBasedRule (IRule, ABC)
Rule applied to an array of values
Source code in rules/i_array_based_rule.py
class IArrayBasedRule(IRule, ABC):
"""Rule applied to an array of values"""
@abstractmethod
def execute(self, value_array: _xr.DataArray, logger: ILogger) -> _xr.DataArray:
"""Executes the rule based on the provided array"""
execute(self, value_array, logger)
Executes the rule based on the provided array
Source code in rules/i_array_based_rule.py
@abstractmethod
def execute(self, value_array: _xr.DataArray, logger: ILogger) -> _xr.DataArray:
"""Executes the rule based on the provided array"""