View source: R/ogimet_hourly.R
ogimet_hourly | R Documentation |
Downloading hourly (meteorological) data from the Synop stations available in the https://www.ogimet.com/ repository
ogimet_hourly(
date = c(Sys.Date() - 30, Sys.Date()),
coords = FALSE,
station = 12330,
precip_split = TRUE,
allow_failure = TRUE
)
date |
start and finish of date (e.g., date = c("2018-05-01","2018-07-01") ); By default last 30 days are taken |
coords |
add geographical coordinates of the station (logical value TRUE or FALSE) |
station |
WMO ID of meteorological station(s). Character or numeric vector |
precip_split |
whether to split precipitation fields into 6/12/24h; default: TRUE |
allow_failure |
logical - whether to proceed or stop on failure. By default set to TRUE (i.e. don't stop on error). For debugging purposes change to FALSE |
data.frame with historical meteorological data for hourly time interval
# downloading data for Poznan-Lawica, Poland
poznan = ogimet_hourly(station = 12330, coords = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.