Description Usage Arguments Details References
Extracts daily gridded weather data, including precipitation, maximum temperature and minimum temperature from the gridMET (Abatzoglou 2013) database: a 1/24 degree gridded weather database that contains data for the years 1979 - yesterday.
1 2 3 4 5 6 7 8 9 10 11 | extract_daily_weather_from_gridMET(
dir_data,
site_ids,
site_ids_by_dbW,
coords,
start_year,
end_year,
comp_type = "gzip",
dbW_digits = 2,
verbose = FALSE
)
|
dir_data |
A character string. The directory containing the gridMET dataset files. |
site_ids |
An integer vector. The indices of sites for which to extract gridMET weather data. |
coords |
A two-dimensional numerical object. The coordinates for each site in WGS84. |
start_year |
An integer value. The first calendar year for which to extract daily weather data. |
end_year |
An integer value. The last calendar year for which to extract daily weather data. |
comp_type |
A character string. The compression type used by the weather database. |
dbW_digits |
An integer value. The number of digits to which the daily weather values are rounded to. |
verbose |
A logical value. |
Run the function gridMET_download_and_check
to download and check the dataset.
Abatzoglou, J. T. (2013) Development of gridded surface meteorological data for ecological applications and modelling. Int. J. Climatol., 33: 121–131.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.