sup3r.preprocessing.derivers.methods.ClearSkyRatio

sup3r.preprocessing.derivers.methods.ClearSkyRatio#

class ClearSkyRatio[source]#

Bases: DerivedFeature

Clear Sky Ratio feature class. Inputs here are typically found in H5 data like the NSRDB

Methods

compute(data)

Compute the clearsky ratio

Attributes

inputs

classmethod compute(data)[source]#

Compute the clearsky ratio

Returns:

cs_ratio (ndarray) – Clearsky ratio, e.g. the all-sky ghi / the clearsky ghi. NaN where nighttime.