clear_points: Clear sky detection

Description Usage Arguments Details Value References

Description

Implementation of the clear sky detection algorithm found in Reno et al, 2012. (See References). Determines clear points using a rolling window and five criterion.

Usage

1
2
3
4
5
6
7
clear_points(x, ...)

## Default S3 method:
clear_points(x, cs, thresholds, window_len, ...)

## S3 method for class 'clearsky'
clear_points(x, thresholds, window_len, ...)

Arguments

x

Numeric vector of measured irradiance values or object of clear_sky class containing both observed and predicted members.

...

ignored.

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 to use 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

The form of the value returned by 'clear_points' depends on the class of its argument.

The default method returns a logical vector of the same length as x. TRUE indicates that the corresponding measured irradiance value is clear.

The clearsky method returns a clearsky object with member 'clear' set to a logical vector of the same length as x.

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.