Jump to content

Help with Landsat ARD Metadata?


Recommended Posts

So i've been using landsat data for some of the research that I do, and the application I use if ENVI. I haven't had too much difficulty, it has a built in feature to open georeferenced files with metadata just by opening the MTL.txt that the landsat data generates when you unzip it.

However, the new Analysis Ready Data (ARD) that I really want to try and use, generates a .xml file for the metadata and ENVI doesn't know what to do with it. I've tried converting to a .txt and changing the name, but that didn't work.

Anyone else get the ARD to work, or am I just using it wrong?

Link to comment
Share on other sites

  • 2 weeks later...

The .MTL.txt is a text file and the ARD .xml is an XML.  You cannot just change the extension and expect an xml schema to be parsed like the text file.  Harris has not developed a parser for this yet, but they will likely do it in the future just like reading in Sentinel-2 .xml.  

In the mean time, you can simply develop your code in IDL to parse the XML file and pull the metadata of interest.  Those parameters can be used in an ENVITask workflow chain.  I had to do this when the Collection-1 MTL changed from the original and broke the ENVI parser.  The GeoTiFF itself will open like any other image.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

Disable-Adblock.png

 

If you enjoy our contents, support us by Disable ads Blocker or add GIS-area to your ads blocker whitelist