Version 3.7.0
Changelog:
- Official support for Sentinel Hub Batch Statistical API:
- Implemented
SentinelHubBatchStatistical
andBatchStatisticalRequest
classes to serve as an interface for the API. - Implemented
monitor_batch_statistical_job
andmonitor_batch_statistical_analysis
utility functions for monitoring batch statistical jobs. - Implemented
AwsBatchResults
utility class for efficient loading of batch results from an S3 bucke. - Prepared a tutorial notebook.
- Various minor improvements of batch-related functionalities and added more tests.
- Implemented
- Upgrade of download procedure to support better access to information about responses:
- Implemented
DownloadResponse
object. - Changed the structure of
response.json
files in cached data to include info about response. - Changed the effect of
decode_data=False
parameter that is passed toDownloadClient.download
andDataRequest.get_data
methods. It used to provide raw response in bytes but now it provides instances ofDownloadResponse
object containing raw response, response headers, and more information about a response. - Larger changes in the internal structure of download clients.
- Implemented
- Parameter
show_progress
is now available for allDataRequest.get_data
andDataRequest.save_data
method calls. - Added
SHConfig.__eq__
method that compares object values. - Added
BBox.apply
,Geometry.apply
, andBBoxCollection.apply
methods. - Improved handling of User-Agent headers -
SentinelHubDownloadClient
now always includes them. - Removed references to rate limit headers that don't exist anymore from
SentinelHubRateLimit
. - Changed how the request payer is configured in
AwsDownloadClient
- parameterRequestPayer="requester"
is not hardcoded anymore. - Removed deprecated
DataSource
class, old LandsatDataCollection
names, andbase_url
parameter. - Various minor improvements in code, tests, and documentation.