Downloads a copy of the specified WRF model run to the package
data directory. The file data can then be loaded with wrf_load()
.
On 2020-08-27, available model identifiers include the following:
PNW-4km
wrf_download( modelName = NULL, modelRun = NULL, modelRunHour = NULL, baseUrl = "http://m2.airfire.org", verbose = TRUE )
modelName | Model identifier. |
---|---|
modelRun | Model initialization timestamp as "YYYYMMDDHH". |
modelRunHour | Hour forecasted from initial time, i.e. 7. |
baseUrl | Base URL for WRF output. |
verbose | If |
# \donttest{ library(AirFireWRF) setWRFDataDir('~/Data/WRF') modelRun <- wrf_latestModelRun("PNW-4km") wrf_download("PNW-4km", "2020082500", 11)#>#> [1] "/Users/jonathan/Data/WRF/PNW-4km_2020082500_11.nc"# }