Downloading hourly (meteorological) data from the Synop stations available in the https://www.ogimet.com/ repository

ogimet_hourly(date = c("2019-06-01", "2019-07-31"), coords = FALSE,
  station = c(12326, 12330), precip_split = TRUE)

Arguments

date

start and finish of date (e.g., date=c("2018-05-01","2018-07-01") )

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 numeric fields (logical value TRUE (default) or FALSE)

Examples

# downloading data for Poznan-Lawica poznan <- ogimet_hourly( station = 12330, coords = TRUE, precip_split = TRUE)
#> [1] 12330 #> 2019 07 #> 2019 06 #> 2019 05
head(poznan)
#> station_ID Lon Lat Date TC TdC TmaxC TminC ddd #> 2 12330 16.83333 52.41667 2019-07-16 16:00:00 18.9 10.7 <NA> <NA> WNW #> 3 12330 16.83333 52.41667 2019-07-16 15:00:00 19.3 10.8 <NA> <NA> W #> 4 12330 16.83333 52.41667 2019-07-16 14:00:00 19.5 11.0 <NA> <NA> W #> 5 12330 16.83333 52.41667 2019-07-16 13:00:00 19.4 11.2 <NA> <NA> W #> 6 12330 16.83333 52.41667 2019-07-16 12:00:00 18.3 10.9 <NA> <NA> W #> 7 12330 16.83333 52.41667 2019-07-16 11:00:00 17.3 11.3 <NA> <NA> W #> ffkmh Gustkmh P0hPa PseahPa PTnd Precmm Nt Nh HKm InsoD1 Viskm Snowcm pr6 #> 2 32.4 43.2 1001.7 1012.1 0.0 <NA> 6 4 1.0 NA 50 NA NA #> 3 28.8 NA 1001.8 1012.2 0.3 <NA> 7 7 1.0 NA 50 NA NA #> 4 25.2 NA 1001.8 1012.2 -0.1 <NA> 6 6 0.6 NA 50 NA NA #> 5 25.2 NA 1001.7 1012.1 -0.4 <NA> 6 6 0.6 NA 50 NA NA #> 6 25.2 43.2 1001.5 1011.9 -0.3 Tr/6h 7 7 0.6 NA 50 NA NA #> 7 21.6 NA 1001.9 1012.4 0.4 <NA> 7 7 0.6 NA 45 NA NA #> pr12 pr24 #> 2 NA NA #> 3 NA NA #> 4 NA NA #> 5 NA NA #> 6 NA NA #> 7 NA NA