dB_readZRX2station: process ZRX data files (WISKI, batch download) with function...

Description Usage Arguments Details Value Author(s)

Description

process ZRX data files (Province of Bozen/Bolzano, WISKI, batch download) with function readZRX: general quality check | min - max variable dependent, hourly aggregation (mean - sum) possible. Return .csv file for each station containing available variables.

Usage

1
2
dB_readZRX2station(files, write_csv=FALSE, output_path, do.hourly=FALSE, do.quality=FALSE, chron=TRUE, 
                               multivar=FALSE, multistation=FALSE, saveRData=FALSE)

Arguments

files

ZRX files names (absolute paths)

write_csv

boolean, TRUE: .csv data files for each station are written

output_path

path to which .csv files are written

do.hourly

boolean, TRUE: hourly aggregation of data, variable specific; default FALSE

do.quality

boolean, TRUE: general quality check (min - max); default FALSE

chron

boolean, TRUE: chron object for datetime representation, default FALSE: POSIX object for datetime representation

multivar

boolean, default FALSE: single variable in .rzx file; TRUE: multiple variables in .rzx file

multistation

boolean, default FALSE: single station in .rzx file; TRUE: multiple stations in .rzx file

saveRData

boolean, default FALSE: save .RData file

Details

Only working properly with .zrx files with a single time step (e.g. all files hourly data), or if do_hourly = TRUE with .zrx files with a time step below or equal to one hour. For multivar = TRUE input is a single .rzx file with multiple variables, for multivar = FALSE input of more than one .rzx file is provided.

Value

List of zoo objects, for each station available variables are summarized in a zoo object

Author(s)

Johannes Brenner, Johannes.Brenner@eurac.edu


JBrenn/DataBaseAlpEnvEURAC documentation built on May 7, 2019, 6:48 a.m.