dwd_stations_shp: Save DWD stations as shape file

Description Usage Arguments Examples

Description

This function allows you to save the location of all stations of a dwd data tibble as shape file (with +proj=longlat, +datum=WGS84).

Usage

1
dwd_stations_shp(dwd_data, out_dir)

Arguments

dwd_data

a tibble containing DWD observation data with station information.

out_dir

directory of folder where created shape file shall be saved.

Examples

1
2
3
4
5
6
7
8
# filter flexibly using dplyr package
rbu_data <- dplyr::filter(rbu_data,stat_id%in%c(11162,11292,11295))

# plot location of selected stations within Germany
dwd_stations_plot(rbu_data)

# save selected stations as shape-file
dwd_stations_shp(rbu_data,my_dir)

malinfischer/phenoTS documentation built on May 14, 2019, 12:56 a.m.