ExtractGIMMS: Extract time series from GIMMS data

Description Usage Arguments Details Value Author(s) See Also

Description

Extract time series from GIMMS data.

Usage

1
2
ExtractGIMMS(shapefile, shapedir, ndvidirectory, region,
    outfile, Ystart, Yend, shapeext = "shp")

Arguments

shapefile

name of the shape/kml file with multi-points or polygons from where time series are extracted.
For a shapefile called ‘name.shp’ , shapefile="name".
For a kml file, write the name of the layer.

shapedir

path to the shape/kml file.
For a shapefile, shapedir is the path to the folder containing the shapefile. For example if the directory of the shapefile is ‘C:/Dir/name.shp’, shapefile="C:/Dir/".
For a kml file, shapedir is the full directory of the kml file. For example shapefile="C:/Dir/name.kml".
Please note that paths to files in R can be specified with either "/" or "\\" in Windows OS and "/" in UNIX OS.

ndvidirectory

path to the GIMMS ndvi images folder (GeoTIFF files).
Please note that paths to files in R can be specified with either "/" or "\\" in Windows OS and with "/" in UNIX OS.

region

name of the region, same as in the name of the ndvi images.
Please refer to details section for more information on the nomenclature.

outfile

name of the file where the time series are saved (extension ".txt").
By default, outfile = " .".

Ystart

starting year of the analysis (in four-digit format).

Yend

ending year of the analysis (in four-digit format).

shapeext

extension of the shape/kml file : "shp" for a Esri shapefile or "kml" for a kml file from Google earth .
By default, shapeext = "shp".

Details

GIMMS nomenclature (from Global Land Cover Facility) : (type=GIMMS)
[RE][YY][MMM][DDD].[SAT]-VIg.tif

Value

Return the time series of the points/polygons in the shapefile over the desired period.

Author(s)

Romain Frelat and Bruno Gerard

See Also

TimeSeriesAnalysis


ndvits documentation built on May 31, 2017, 2:06 a.m.