pyobs_weather.weather.evaluators.Valid

class Valid[source]

A Valid evaluator checks, whether the sensor’s value is valid, i.e. not None.

Creates a new Valid evaluator.

__call__(sensor)[source]

Evaluates this evaluator.

Parameters

sensor – Sensor to evaluate.

Returns

Result of evaluation.