OSMG.read: Read and process the OSMG dataset

Description Usage Arguments Details Value Author(s) See Also

View source: R/OSMG.r

Description

This function reads and concatenates the daily OSMG files.

Usage

1
2
OSMG.read(files, directory.LI200, directory.RSR = NULL,
          clear.sky = FALSE, AP2 = FALSE, agg = 1)

Arguments

files

character strings indicating the file names for reading

directory.LI200

the directory for the LI-200 files

directory.RSR

the directory for the LI-200 files

clear.sky

boolean, indicating whether the Ineichen–Perez clera-sky irradiance should be calculated

AP2

boolean, indicating whether 3-second data from AP2 should be joint to the 1-second data from other stations

agg

numberic, aggregation interval in seconds

Details

Since the RSR files and the LI-200 files have the same file names, it is advised to store these two group of files in two separate folders, and thus I define two path variables for this function.

Value

a tibble of the read and aggregated data.

Author(s)

D. Yang

See Also

OSMG.loc


dazhiyang/SolarData documentation built on April 19, 2021, noon