download.LandTrendr.AGB.Rd
download.LandTrendr.AGB
download.LandTrendr.AGB(
outdir,
target_dataset = "biomass",
product_dates = NULL,
product_version = "v1",
con = NULL,
run_parallel = TRUE,
ncores = NULL,
overwrite = FALSE
)
Where to place output
Which LandTrendr dataset to download? Default = "biomass"
What data product dates to download
Optional. LandTrend AGB is provided with two versions, v0 and v1 (latest version)
Optional database connection. If specified then the code will check to see
Logical. Download and extract files in parallel?
Optional. If run_parallel=TRUE how many cores to use? If left as NULL will select max number -1
Logical. Overwrite existing files and replace with new versions
data.frame summarize the results of the function call
if (FALSE) { # \dontrun{
outdir <- "~/scratch/abg_data/"
product_dates <- c(1990, 1991, 1995) # using discontinous, or specific years
product_dates2 <- seq(1992, 1995, 1) # using a date sequence for selection of years
product_version = "v1"
results <- PEcAn.data.remote::download.LandTrendr.AGB(outdir=outdir,
product_dates = product_dates,
product_version = product_version)
results <- PEcAn.data.remote::download.LandTrendr.AGB(outdir=outdir,
product_dates = product_dates2,
product_version = product_version)
} # }