R/read_radolan_raster_stack.R

Defines functions read_radolan_raster_stack

# read_radolan_raster_stack ----------------------------------------------------
read_radolan_raster_stack <- function(urls)
{
  # Download, read and stack Radolan files
  raster::stack(lapply(urls, function(url) {
    message("Reading ", url)
    kwb.dwd::read_binary_radolan_file(url)
  }))
}
KWB-R/fhpredict documentation built on Nov. 1, 2020, 5:58 a.m.