Description Usage Arguments Details Value Author(s) See Also Examples
Return the complete directory of the map of a desired time.
1 |
ndvidirectory |
path to the ndvi images folder (GeoTIFF files). |
region |
name of the region, same as in the name of the ndvi images. |
year |
year of the desired map |
month |
month of the desired map : number between 1 and 12 |
period |
period of the desired map. |
type |
type of nomenclature followed by the NDVI images : "VITO_CLIP", "VITO_VGT" or "GIMMS" (see details for more information). |
More about the variable type :
type = GIMMS : nomenclature from Global Land Cover Facility
[RE][YY][MMM][DDD].[SAT]-VIg.tif
RE : identifies the continent (AF for Africa,AZ for Australia and New Zealand, EA for Eurasia, NA for North America and SA for South America and Central America)
YY : the two last digits of the year
MMM : three-letter abbreviation of the month
DDD : identifies the composite period, 15a denotes the days 1-15 of the month, and 15b denotes the days from 16 to the end of the month.
SAT : identifies the satellite, NOAA-7, 9, 11, 14, 16, or 17 from which the data originated.
type = VITO_VGT : FreeVGT VITO's nomenclature
NDV_[YYYYMMDD]_[REGION]_Extract.tif
YYYY : identifies the year (four digits)
MM : identifies the months (two digits)
DD : identifies the date of the period : "01", "11" or "21" (10-day composite).
REGION : idendifies the region selected while extracting maps
type = VITO_CLIP : nomenclature after clipping the images in a particular region.
[REGION][YYYY]M[MM]P[D].tif
REGION : the region as entered while clipping data.
YYYY : identifies the year (four digits)
MM : identifies the months (two digits)
D : identifies the period (0, 1 or 2).
Return the complete path of the desired map. If the map doesn't exist, an error message is printed.
Romain Frelat and Bruno Gerard
1 2 3 4 5 6 7 8 9 10 | library(ndvits)
# Local variables
ndvidirectory=paste(system.file("extdata/VITO_Mzimba", package="ndvits"), "/", sep="")
region="Mzimba"
year=2004
month=3
period=1
filein=timetoMap(ndvidirectory,region, year, month, period)
print(filein)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.