Use sat-api for running the API and updating it
This small library helps with generating landsat 8 metadata and upload it to Amazon S3 and/or ElasticSearch
$ pip install -r requirements.txt
$ python main.py --help
Usage: main.py [OPTIONS] <operations: choices: s3 | es | disk>
Options:
--start TEXT Start Date. Format: YYYY-MM-DD
--end TEXT End Date. Format: YYYY-MM-DD
--es-host TEXT Elasticsearch host address
--es-port INTEGER Elasticsearch port number
--folder TEXT Destination folder if is written to disk
--download Sets the updater to download the metadata file first
instead of streaming it
--download-folder TEXT The folder to save the downloaded metadata to.
Defaults to a temp folder
-v, --verbose
--help Show this message and exit.
Example:
$ python main.py s3 es --start='2016-01-01' --verbose
The Landsat8 Metadata Generator was made by Development Seed.