View source: R/downloadCAMELS.R
downloadCAMELS | R Documentation |
Function does not download all available files including basin information, model output, and CAMELS documentation. See https://gdex.ucar.edu/dataset/camels.html.
downloadCAMELS( dir, unzip = FALSE, primary_files = TRUE, daymet_output = TRUE, maurer_output = TRUE, NLDAS_output = TRUE, shapefiles = TRUE, timeout = 99999, ... )
dir |
Target directory to download files to |
unzip |
T/F if downloaded files should be unzipped |
primary_files |
T/F download basin forcing data for all three meteorology products, observed streamflow, basin metadata, readme files, and basin shapefiles |
daymet_output |
T/F download comparison model output files calibrated using daymet forcings |
maurer_output |
T/F download comparison model output files calibrated using maurer forcings |
NLDAS_output |
T/F download comparison model output files calibrated using NLDAS forcings |
shapefiles |
T/F download original basin boundary shapefiles |
timeout |
Max time allowed for download. Default: 99999 seconds (the files are large) |
... |
Additional arguments passed to |
Note: Unzipping often fails, R unzip function is not very robust.
## Not run: downloadCAMELS('../CAMELS/', unzip=FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.