Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sat-utils/sat-download
[DEPRECATED] Used by landsat-util for downloading landsat and sentinel-2 data
https://github.com/sat-utils/sat-download
Last synced: about 2 months ago
JSON representation
[DEPRECATED] Used by landsat-util for downloading landsat and sentinel-2 data
- Host: GitHub
- URL: https://github.com/sat-utils/sat-download
- Owner: sat-utils
- License: mit
- Created: 2016-04-01T20:37:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-30T18:50:42.000Z (over 8 years ago)
- Last Synced: 2024-08-01T17:32:02.866Z (5 months ago)
- Language: Python
- Homepage:
- Size: 38.1 KB
- Stars: 35
- Watchers: 7
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-sentinel - **`sat-download`**
- awesome-sentinel - **`sat-download`**
README
sat-downloader
++++++++++++++.. image:: https://travis-ci.org/sat-utils/sat-download.svg?branch=master
:target: https://travis-ci.org/sat-utils/sat-downloadA python library for download Satellite Imagery. Currently support Landsat-8 and Sentinel-2A.
Installation
============::
$ python setup.py install
or::
$ pip install git+git://github.com/sat-utils/sat-download.git@master
Tests
=====::
$ python setup.py test
Example
=======::
>>> from sdownloader import Landsat8
>>> from tempfile import mkdtemp
>>> temp_folder = mkdtemp()
>>> l = Landsat8(download_dir=temp_folder)
>>> scenes = l.download(['LC80010092015051LGN00', 'LC82050312015136LGN00'], bands=[4,3,2])
100% 40.3 MiB 6.2 MiB/s 0:00:00 ETA
100% 38.1 MiB 6.1 MiB/s 0:00:00 ETA
100% 38.0 MiB 5.2 MiB/s 0:00:00 ETA
100% 504.7 KiB 263.1 KiB/s 0:00:00 ETA
100% 7.4 KiB 7.4 KiB/s 0:00:00 ETA
100% 60.5 MiB 6.4 MiB/s 0:00:00 ETA
100% 59.8 MiB 6.9 MiB/s 0:00:00 ETA
100% 59.2 MiB 7.0 MiB/s 0:00:00 ETA
100% 2.5 MiB 978.2 KiB/s 0:00:00 ETA
100% 7.7 KiB 7.7 KiB/s 0:00:00 ETA
>>> print(scenes)
[Scenes]: Includes 2 scenes
>>> [s.name for s in scenes]
['LC80010092015051LGN00', 'LC82050312015136LGN00']
>>> {s.name: s.files for s in scenes}
{'LC82050312015136LGN00': ['./LC82050312015136LGN00/LC82050312015136LGN00_B4.TIF', './LC82050312015136LGN00/LC82050312015136LGN00_B3.TIF', './LC82050312015136LGN00/LC82050312015136LGN00_B2.TIF', './LC82050312015136LGN00/LC82050312015136LGN00_BQA.TIF', './LC82050312015136LGN00/LC82050312015136LGN00_MTL.txt', './LC82050312015136LGN00/LC82050312015136LGN00_BQA.TIF'], 'LC80010092015051LGN00': ['./LC80010092015051LGN00/LC80010092015051LGN00_B4.TIF', './LC80010092015051LGN00/LC80010092015051LGN00_B3.TIF', './LC80010092015051LGN00/LC80010092015051LGN00_B2.TIF', './LC80010092015051LGN00/LC80010092015051LGN00_BQA.TIF', './LC80010092015051LGN00/LC80010092015051LGN00_MTL.txt']}About
=====
Sat Download was made by `Development Seed `_.