Documentation of sentinelhub Python package
Introduction
The sentinelhub Python package is the official Python interface for Sentinel Hub services. It supports most of the services described in the Sentinel Hub documentation and any type of satellite data collections, including Sentinel, Landsat, MODIS, DEM, and custom collections produced by users.
The package also provides a collection of basic tools and utilities for working with geospatial and satellite data. It builds on top of well known packages such as numpy
, shapely
, pyproj
, etc. It is also a core dependency of eo-learn Python package for creating geospatial data-processing workflows.
The main package resources are GitHub repository, documentation page, and Sentinel Hub forum.
Content
A high-level overview of the main functionalities:
Sentinel Hub services
FIS,
authentication and rate-limit handling,
geospatial utilities
interface for geospatial objects and transformations,
large area splitting,
data collection objects,
IO tools,
download Sentinel-2 data from public AWS S3 buckets (required
[AWS]
package extension)restoration of .SAFE format,
L1C and L2A data,
command line interface,
Geopedia WMS and REST API.
Examples
The package has a collection of Jupyter notebooks with examples. They are available in the examples folder on GitHub and converted into documentation under Examples section.
Additionally, some examples are explained in Sentinel Hub webinar videos:
Blog posts
The package played a key role in many projects and use cases described at Sentinel Hub blog. The following blog posts are about the package itself:
Questions and Issues
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 channels.
License
See LICENSE.
Documentation content:
- Installation
- Configuration
- Logging
- Basic examples
- Sentinel Hub Process API
- Prerequisites
- Example 1: True color (PNG) on a specific date
- Example 2: True color mosaic of least cloudy acquisitions
- Example 3: All Sentinel-2’s raw band values
- Example 4: Save downloaded data to disk and read it from disk
- Example 5: Other Data Collections
- Example 6 : Multi-response request type
- Example 7 : Raw dictionary request
- Example 8 : Multiple timestamps data
- Data collections
- Search for available data
- Sentinel Hub OGC services
- Large area utilities
- Sentinel Hub Batch Processing
- Sentinel Hub Batch Statistical
- Bring Your Own COG
- Sentinel Hub Statistical API
- Sentinel Hub Feature Info Service (FIS)
- Accessing satellite data from AWS
- Downloading satellite data from AWS with command line
- Sentinel Hub Process API
- Advanced tutorials
- Package content
- Modules
- sentinelhub.api
- sentinelhub.areas
- sentinelhub.aws
- sentinelhub.base
- sentinelhub.config
- sentinelhub.constants
- sentinelhub.data_collections
- sentinelhub.data_collections_bands
- sentinelhub.data_utils
- sentinelhub.decoding
- sentinelhub.exceptions
- sentinelhub.download
- sentinelhub.geo_utils
- sentinelhub.geometry
- sentinelhub.geopedia
- sentinelhub.io_utils
- sentinelhub.os_utils
- sentinelhub.testing_utils
- sentinelhub.time_utils
- sentinelhub.types
- Modules