solarforecastarbiter.validation.tasks.apply_daily_validation

solarforecastarbiter.validation.tasks.apply_daily_validation(observation, observation_values)[source]

Applies the appropriate daily validation functions to the observation_values. Only the USER_FLAGGED flag is propagated if the series has been previously validated.

Parameters:
Returns:

pandas.DataFrame – With the same index as the input and ‘quality_flag’ updated appropriately

Raises:

IndexError – If there are not enough valid points to perform daily validation