I am using
sentinelhub.WcsRequest to query an image from Sentinel-2 L2A.
I would like to know if there is an easy way to query the closest next image available from the query date.
I have the date “16/01/2020” and my goal is to obtain an image (True color RGB) as soon as there is an image available after that date that fits the maxcc (maximum cloud coverage) requirement (for example maxcc = 0.3)
I could just search a large range of dates. For example, I could search in (“16/01/2020”, “16/02/2020”). But there is no guarantee that there will be an available image if I constrain the maxcc too much. If I do not find an image, then I would search in a larger range and so on, but I am trying to find a smarter way than this.
For that matter, I am also trying to get the latest date up to that query date. That is to say, the closest previous date available that fits the constraints.
Any help or guidance would be much appreciated!