getAVHRR: Find and download AVHRR NDVI Climate Data Record (CDR)

View source: R/getAVHRR.R

getAVHRRR Documentation

Find and download AVHRR NDVI Climate Data Record (CDR)

Description

Find and download AVHRR NDVI CDR global layers for a time period. The function returned is list of filenames that may have been downloaded.

Usage

getAVHRR(start_date, end_date, path, overwrite=FALSE, update=FALSE, download=TRUE, quiet=FALSE, ...)

Arguments

start_date

character. Start date for the data requested formatted yyyy-m-d

end_date

Character. end date for the data requested formatted yyyy-m-d

path

character. Path to download data to

overwrite

logical. If TRUE, existing files are overwritten

update

logical. If TRUE, existing records of AVHRR NDVI CDR will be updated

download

logical. Should the files be downloaded if not available on path?

quiet

logical. Should messages be printed to track the download progress?

...

Additional arguments that can be passed to download.file)

Value

Character vector of file names pointing to the downloaded files

Examples

  
## Not run: 
  start <- "2019-05-17" 
  end <- "2019-05-23"
  path <- tempdir()
  ff <- getAVHRR(start, end, path, download=FALSE)

## End(Not run)

rspatial/luna documentation built on Dec. 26, 2024, 12:33 a.m.