The sentinelhub Python package allows users to make OGC (WMS and WCS) web requests to download and process satellite images within your Python scripts. It supports Sentinel-2 L1C and L2A, Sentinel-1, Landsat 8, MODIS and DEM data source.
The package also supports obtaining data from Amazon Web Service. It can either provide data from public bucket with Sentinel-2 L1C imagery or requester pays bucket with Sentinel-2 L2A imagery. If specified the downloaded data can be stored in ESA .SAFE format (all types of .SAFE format are supported).
The package requires a Python version >= 3.6 and installed C/C++ compiler. The package is available on the PyPI package manager and can be installed with
$ pip install sentinelhub --upgrade
Alternatively, the package can be installed with Conda from conda-forge
channel
conda install -c conda-forge sentinelhub
To install the package manually, clone the repository and
$ python setup.py build
$ python setup.py install
Before installing sentinelhub-py
on Windows it is recommended to install package shapely
from
Unofficial Windows wheels repository
Once installed or updated the package can be configured according to instructions in documentation.
Some of the major features are linked to one's Sentinel Hub account:
The package allows to download Sentinel-2 data from Sentinel-2 on AWS and reconstruct data into ESA .SAFE format.
The following are implemented:
In case of Sentinel-2 L2A data AWS access key is required.
For more information on the package and to access the documentation, visit readthedocs.
Jupyter notebooks on how to use the modules to execute OGC requests, or download raw data from AWS in .SAFE format can be found in the examples folder, or viewed in the docs:
Feel free to ask questions about the package and its use cases at Sentinel Hub forum or raise an issue on GitHub.
You are welcome to send your feedback to the package authors, Sentinel Hub research team, through any of Sentinel Hub communication channel.
See LICENSE.