[Landsat-pds] Converting MTL.txt to JSON
Layton, Jeff
jefflay at amazon.com
Wed Feb 25 14:16:06 PST 2015
The original though was to put the JSON in the same folder as the TIF files. However, if there is a better idea, I'm all ears.
Thanks!
Jeff
From: landsat-pds-bounces at lists.osgeo.org [mailto:landsat-pds-bounces at lists.osgeo.org] On Behalf Of Peter Becker
Sent: Wednesday, February 25, 2015 5:05 PM
To: landsat-pds at lists.osgeo.org
Subject: Re: [Landsat-pds] Converting MTL.txt to JSON
Jeff
Is the plan to put such files in the same folder as the USGS TIF files, or have a separate set of folders in which such JSON files are put.
If the plan is not to include other files/products in the same folder (for download) then I would suggest another folder. Possibly 1 folder per Path/Row. Apps could then easily find a specified folder and find all available scenes. Possibly include a link to the folder in which the images are located.
_Peter
From: landsat-pds-bounces at lists.osgeo.org<mailto:landsat-pds-bounces at lists.osgeo.org> [mailto:landsat-pds-bounces at lists.osgeo.org] On Behalf Of Layton, Jeff
Sent: Wednesday, February 25, 2015 1:14 PM
To: landsat-pds at lists.osgeo.org<mailto:landsat-pds at lists.osgeo.org>
Subject: [Landsat-pds] Converting MTL.txt to JSON
Hello everyone,
I just joined the mailing list and I'm working with Jed from AWS (I work for AWS as well). The first project I did was write a simple Python tool to convert the MTL.txt files to JSON. I'm attaching a sample MTL file and the resulting JSON. Let me know what you think!
Thanks!
Jeff
Dr. Jeff Layton
Solutions Architect - HPC
Amazon Web Services
jefflay at amazon.com<mailto:jefflay at amazon.com>
678-310-3685
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/landsat-pds/attachments/20150225/9c36f5df/attachment.html>
More information about the Landsat-pds
mailing list