Skip to contents

This function downloads ESA CCI Biomass GeoTIFF data from the CEDA Archive.

Usage

download_esacci_biomass(
  esacci_biomass_year = "latest",
  esacci_biomass_version = "latest",
  esacci_folder = "data/ESACCI-BIOMASS",
  n_cores = parallel::detectCores() - 1,
  timeout = 600,
  file_names = NULL
)

Arguments

esacci_biomass_year

The ESA CCI BIOMASS AGB tiles year to use. Use either 2010, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 or "latest" (default).

esacci_biomass_version

The ESA CCI BIOMASS AGB tiles version to use. Use either "v2.0", "v3.0", "v4.0", "v5.0", "v5.01", "v6.0" or "latest" (default).

esacci_folder

Directory to save downloaded ESA CCI BIOMASS AGB files. Default is the relative path "data/ESACCI-BIOMASS".

n_cores

Number of cores to use for parallel download.

timeout

Number of seconds for reaching file download timeout.

file_names

Character vector of specific filenames to download. If NULL (default), all files will be downloaded.

Value

A character vector of downloaded file paths.