sentinelhub.aws.data_safe
Module for creating .SAFE structure with data collected from AWS
- class sentinelhub.aws.data_safe.SafeProduct(*args, **kwargs)[source]
Bases:
AwsProduct
Class implementing transformation of Sentinel-2 satellite products from AWS into .SAFE structure
- Parameters:
parent_folder – Folder where the fetched data will be saved.
bands – List of Sentinel-2 bands for request. If parameter is set to None all bands will be used.
metafiles – List of additional metafiles available on AWS (e.g.
['metadata', 'tileInfo', 'preview/B01', 'TCI']
). If parameter is set to None the list will be set automatically.config – A custom instance of config class to override parameters from the saved configuration.
args (Any) –
kwargs (Any) –
- get_requests()[source]
Creates product structure and returns list of files for download
- Returns:
list of download requests
- Return type:
Tuple[List[DownloadRequest], List[str]]
- get_safe_struct()[source]
Describes a structure inside tile folder of ESA product .SAFE structure
- Returns:
nested dictionaries representing .SAFE structure
- Return type:
- class sentinelhub.aws.data_safe.SafeTile(*args, **kwargs)[source]
Bases:
AwsTile
Class implementing transformation of Sentinel-2 satellite tiles from AWS into .SAFE structure
Initialization parameters are inherited from parent class
- get_requests()[source]
Creates tile structure and returns list of files for download.
- Returns:
list of download requests for
- Return type:
Tuple[List[DownloadRequest], List[str]]
- get_safe_struct()[source]
Describes a structure inside tile folder of ESA product .SAFE structure.
- Returns:
nested dictionaries representing .SAFE structure
- Return type: