bifacial_radiance.load.deepcleanResult#

bifacial_radiance.load.deepcleanResult(resultsDict, sensorsy, numpanels, automatic=True)[source]#

Cleans results file read by read1Result. If automatic = False, user is asked to select material of the module (usually the one with the most results) and removes sky, ground, and other materials (side of module, for example). If you pass in results from a file with only _Front or _Back parameters, only the corresponding Frontresults or Backresults will be returned.

Parameters
  • sensorsy (int) – For the interpolation routine. Can be more than original sensorsy or same value.

  • numpanels (int) – Options are 1 or 2 panels for this function.

  • automatic (bool) – Default True. Automaticatlly detects module and ignores Ground, torque tube and sky values. If set to off, user gets queried about the right surfaces.

Returns

  • Frontresults (DataFrame) – Dataframe with only front-irradiance values for the module material selected, length is the number of sensors desired.

  • Backresults (DataFrame) – Dataframe with only rear-irradiance values for the module material selected, length is the number of sensors desired.