Skip to main content

I tried to find the recent date of satellite images taken at specific bbox. Here is the catalog API result, and I have downloaded these photos by process API.


  • 2021-03-06

  • 2021-03-01

  • 2021-02-24

  • 2021-02-19

  • 2021-02-14

  • 2021-02-09

  • 2021-02-04

    Next I tried FIS with the same bbox to know statistical information of these photos, however, the result came with non-photo taking day only.

  • 2021-03-09

  • 2021-03-08

  • 2021-03-07

  • 2021-03-05

  • 2021-03-04

  • 2021-03-03

  • 2021-03-02

  • 2021-02-28

  • 2021-02-27

  • 2021-02-26

  • 2021-02-25

  • 2021-02-23

    Why could this happened and how could I get statistical information of photos with FIS request?

Hello

Would you mind sharing the FIS request code for the above? That way it will be easier to help you.


Thank you. This is very difficult problem.

First I found the image available day 2021-03-08 by catalog API.

bbox = [51.18, 36.54, 51.20, 36.56]
response = requests.post(‘https://services.sentinel-hub.com/api/v1/catalog/search’,
headers = {
“Content-Type”: “application/json”,
“Authorization” : “Bearer {}”.format(tokenr‘access_token’])
},
json = {
“collections”: =
“sentinel-2-l2a”
],
“datetime”: “2020-10-01T00:00:00Z/2021-03-30T23:59:59Z”,
“bbox”: bbox,
“limit”: 100
}
)

Then I downloaded the image of 2021-03-08 by process API.

bbox = m51.18, 36.54, 51.20, 36.56]
crs = “http://www.opengis.net/def/crs/EPSG/0/4326
input = {
“bounds”: {
“bbox”: bbox,
“properties”: {
“crs”: crs
}
},
“data”: {
“type”: “S2L2A”,
“dataFilter”: {
“timeRange”: {
“from”: “2021-03-08T00:00:00Z”,
“to”: “2021-03-08T23:59:59Z”
}
},
“processing”: {
“upsampling”: “BICUBIC”
}
}]
}
output = {
“resx”: 0.00002,
“resy”: 0.00002,
“responses”: :{
“identifier”: “TRUE”,
“format”: {
“type”: “image/png”
}
}]
}

To check the values of SCL, SNW, CLD, CLP and CLM of the image, I tried FIS request. CLOUDFLAG is a configured layer to output these 5 values. HOWEVER, I did not find the day 2021-03-08 from the returned information. Why is it? How can I find these 5 values of the day 2021-03-08?

FIS Request
https://services.sentinel-hub.com/ogc/fis/INSTANCE_ID?LAYER=CLOUDFLAG&CRS=EPSG:4326&TIME=2020-04-01/2021/03/31&RESOLUTION=10m&BBOX=51.18,36.54,51.20,36.56

Other than 2021-03-08, all the result from catalog API are excluded from the result of FIS request. Thank you for help.


We assume there are some requirements to specify the bbox values for FIS request. How is it? In terms of our service development schedule, we need to solve this problem earlier. Any comments would become help.


Dear,

From what I see you are doing the correct steps. The only reason you are getting different results with FIS is because you are specifying the lat/lon coordinates in the wrong order. The order changes depending on different standards. Please see this forum post.

With the following, you should get the same dates:

https://services.sentinel-hub.com/ogc/fis/INSTANCE_ID?LAYER=CLOUDFLAG&CRS=EPSG:4326&TIME=2020-04-01/2021/03/31&RESOLUTION=10m&BBOX=36.54,51.18,36.56,51.20


Hi, it certainly solved our issues. Thank you for your strong support!


Reply