# NOT RUN {
## Example metadata file (MTL)
mtlFile <- system.file("external/landsat/LT52240631988227CUB02_MTL.txt", package="RStoolbox")
## Read metadata
metaData <- readMeta(mtlFile)
summary(metaData)
## Load rasters based on metadata file
lsat <- stackMeta(mtlFile)
lsat
# }
Run the code above in your browser using DataLab