Title: | Weather Data for Germany from the Deutscher Wetterdienst (DWD) |
---|---|
Description: | Weather data for all stations in Germany as provided by the Deutscher Wetterdienst (DWD). The data is pre-processed and only the observations with the highest quality flags are provided. In addition, elevation data of Germany is provided as stars object. |
Authors: | Nikolaus Umlauf [aut, cre] |
Maintainer: | Nikolaus Umlauf <[email protected]> |
License: | GPL-2 | GPL-3 |
Version: | 1.0-0 |
Built: | 2025-03-07 06:20:38 UTC |
Source: | https://github.com/gamlss-dev/WeatherGermany |
Digital elevation model data for Germany as provided from the geodata package.
data("ElevationGermany", package = "WeatherGermany")
data("ElevationGermany", package = "WeatherGermany")
A "stars"
object.
Data is obtained from the geodata package. The original data source is provied by the Radar Topography Mission (SRTM) from https://srtm.csi.cgiar.org/.
## load the data data("ElevationGermany", package = "WeatherGermany") ## plot elevation data plot(ElevationGermany)
## load the data data("ElevationGermany", package = "WeatherGermany") ## plot elevation data plot(ElevationGermany)
The map contains the counties of Germany. The data was originally taken from GADM (https://gadm.org/) and slightly simplified to reduce disk space.
data("Germany", package = "WeatherGermany")
data("Germany", package = "WeatherGermany")
A class "sf"
data frame containing 403 counties of Germany.
Factor, a county id.
Character, the county in Germany where the weather station is located.
Character, the state in Germany where the weather station is located.
The polygon information.
Map of Germany:
GADM
CC BY
Longitude/latitude and the WGS84 datum.
## load sf package for plotting library("sf") ## load the data data("Germany", package = "WeatherGermany") ## plot the map plot(st_geometry(Germany))
## load sf package for plotting library("sf") ## load the data data("Germany", package = "WeatherGermany") ## plot the map plot(st_geometry(Germany))
According to the Beaufort scale, severe storms occur from a wind speed of 24.5-28.4 m/s. This dataset contains annual severe storm counts from weather stations in Germany from 1981 to 2021.
data("storms", package = "WeatherGermany")
data("storms", package = "WeatherGermany")
A data frame containing 3494 observations on 8 variables.
Factor, the weather station id.
Integer, the year the observation was measured.
Integer, the number of severe storms in this year.
Numeric, the mean of the maximum wind speeds (in m/s) recorded during severe storms in the respective year.
Numeric, the maximum of the maximum wind speeds (in m/s) recorded during severe storms in the respective year.
Numeric, the standard deviation of the maximum wind speeds (in m/s) recorded during severe storms in the respective year.
Character, the region name the weather station is located.
Numeric, the altitude in meters above sea level of the weather station.
Numeric, the longitude coordinate of the weather station.
Numeric, the latitude coordinate of the weather station.
Severe Storms Data:
Deutscher Wetterdienst (DWD), Climate Data Center (CDC).
CC BY 4.0
Longitude/latitude and the WGS84 datum.
## load the data data("storms", package = "WeatherGermany") ## yearly observations plot(counts ~ year, data = storms) ## count distribution barplot(table(storms$counts)) ## NBI model ## Not run: library("gamlss2") ## model formula including spatial effect f <- counts ~ s(year) + s(alt) + s(lon, lat) | s(year) + s(alt) + s(lon, lat) ## estimate model b <- gamlss2(f, data = storms, family = NBI) ## estimated effects plot(b) ## residual diagnostics plot(b, which = "resid") ## End(Not run)
## load the data data("storms", package = "WeatherGermany") ## yearly observations plot(counts ~ year, data = storms) ## count distribution barplot(table(storms$counts)) ## NBI model ## Not run: library("gamlss2") ## model formula including spatial effect f <- counts ~ s(year) + s(alt) + s(lon, lat) | s(year) + s(alt) + s(lon, lat) ## estimate model b <- gamlss2(f, data = storms, family = NBI) ## estimated effects plot(b) ## residual diagnostics plot(b, which = "resid") ## End(Not run)
Daily weather data for all stations in Germany as provided by the Deutscher Wetterdienst (DWD). The data is pre-processed and only the observations with the highest quality flags are provided. Please see the documentation of the DWD provided in
https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/daily/kl/historical/
data("WeatherGermany", package = "WeatherGermany")
data("WeatherGermany", package = "WeatherGermany")
A data frame containing 6734119 observations on 11 variables.
Factor, the weather station id.
Dat, the day the data is recored.
Numeric, the maximum wind speed in m/s.
Numeric, amount of precipitation in mm.
Numeric, the maximum 2m temperature.
Numeric, the minimum 2m temperature.
Numeric, number of hours of sunshine.
Character, the station name.
Numeric, the altitude in meters above sea level of the weather station.
Numeric, the longitude coordinate of the weather station.
Numeric, the latitude coordinate of the weather station.
Daily German Weather Data:
Deutscher Wetterdienst (DWD), Climate Data Center (CDC).
CC BY 4.0
Longitude/latitude and the WGS84 datum.
## load the data data("WeatherGermany", package = "WeatherGermany") ## yearly averages of maximum temperature WeatherGermany$year <- as.POSIXlt(WeatherGermany$date)$year + 1900 a <- aggregate(Tmax ~ year, data = WeatherGermany, FUN = mean) ## plot plot(Tmax ~ year, data = a, type = "b")
## load the data data("WeatherGermany", package = "WeatherGermany") ## yearly averages of maximum temperature WeatherGermany$year <- as.POSIXlt(WeatherGermany$date)$year + 1900 a <- aggregate(Tmax ~ year, data = WeatherGermany, FUN = mean) ## plot plot(Tmax ~ year, data = a, type = "b")