Skip to content

Version 3.7.0

Compare
Choose a tag to compare
@AleksMat AleksMat released this 16 Aug 12:20
· 187 commits to master since this release

Changelog:

  • Official support for Sentinel Hub Batch Statistical API:
    • Implemented SentinelHubBatchStatistical and BatchStatisticalRequest classes to serve as an interface for the API.
    • Implemented monitor_batch_statistical_job and monitor_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.
  • 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 to DownloadClient.download and DataRequest.get_data methods. It used to provide raw response in bytes but now it provides instances of DownloadResponse object containing raw response, response headers, and more information about a response.
    • Larger changes in the internal structure of download clients.
  • Parameter show_progress is now available for all DataRequest.get_data and DataRequest.save_data method calls.
  • Added SHConfig.__eq__ method that compares object values.
  • Added BBox.apply, Geometry.apply, and BBoxCollection.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 - parameter RequestPayer="requester" is not hardcoded anymore.
  • Removed deprecated DataSource class, old Landsat DataCollection names, and base_url parameter.
  • Various minor improvements in code, tests, and documentation.