Python libraries for extracting Sentinel-2's metadata from Amazon S3
Project description
This packages includes a few functions that facilitates extraction of Sentinel-2’s metadata from Amazon S3.
Installation
$ python setup.py install
Tests
$ python setup.py test
Example
import logging
from datetime import date
from sentinel_s3.main import range_metadata
def main():
start_date = date(2016, 2, 1)
end_date = date(2016, 3, 22)
return range_metadata(start_date, end_date, '.', 20)
if __name__ == '__main__':
logger = logging.getLogger('sentinel.meta.s3')
logger.setLevel(logging.DEBUG)
ch = logging.StreamHandler()
ch.setLevel(logging.INFO)
formatter = logging.Formatter('%(message)s')
ch.setFormatter(formatter)
logger.addHandler(ch)
result = main()
print(result)
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
sentinel-s3-0.1.0.tar.gz
(5.4 kB
view details)
File details
Details for the file sentinel-s3-0.1.0.tar.gz
.
File metadata
- Download URL: sentinel-s3-0.1.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0942fe8dc2a035e71fe767559ea29690b06e0458066014b857ac4446b734eff7 |
|
MD5 | 28a8c8a2ba2ef10e80bf282d1b44ea3e |
|
BLAKE2b-256 | 9fe71b1d616b468ae1a038a69f6978f5001bb2675ce3f7a3b95ca4632f07b065 |