rdtools.filtering.clearsky_filter

rdtools.filtering.clearsky_filter(poa_global_measured, poa_global_clearsky, model='pvlib', **kwargs)

Wrapper function for running either the CSI or pvlib clearsky filter.

Parameters:
  • poa_global_measured (pandas.Series) -- Plane of array irradiance based on measurments

  • poa_global_clearsky (pandas.Series) -- Plane of array irradiance based on a clear sky model

  • model (str, default 'pvlib') -- Clearsky filter model to be applied. Can be 'pvlib' or 'csi'.

  • kwargs -- Additional clearsky filter args, specific to the filter being used. Keyword must be passed with value.

Returns:

Boolean Series of whether or not the given time is clear based on the selected filter.

Return type:

pandas.Series

See also

csi_filter

Filtering based on clear-sky index (csi).

pvlib_clearsky_filter

Filtering based on pvlib's clearsky model.