readMeta | R Documentation |
Reads metadata and deals with legacy versions of Landsat metadata files and where possible adds missing information (radiometric gain and offset, earth-sun distance).
readMeta(file, raw = FALSE)
file |
path to Landsat MTL file (...MTL.txt) |
raw |
Logical. If |
Object of class ImageMetaData
## Example metadata file (MTL)
mtlFile <- system.file("external/landsat/LT52240631988227CUB02_MTL.txt", package="RStoolbox")
## Read metadata
metaData <- readMeta(mtlFile)
## Summary
summary(metaData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.