Run MRT-grid with specified parameters

Share:

Description

Spezifying input parameters this function, gets MODIS grid data from archive (FTP or local) and processes the files.

Usage

1
runMRT(LocalArcPath,ParaSource, MRTpath = "check",quiet=FALSE)

Arguments

LocalArcPath

Character. Local path to look for and to download MODIS files. If missing the default archive '~/MODIS_ARC/' (LINUX), 'C:/Documents and Settings/username/My Documents/MODIS_ARC/' (Windows XP) and 'C:/Users/username/Documents/MODIS_ARC' (Vista/Windows 7) is used.

ParaSource

Text file. see: data('ParaExample') or the MRT grid Manual for more information.

MRTpath

Character. Default MRTpath='check' for automatic detection. See ?getPATH. But you can insert a manual path to mrt/bin/

quiet

Logical. Default FALSE, its up to you to switsch to 'boring' alias FASLE. Not fully implemented!

Value

List or character. If SDSsting is provided the function reports extracted SDS and a formatted SDSsting. If not provided the SDS names in HdfName are plotted.

Author(s)

Matteo Mattiuzzi

See Also

getHDF

Examples

1
2
3
# runMRT()
# You can open the file specified by 'runMRT()' and modify it or test it!
# runMRT(ParaSource="OutputOf'runMRT()'")