dwd_download: Download DWD phenology data

Description Usage Arguments Examples

Description

This function allows you to download phenology in-situ observation data provided by the German Meteorological Service (DWD).
Data source: ftp://ftp-cdc.dwd.de/pub/CDC/observations_germany/phenology/

Usage

1
dwd_download(crops, start, end, report, dir_out)

Arguments

crops

crop abbreviation(s) - possible to chose multiple crops, use c("crop1","crop2",...) then.

start

start of observation period (year).

end

end of observation period (year).

report

reporter type (Jahresmelder/annual reporters="JM", Sofortmelder/immediate reporters="SM", both="JMSM").

dir_out

directory downloaded files shall be saved (sub-folders are created within for each crop).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## set directory where data files shall be saved
my_dir <- "C:/Users/.../my_folder"

## check available crops  and their abbreviations
dwd_crop_list()

## download
# both data + meta files
dwd_download("RBU",1900,2019,"JMSM",my_dir)
# crop: Rotbuche (European beech), max. observation period, annual + immediate reporters

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