fis

Module for working with Sentinel Hub FIS service

class sentinelhub.fis.FisService(**kwargs)[source]

Bases: sentinelhub.ogc.OgcImageService

Sentinel Hub OGC services class for providing FIS data

Intermediate layer between FIS requests and the Sentinel Hub FIS services.

Parameters:
  • base_url (str or None) – base url of Sentinel Hub’s OGC services. If None, the url specified in the configuration file is taken.
  • instance_id (str or None) – user’s instance id granting access to Sentinel Hub’s OGC services. If None, the instance ID specified in the configuration file is taken.
get_request(request)[source]

Get download requests

Create a list of DownloadRequests for all Sentinel-2 acquisitions within request’s time interval and acceptable cloud coverage.

Parameters:request (OgcRequest or GeopediaRequest) – OGC-type request with specified bounding box, time interval, and cloud coverage for specific product.
Returns:list of DownloadRequests
static get_filename(request, geometry)[source]

Returns the filename location on disk where data is or is going to be stored. The files are stored in the folder specified by the user when initialising OGC-type of request. The name of the file has the following structure:

{service_type}_{layer}_{geometry}_{crs}_{start_time}_{end_time}_{resolution}_{bins}_{histogram_type}_ *{custom_url_params}.json

Parameters:
Returns:

filename for this request

Return type:

str