download.sentinelhub_client

Module implementing a rate-limited multi-threaded download client for downloading from Sentinel Hub service

class sentinelhub.download.sentinelhub_client.SentinelHubDownloadClient(*, session=None, **kwargs)[source]

Bases: sentinelhub.download.client.DownloadClient

Download client specifically configured for download from Sentinel Hub service

Parameters:
  • session (SentinelHubSession or None) – An OAuth2 session with Sentinel Hub service
  • kwargs – Optional parameters from DownloadClient
download(*args, **kwargs)[source]

The main download method

Parameters:
  • args – Passed to DownloadClient.download
  • kwargs – Passed to DownloadClient.download
get_session()[source]

Provides the session object used by the client

Returns:A Sentinel Hub session object
Return type:SentinelHubSession