Description Usage Arguments Details Value Author(s) See Also
This function reads and concatenates the daily SURFRAD files.
1 2 |
files |
character strings indicating the file names for reading |
directory |
the directory for files |
use.original.qc |
boolean, indicating whether the SURFRAD QC flags should be used |
use.qc |
boolean, indicating whether the built-in QC should be used |
test |
vector of character strings, indicating which QC tests are used. Options include "phy", "ext", "closr", "df", "clim", and "all". |
progress.bar |
boolean, indicating whether the progress bar should be used |
agg |
numeric, aggregation interval in minute |
additional.variables |
four compulsory variables are included, namely, "dw_solar", "direct_n", "diffuse", and "pressure". This function parameter allows the user to set additional variables for extraction, such as "temp" or "windspd". See the code for the available variable list. |
It is not recommended to put all files in a same folder. The SURFRAD FTP folder directory is good, keep that, and use a loop (outside of this function) to access all folders.
a tibble of the read and aggregated data.
D. Yang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.