download_vpfiles {bioRad} | R Documentation |
Download vertical profile (vp
) files from the ENRAM data repository
Description
Download and unzip a selection of vertical profile (vp
) files from the
ENRAM data repository, where
these are stored as monthly zips per radar.
Usage
download_vpfiles(
date_min,
date_max,
radars,
directory = ".",
overwrite = FALSE
)
Arguments
date_min |
Character. Start date of file selection, in |
date_max |
Character. End date of file selection, in |
radars |
Character (vector). 5-letter country/radar code(s) to include in file selection. |
directory |
Character. Path to local directory where files should be downloaded and unzipped. |
overwrite |
Logical. When |
Value
NULL
. The function's primary effect is to download selected vertical profiles
files from ENRAM data repository to a specified local directory, and to provide
a message and a progress bar in the console indicating the download status. Message will show
a 404 error for files that are not available.
See Also
Examples
# Download (and overwrite) data from radars "bejab" and "bewid".
download_vpfiles(
date_min = "2018-10-01",
date_max = "2018-10-31",
radars = c("bejab", "bewid"),
directory = tempdir(),
overwrite = TRUE
)