captest.capdata.CapData.filter_irr

CapData.filter_irr(low, high, ref_val=None, col_name=None, inplace=True)

Filter on irradiance values.

Parameters:
  • low (float or int) – Minimum value as fraction (0.8) or absolute 200 (W/m^2).

  • high (float or int) – Max value as fraction (1.2) or absolute 800 (W/m^2).

  • ref_val (float or int or 'rep_irr') – Must provide arg when low and high are fractions. Pass 'rep_irr' to use the reporting irradiance from self.rc (set by calling rep_cond() first).

  • col_name (str, default None) – Column name of irradiance data to filter. By default uses the POA irradiance set in regression_cols attribute or average of the POA columns.

  • inplace (bool, default True) – Default true write back to data_filtered or return filtered dataframe.

Returns:

Filtered dataframe if inplace is False.

Return type:

DataFrame