Description Usage Arguments Author(s) References
Extracts daily gridded weather data, including precipitation, maximum temperature and minimum temperature from the Livneh database: a 1/16 degree gridded weather database that contains data for the years 1915 - 2011.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | extract_daily_weather_from_livneh(
dir_data,
dir_temp,
site_ids,
site_ids_by_dbW,
coords,
start_year,
end_year,
f_check = TRUE,
backup = TRUE,
comp_type = "gzip",
dbW_digits = 2,
verbose = FALSE
)
|
dir_data |
directory containing Livneh data |
dir_temp |
the database directory |
site_ids |
the sites to gather weather data for |
coords |
the coordinates for each site in WGS84 format |
start_year |
the start year in the sequence of data to gather |
end_year |
the end year in the sequence of data to gather |
f_check |
flag to check for errors in file structure -
|
backup |
flag to create a backup of the weather data prior
to insertion in the database
(can create large files) - |
comp_type |
the compression type of the data to be inserted into the database |
run_parallel |
whether the extraction should be ran in parallel |
num_cores |
the number of cores to use if parallel |
Charles Duso cd622@nau.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.