Library to download Landsat imagery from AWS or Google Earth Engine servers
Project description
lc8_download
Utility to download Landsat imagery from AWS or Google Earth Engine servers.
It’s quite similar to landsat-util, but if you just need to download imagery and need the BQA band and metadata information, it can fit better for you.
Installation
pip install lc8_download
Usage
You can use lc8_download command line interface or use it as a Python library.
Command line interface
Usage: lc8_download [OPTIONS] <scene>
Options:
- -b
Bands to be downloaded. Use commas as delimiter. Example: ‘-b 2,3,4,BQA’
- --all
Download all bands and metadata
- --path
Directory where the files will be saved. Default: ~/landsat/
- --metadata
Download scene metadata file.
- --help
Show this message and exit.
For example:
lc8_download LC80030172015001LGN00 -b 2,3,4,BQA –metadata –path lc8/
Download the bands 2, 3, 4 and BQA of the scene LC80030172015001LGN00. Also download the metadata file and save all the files in the folder lc8.
Python Library
>>> from lc8_download import lc8 >>> scene = lc8.Downloader('LC80030172015001LGN00') >>> scene.download([2, 3, 4, 'BQA'], 'lc8/', True)
It will download the bands 2, 3, 4 and BQA and the metadata of the scene LC80030172015001LGN00 and save all the files in the folder lc8.
License
GPLv3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lc8_download-0.3.0.tar.gz
.
File metadata
- Download URL: lc8_download-0.3.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ee0b2586a8a1ffb023bebcebc250869163baf466173c16fc28fe229bb41e109 |
|
MD5 | 5f65f1f836105fe4e9195d0701deeaf4 |
|
BLAKE2b-256 | c7229a63800ac193d3c612c373d2073c717a4b7e67ba3e56fe8196eeb91e2de5 |
File details
Details for the file lc8_download-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: lc8_download-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14a88c90dd159cb038233733ab1e0636a7d071f9006f978f7024cc63f5c5d57b |
|
MD5 | de5453e9170a82a4823ccc420ec503dd |
|
BLAKE2b-256 | c6e26fe3f2e87b4c620d8f1c4f268f7f8e0eac7b654a68285f33617a91a0bb3f |