Metadata-Version: 2.1
Name: parse-landsat-xml
Version: 0.1.0
Summary: Search bulk Landsat metadata files, and then download the resulting Landsat scenes.
Home-page: https://github.com/and-viceversa/parse_landsat_xml
Author: AdamR
Author-email: 25871157+and-viceversa@users.noreply.github.com
License: This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org/>

Description: ## Parse Bulk Landsat Metadata
        
        USGS conveniently hosts a bulk metadata service located [here](https://www.usgs.gov/land-resources/nli/landsat/bulk-metadata-service).
        
        Less conveniently, you get a large metadata file with no way to parse it.
        
        This project implements a CLI to parse the bulk metadata files and output .xml
        based on the user's search parameters. It also creates a .txt file with each Landsat sceneID
        for use with [EarthExplorer](https://earthexplorer.usgs.gov/). Users can search by date-range, cloud cover percentage, and 
        whether a lat/lon point is within the scene.
        
        I've also included a quick script that uses [USGSDownload](https://github.com/lucaslamounier/USGSDownload/) to
        download the scenes from the output .txt file.
        
        A USGS EROS [account](https://ers.cr.usgs.gov/login/) is required if you want to download.
        
        ## Usage
        
        Flags:
        
        ```
        -f filename 
        -d YYYYMMDD_YYYYMMDD inclusive date range 
        -c max acceptable cloud cover in scene
        -b lat,lon boundary. the search only supports point based boundary.
        ```
        
        Example Usage:
        
        ```commandline
        cd /filepath/to/bulkmetadata
        parse_landsat_xml.py -f LANDSAT_8_C1.xml -d 20180101_20190101 -c 50 -b 12.114993-86.236176
        download_from_scene_list.py
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: Unlicense
Classifier: Topic :: Landsat :: data conversion
Description-Content-Type: text/markdown
