clear_pts: Clear sky detection

Description Usage Arguments Details Value References

Description

Determine clear points using a rolling window and five clear sky criterion.

Usage

1
clear_pts(x, cs, thresholds, window_len)

Arguments

x

Numeric vector of measured irradiance values.

cs

Numeric vector of predicted irradiance from a clear sky model.

thresholds

List of vectors, each vector containing the threshold values for their respective clear sky criteria. Each vector must have length greater than or equal to two, with the minimum and maximum values in the vector being used as thresholds. The list must be arranged in the following order:

  1. Mean

  2. Max

  3. Line length

  4. Sigma

  5. Maximum deviation from clear sky slope

window_len

Length of window, in minutes, used in calculating criterion. Must be a positive integer.

Details

A point is declared clear if it is determined to be clear at least once.

Value

A logical vector of the same length as x, TRUE indicates the point is clear.

A logical vector of the same length as x. TRUE indicates that the corresponding measured irradiance value in x is clear.

References

Global Horizontal Irradiance Clear Sky Models: Implementation and Analysis, Reno et al, 2012, pp. 28-36.


dslaw/clearskies documentation built on May 15, 2019, 4:21 p.m.