R/swdi-extract.R
noaa_swdi_extract.Rd
Wrapper for NOAA GCHN data extraction pipeline. This function will setup global variables, gather information and urls on data and metadata and download the data.
noaa_swdi_extract( year_periods = 1995:1995, noaa_swdi_ind_tiles, noaa_swdi_type, data_folder = "data", dat_flag = "noaa_swdi", remove = FALSE, data_dl_method = "libcurl", url = NULL, metadata_dirname = "metadata" )
year_periods | (numeric) : 1800:1800 (default) array of years to be downloaded |
---|---|
noaa_swdi_ind_tiles | (integer) : A value in |
noaa_swdi_type | (character) : Specifying the type of NOAA-SWDI data to
download and extract. Can be one of the following values:
|
data_folder | (character) : "data" (default) data folder name |
dat_flag | (character) : "noaa_swdi_daily" (default) name of the data - will appear as data folder name when data are saved |
remove | (logical) : FALSE (default) remove .zip file after extraction |
data_dl_method | (character) : "libcurl" (default) data download method |
url | (character) : NULL (default) data url - the default one is encoded in the function body |
metadata_dirname | (character) : "metadata" (default) metadata folder name |
if (FALSE) { noaa_swdi_extract(year_periods = 1995:1996, noaa_swdi_ind_tiles = 1, noaa_swdi_type = "hail") }