downloadNDVI: Download ndvi3g data

View source: R/downloadNDVI.R

downloadNDVIR Documentation

Download ndvi3g data

Description

Function to download AVHRR GIMMS ndvi3g data for a specific timeperiod of your choice. Data is available globally and for the timeperiod 1981 - 2015.

Usage

downloadNDVI(startyear = 1981, endyear = 2013, version = "v0", path = getwd())

Arguments

startyear

A year between 1981 and 2015.

endyear

A year between 1981 and 2015, should be larger than startyear.

version

One of "v0" or "v1", otherwise function automatically uses "v1".

path

Path where data is downloaded to. If not available a subfolder with the version name will be automatically created.

Value

The function just downloads the files to the specified path.

Examples

## Not run: 
downloadNDVI(startyear=1981, endyear=2013, version="v0")
downloadNDVI(startyear=1981, endyear=2015, version="v1")

## End(Not run)

RS-eco/ggmap2 documentation built on Dec. 7, 2022, 2:02 a.m.