check_min
Classes#
CheckMin #
Bases: ThresholdChecker
, ABC
Checks for values less than a specified threshold.
The value of the threshold is specified by an attribute on each data variable, and the attribute to search for is specified as a property of this base class.
If the specified attribute does not exist on the variable being checked then no failures will be reported.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
attribute_name |
str
|
The name of the attribute containing the minimum threshold. If the attribute ends in '_range' then it is assumed to be a list, and the first value from the list will be used as the minimum threshold. |
required |
allow_equal |
bool
|
True if values equal to the threshold should pass the check, False otherwise. |
required |