download_camels: Download CAMELS data

Description Usage Arguments Details Value Examples

View source: R/DL_camels.R

Description

downloads and unzips CAMELS data from https://ral.ucar.edu/solutions/products/camels into the user's chosen directory

Usage

1
download_camels(data_dir)

Arguments

data_dir

NEW directory path that will be created by this function, the filepath leading up to the final folder should already exist, while the last folder should not yet exist and will be created for you

Details

more specifically this is linked to the version 1.2 timeseries meterology, observed flow, metadata here: https://ral.ucar.edu/sites/default/files/public/product-tool/camels-catchment-attributes-and-meteorology-for-large-sample-studies-dataset-downloads/basin_timeseries_v1p2_metForcing_obsFlow.zip

as well as the CAMELS attribute data v 2.0 from here: https://ral.ucar.edu/sites/default/files/public/product-tool/camels-catchment-attributes-and-meteorology-for-large-sample-studies-dataset-downloads/camels_attributes_v2.0.zip

Value

NA

Examples

1
2
data_dir <- "~/CAMELS_data"
download_camels(data_dir)

kylemonper/CamelsQuery documentation built on Aug. 30, 2020, 12:34 p.m.