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

Description Usage Arguments Details Value Examples

View source: R/avhrr_funs.R

Description

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

Usage

1
  getAVHRR(start_date, end_date, path = "", overwrite = FALSE, update = 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

overwrite

logical. If TRUE, existing data will be overwritten

path

character. Path name indicating where to store the data

update

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

...

Additional arguments that can be passed to download.file)

Details

Files may not be available during server downtime.

Value

character vector of file names pointing to the downloaded files

Examples

1
2
3
4
5
  
  sdate <- "2019-05-17" 
  edate <- "2019-05-23"
  dir <- tempdir()
  ff <- getAVHRR(start_date, end_date, dir)

ani-ghosh/luna_dev documentation built on Nov. 18, 2019, 12:02 a.m.