Skip to contents

Download from SILO database

Usage

download_silo(
  layer,
  bounding_box,
  out_path,
  years,
  format_out = "tif",
  delete_temp = FALSE
)

Arguments

layer

Layer name(s) to download as a vector of strings

bounding_box

A numeric vector of coordinate values used to generate a bounding box around are of interest in EPSG:4326 format, for example, c(min_x, min_y, max_x, max_y)

out_path

Path to an output/download folder, e.g. 'downloads/'

date_min

string Start date to download in YYYY-MM-DD, e.g. 2019-10-01

date_max

string End date to download in YYYY-MM-DD, e.g. 2019-11-01

format_out

Exported file format. Only "tif" is currently available. Defaults to "tif"

delete_temp

Delete any temporary files that were created. Defaults to FALSE

Value

a list of filenames (after files have been downloaded or processed)