Skip to main content

Get_dates function for SentinelHubRequest

  • April 26, 2024
  • 1 reply
  • 134 views

Hello,

Is there any function similar to get_dates() that can work on sentinelHubRequests?
I have tried to use get_dates() on the my sentinelhubrequest (that uses evalscript) but it does not work and I recieve the following error message:

AttributeError: ‘SentinelHubRequest’ object has no attribute ‘get_dates’

I haven’t find any similar function in the documentation (I saw there is one specific for FIS and for WMS layers).
Is there any way to do so with sentinel hub requests?

1 reply

You should use CatalogAPI. See for instance example

Using the same parameters as for your SentinelHubRequest (time interval, data collection, bounding box/geometry), you can get available dates or even available tiles.