pvanalytics.quality.gaps.completeness_score#

pvanalytics.quality.gaps.completeness_score(series, keep_index=True)#

Calculate a data completeness score for each day.

The completeness score for a given day is the fraction of time in the day for which there is data (a value other than NaN). For example, a 24-hour time series with 30 minute timestamp spacing and 24 non-NaN values would have data for a total of 12 hours and therefore a completeness score of 0.5.

Parameters
  • series (Series) – A DatetimeIndexed series.

  • keep_index (boolean, default True) – Whether or not the returned series has the same index as series. If False the returned series will be indexed by day.

Returns

A series of floats giving the completeness score for each day (fraction of the day for which series has data).

Return type

Series

Examples using pvanalytics.quality.gaps.completeness_score#

Missing Data Periods

Missing Data Periods

PV Fleets QA Process: Temperature

PV Fleets QA Process: Temperature

PV Fleets QA Process: Irradiance

PV Fleets QA Process: Irradiance

PV Fleets QA Process: Power

PV Fleets QA Process: Power