metobs_toolkit.station.Station.gross_value_check#

Station.gross_value_check(target_obstype: str = 'temp', lower_threshold: float = -15.0, upper_threshold: float = 39.0) None[source]#

Identify outliers based on thresholds.

Parameters:
  • target_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.

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.