ctdcal.flagging.flag_common.quality_by_threshold

ctdcal.flagging.flag_common.quality_by_threshold(values, threshold=1.0)[source]

Flags values that meet or exceed a threshold.

Parameters:
  • values (int or float or array) – values to flag.

  • threshold (int or float or array) – flag threshold.

Return type:

bool