metobs_toolkit.station.Station.gross_value_check#
- Station.gross_value_check(obstype: str = 'temp', lower_threshold: float = -15.0, upper_threshold: float = 39.0, whiteset: WhiteSet = WhiteSet(empty)) None[source]#
Identify outliers based on thresholds.
- Parameters:
obstype (str, optional) – The target observation to check. By default “temp”
lower_threshold (float, optional) – Thresholds to flag records below as outliers. The default is -15.0.
upper_threshold (float, optional) – Thresholds to flag records above as outliers. The default is 39.0.
whiteset (WhiteSet, optional) – A WhiteSet instance containing timestamps that should be excluded from outlier detection. Records matching the whiteset criteria will not be flagged as outliers. The default is an empty WhiteSet().
- Return type:
None
Note
This method modifies the outliers in place and does not return anything. You can use the outliersdf property to view all flagged outliers.