parseLandSat8MetaData(filename)
This function parses the meta data of Land Sat 8 and returns all fields as a structure.
Example:
mdata=parseLandSat8MetaData('LC80270292014198LGN00_MTL.txt')
disp(mdata.L1_METADATA_FILE.PROJECTION_PARAMETERS)
MAP_PROJECTION: 'UTM'
DATUM: 'WGS84'
ELLIPSOID: 'WGS84'
UTM_ZONE: 15
GRID_CELL_SIZE_PANCHROMATIC: 15
GRID_CELL_SIZE_REFLECTIVE: 30
GRID_CELL_SIZE_THERMAL: 30
ORIENTATION: 'NORTH_UP'
RESAMPLING_OPTION: 'CUBIC_CONVOLUTION'
Cite As
Mohammad Abouali (2024). parseLandSat8MetaData(filename) (https://www.mathworks.com/matlabcentral/fileexchange/48614-parselandsat8metadata-filename), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Data Import and Export >
- Radar > Mapping Toolbox > Data Import and Export >
- Mathematics and Optimization > Mapping Toolbox > Map Display >
- Radar > Mapping Toolbox > Map Display >
Tags
Acknowledgements
Inspired: How to drape Landsat images over Bedmap2 topography, L8read Landsat 8 Level 1 tiff reader, landsat
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.3.0.0 | - just adding a photo for this file. |
||
1.2.0.0 | - Making sure all groups and sub groups where processed properly (So there was an END_GROUP for each GROUP.) |
||
1.1.0.0 | - Removing a bug in the code that was complaining about meta data although it was complete. |
||
1.0.0.0 |