download_geos | R Documentation |
The download_geos()
function accesses and downloads various
atmospheric composition collections from NASA's Global Earth Observing System (GEOS) model.
download_geos(
collection = c("aqc_tavg_1hr_g1440x721_v1", "chm_tavg_1hr_g1440x721_v1",
"met_tavg_1hr_g1440x721_x1", "xgc_tavg_1hr_g1440x721_x1",
"chm_inst_1hr_g1440x721_p23", "met_inst_1hr_g1440x721_p23"),
date = c("2018-01-01", "2018-01-01"),
directory_to_save = NULL,
acknowledgement = FALSE,
download = FALSE,
remove_command = FALSE,
hash = FALSE
)
collection |
character(1). GEOS-CF data collection file name. |
date |
character(1 or 2). length of 10. Date or start/end dates for downloading data.
Format "YYYY-MM-DD" (ex. January 1, 2018 = |
directory_to_save |
character(1). Directory to save data.
Sub-directories will be created within |
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 (.nc4) files will be stored in a
collection-specific folder within directory_to_save
.
Mitchell Manware, Insang Song
keller_description_2021amadeus
## Not run:
download_geos(
collection = "aqc_tavg_1hr_g1440x721_v1",
date = "2024-01-01",
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.