download_narr | R Documentation |
The download_narr
function accesses and downloads daily meteorological data from NOAA's North American Regional Reanalysis (NARR) model.
download_narr(
variables = NULL,
year = c(2018, 2022),
directory_to_save = NULL,
acknowledgement = FALSE,
download = FALSE,
remove_command = FALSE,
hash = FALSE
)
variables |
character. Variable(s) name acronym. See List of Variables in NARR Files for variable names and acronym codes. |
year |
character(1 or 2). length of 4. Year or start/end years for downloading data. |
directory_to_save |
character(1). Directory(s) to save downloaded data files. |
acknowledgement |
logical(1). By setting |
download |
logical(1). |
remove_command |
logical(1).
Remove ( |
hash |
logical(1). By setting |
For hash = FALSE
, NULL
For hash = TRUE
, an rlang::hash_file
character.
netCDF (.nc) files will be stored in
directory_to_save
.
"Pressure levels" variables contain variable values at 29 atmospheric levels, ranging from 1000 hPa to 100 hPa. All pressure levels data will be downloaded for each variable.
Mitchell Manware, Insang Song
mesinger_north_2006amadeus
## Not run:
download_narr(
variables = c("weasd", "omega"),
year = 2023,
directory_to_save = tempdir(),
acknowledgement = TRUE,
download = FALSE, # NOTE: download skipped for examples,
remove_command = TRUE
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.