pvanalytics.quality.gaps.trim_incomplete#
- pvanalytics.quality.gaps.trim_incomplete(series, minimum_completeness=0.333333, days=10, freq=None)#
Trim the series based on the completeness score.
Combines
completeness_score()
andtrim()
.- Parameters
series (Series) – A DatetimeIndexed series.
minimum_completeness (float, default 0.333333) – The minimum completeness score for each day.
days (int, default 10) – The number of consecutive days with completeness greater than minumum_completeness for the ‘good’ data to start or end. See
start_stop_dates()
for more information.freq (str, default None) – The expected frequency of the series. See
completeness_score()
fore more information.
- Returns
A series of booleans with the same index as series with False up to the first complete day, True between the first and the last complete days, and False following the last complete day.
- Return type
Series
See also
Examples using pvanalytics.quality.gaps.trim_incomplete
#
PV Fleets QA Process: Temperature
PV Fleets QA Process: Irradiance