Learn R Programming

WaterBalanceR (version 0.1.19)

DownloadRadolanFromDWD: Downloads daily precipitation data (RADOLAN) from DWD OpenData for a given AOI and time span. Depending on the date range, it uses either the "recent" or "historical" RADOLAN archives. Data are clipped to the AOI and saved as shapefiles, one per day of year (DOY).

Description

Downloads daily precipitation data (RADOLAN) from DWD OpenData for a given AOI and time span. Depending on the date range, it uses either the "recent" or "historical" RADOLAN archives. Data are clipped to the AOI and saved as shapefiles, one per day of year (DOY).

Usage

DownloadRadolanFromDWD(
  target_path = NA,
  target_site = NA,
  start_date = NA,
  end_date = NA
)

Value

Shapefiles for every DOY containing precipitation data for your AOI.

Arguments

target_path

Path to download and save shapefile for every DOY within timespan of interest

target_site

Path to shapefile containing your AOI (string).

start_date

start date of interest (e.g.: "2021-01-01"). If empty, default is 1st Jan of recent year.

end_date

end date of interest (e.g.: "2021-12-31"). If empty, default is yesterday.