ExtractVGT: Extract time series from VITO Vegetation data

Description Usage Arguments Details Value Author(s) References See Also

Description

Extract time series from VITO Vegetation data

Usage

1
2
ExtractVGT(shapefile, shapedir, ndvidirectory, region, 
    outfile = "TS.txt", 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 SPOT VGT 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

FreeVGT VITO's nomenclature : (type=VITO_VGT)
NDV_[YYYYMMDD]_[REGION]_Extract.tif

Value

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

Author(s)

Romain Frelat and Bruno Gerard

References

VGT ref

See Also

TimeSeriesAnalysis, ClipVGT


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

Related to ExtractVGT in ndvits...