solarspatialtools.synthirrad.cloudfield.get_timeseries_stats

solarspatialtools.synthirrad.cloudfield.get_timeseries_stats(kt_ts, clear_threshold=0.95, plot=False)

Get the properties of a time series of kt values.

Parameters

kt_tspandas.Series

The time series of kt values

clear_thresholdfloat

The threshold in kt for what is considered clear

plotbool

Whether to plot the wavelets

Returns

ktmeanfloat

The mean of the time series

kt_1_pctfloat

The 1st percentile of the time series

ktmaxfloat

The maximum of the time series

frac_clearfloat

The fraction of clear sky

vsfloat

The variability score

weightsnp.ndarray

The wavelet weights

scaleslist

The timescales of the wavelets