Open
Description
And maybe shouldn't be called QCFilterTransform
Args are currently limited to a string of comma-separated var:lower:upper specs. Would be much more powerful if it took a dict such that you could specify:
kwargs:
fields:
RTMP:
higher_than:
value: -40
message: 'Temps too low: {RTMP}'
lower_than:
value: 40
message: 'Temps too high: {RTMP}'
does_not_contain:
value 'NaN'
message: 'Received NaN for RTMP'
max_times: 5
Could be called TestValueTransform
(?) and could have tests like
- lower_than
- higher_than
- lower_than_or_equal
- higher_than_or_equal
- contains (with a 'negate' arg?, or the following)
- does_not_contain
- matches_regex
and...?