sup3r.preprocessing.derivers.methods.ClearSkyRatioCC

sup3r.preprocessing.derivers.methods.ClearSkyRatioCC#

class ClearSkyRatioCC[source]#

Bases: DerivedFeature

Clear Sky Ratio feature class for computing from climate change netcdf data

Methods

compute(data)

Compute the daily average climate change clearsky ratio

Attributes

inputs

classmethod compute(data)[source]#

Compute the daily average climate change clearsky ratio

Parameters:

data (Union[Sup3rX, Sup3rDataset]) – xarray dataset used for this compuation, must include clearsky_ghi and rsds (rsds==ghi for cc datasets)

Returns:

cs_ratio (ndarray) – Clearsky ratio, e.g. the all-sky ghi / the clearsky ghi. This is assumed to be daily average data for climate change source data.