read.DWDstations {vegperiod}R Documentation

Fetch list of DWD weather stations

Description

Get a listing of advertised stations of Germany's National Meteorological Service (Deutscher Wetterdienst, DWD). The list differs for station type, time period and resolution. The list of advertised stations is usually not identical with currently available stations.

Usage

read.DWDstations(type = "climate", period = "recent", resolution = "daily")

Arguments

type

string. Stations can be of type ‘⁠"climate"⁠’ offering a range of meteorological parameters or of type ‘⁠"precipitation"⁠’ solely recording rainfall.

period

string specifying a time span. The last 1.5 years are called ‘⁠"recent"⁠’. Data from the individual beginning of measurements up to a year ago are labelled ‘⁠"historical"⁠’.

resolution

string. Temporal resolution of the data can be ‘⁠"daily"⁠’ or ‘⁠"monthly"⁠’. ‘⁠"daily"⁠’ being the common resolution.

Details

The freely accessible part of the Climate Data Center of Germany's National Meteorological Service (Deutscher Wetterdienst, DWD) is part of DWD's mandate for basic supply of information (termed "Grundversorgung"). This service may be used without any restrictions (no fees will be charged and in general there are no restrictions for the use the data), provided that the source is indicated as laid down in the "GeoNutzV" ordinance. The source reference shall roughly meet the following rules:

A more detailed description of the rules can be found in the official and legally binding German Nutzungsbedingungen or the translated Terms of use.

Value

A data.frame with all weather stations. It's not guaranteed that all advertised staions are available for download. Watch out for the end data of observation. Stations with recent data have a current end date. The data.frame contains the variables id, from, to, elev, lat, long, name, state.

References

Freely accessible DWD data available via the Climate Data Center.

Examples

## Not run: 
# stations with daily climate data
stations <- read.DWDstations()

# precipitation stations with monthly historical data
precip <- read.DWDstations(type='precip', period='historical',
                           resolution='monthly')

# list stations with daily data updated within last week
stat.daily <- read.DWDstations(period='recent')
stat.daily.recent <- stat.daily[stat.daily$to > (Sys.Date() - 7), ]

## End(Not run)


[Package vegperiod version 0.4.0 Index]