Screen for Erroneous Values Based on Rate of
Change
screenWithRateOfChange(floating-point
minRejectLimit,
floating-point
minQuestionLimit,
floating-point
maxQuestionLimit,
floating-point
maxRejectLimit)
Flag values in time series whose rate of change from the last valid value exceed minimum/maximum limits values as questionable or rejected.
Values in the time series are screened for quality. Values whose rate of change from the last valid value are below minRejectLimit or above maxRejectLimit are marked with a rejected quality flag. Other whose rate of change from the last valid value are values below minQuestionLimit or above maxQuestionLimit are marked with a questioned quality flag. Other values are marked with an okay quality flag unless they are already marked as rejected or questioned.
Rates are computed in units per hour.
Parameters:
minRejectLimit - Values whose rate of change from the last valid value are below this will be marked as rejected.
minQuestionLimit - Values whose rate of change from the last valid value are below this, but not below
minRejectLimit - will be marked as questioned.
maxQuestionLimit - Values whose rate of change from the last valid value are above this, but not above maxRejectLimit will be marked as questioned.
maxRejectLimit - Values whose rate of change from the last valid value are above this will be marked as rejected.
Example:
newDataSet =
dataset.screenWithRateOfChange(
floating-point minRejectLimit,
floating-point minQuestionLimit,
floating-point maxQuestionLimit,
floating-point maxRejectLimit)
Returns: A copy of the time series with values with the quality set as described.