parseLandSat8MetaDa​ta(filename)

Parsing LandSat 8 Meta Data
951 Downloads
Updated 2 Dec 2014

View License

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
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
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