image thumbnail

parseLandSat8MetaDa​ta(filename)

version 1.3.0.0 (2.82 KB) by Mohammad Abouali
Parsing LandSat 8 Meta Data

882 Downloads

Updated 02 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 (2021). 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!