getSDS: List SDS in a MODIS grid file

Description Usage Arguments Value Author(s) See Also Examples

Description

This function just lists the names of the SDS of a spezified MODIS grid HDF file

Usage

1
getSDS(HdfName,SDSstring,MRTpath="check")

Arguments

HdfName

Character. File name or better filename with path (faster) to extract SDS names.

SDSstring

Character. If missing (default), the return is the list of available SDS in HdfName. If Present sequence of 1 and 0 for extracting/not extracting SDS layers. I.e.: "11101", Consult the MRT manual for detailes

MRTpath

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

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

getPATH

Examples

1
2
3
4
5
## Not run: 
getSDS(HdfName="XXX")
getSDS(HdfName="/path/XXX")

## End(Not run)


Search within the getMODIS package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.