Skip to contents

Hourly precipitation data downloaded from DWD for monitoring station Braunschweig (id = 662) between 1997-10-22 and 2021-12-31

Usage

precipitation_hourly

Format

A data.frame with 211629 rows and 2 variables:

datetime

date time

precipitation_mm

precipitation in mm

Examples

if (FALSE) {
install.packages(c("dplyr", "rdwd"))
library(dplyr)
rdwd::updateRdwd()
rdwd::findID("Braunschweig")
rdwd::selectDWD(name = "Braunschweig", res = "daily")

url_bs_rain <- rdwd::selectDWD(name = "Braunschweig",
                              res = "hourly",
                              var = "precipitation",
                              per = "historical" )

bs_rain <- rdwd::dataDWD(url_bs_rain)

precipitation_hourly <- rdwd::dataDWD(url_bs_rain) %>%
 dplyr::select(.data$MESS_DATUM, .data$R1) %>%
 dplyr::rename("datetime" = "MESS_DATUM",
               "precipitation_mm" = "R1")

}
head(flextreat.hydrus1d::precipitation_hourly)
#>              datetime precipitation_mm
#> 1 1997-10-22 14:00:00                0
#> 2 1997-10-22 17:00:00                0
#> 3 1997-10-22 18:00:00                0
#> 4 1997-10-22 19:00:00                0
#> 5 1997-10-22 20:00:00                0
#> 6 1997-10-22 21:00:00                0