View source: R/download_vpfiles.R
download_vpfiles | R Documentation |
vp
) files from the ENRAM data repositoryDownload and unzip a selection of vertical profile (vp
) files from the
ENRAM data repository, where
these are stored as monthly zips per radar.
download_vpfiles(
date_min,
date_max,
radars,
directory = ".",
overwrite = FALSE
)
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 |
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.
read_vpts()
select_vpfiles()
read_vpfiles()
# 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
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.