View source: R/NLDAS_DL_bulk.R
NLDAS_DL_bulk | R Documentation |
This function downloads NLDAS incoming shortwave radiation data (w m-2). When using the NLDAS_DL function to download data from many sites, sometimes sites will fail to download data (possibly due to volume of requests). This function adds in an additional check to continually attempt to download data for any missing locations until no more locations can be successfully downloaded. For example, sites outside of the U.S. do not have NLDAS data and therefore will never download.
NLDAS_DL_bulk(save_dir, site_locs, startDate)
save_dir |
The save directory for files to be placed in. For example, "C:/myfolder |
site_locs |
A table with Site_ID, Lat, and Lon, and startDate |
statDate |
An optional parameter. By default, if nothing is provided the function assumes that site_locs has a column that contains startDate. Alternatively, a single startDate can be provided as an argument for the download (YYYY-MM-DD). |
Returns a time series of incoming shortwave solar radiation from the start date to the most recent available data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.