pvanalytics.quality.weather.module_temperature_check¶
-
pvanalytics.quality.weather.
module_temperature_check
(module_temperature, irradiance, correlation_min=0.5)¶ Test whether the module temperature is correlated with irradiance.
- Parameters
module_temperature (Series) – Time series of module temperature.
irradiance (Series) – Time series of irradiance with the same index as module_temperature. This should be of relatively high quality (outliers and other problems removed).
correlation_min (float, default 0.5) – Minimum correlation between module_temperature and irradiance for the module temperature sensor to ‘pass’
- Returns
True if the correlation between module_temperature and irradiance exceeds correlation_min.
- Return type
bool