I am trying to get a list of images to display with WFS to offer users dates to pick and then request via WMS. However, I must be missing something because WFS says there are images on days where there is full cloud cover. I’ve seen this other topic but my issue seems different (my CC settings are at 100%).
The WFS request:
https://services.sentinel-hub.com/ogc/wfs/{instance_id}/?SERVICE=WFS&REQUEST=GetFeature&TYPENAMES=DSS1&srsName=EPSG:4326&BBOX=24.158889,43.739479,24.201141,43.770365
The result (only dates of interest) is below. Note that on 2022-05-18, the region of interest is covered in clouds (at least when I look on EO Browser, I can post screenshots if you need it), however the WFS returns cloudCoverPercentage=0
. Note also that that image is from S2B and the time-adjacent ones are S2A (not sure if it’s related).
<wfs:member>
<DSS1>
<gml:boundedBy>
<gml:Box srsName='urn:ogc:def:crs:EPSG::4326'>
<gml:coordinates>
23.409418550802584,43.02776041998567 24.410804785425874,44.11710577676743
</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<id>S2A_OPER_MSI_L1C_TL_ATOS_20220523T105844_A036125_T38QLM_N04.00</id>
<date>2022-05-23</date>
<time>07:53:21</time>
<path>s3://sentinel-s2-l1c/tiles/38/Q/LM/2022/5/23/0</path>
<crs>EPSG:32638</crs>
<mbr>300000,2590200 409800,2700000</mbr>
<cloudCoverPercentage>0</cloudCoverPercentage>
<geometryProperty>
<gml:MultiPolygon srsName='urn:ogc:def:crs:EPSG::4326'>
<gml:polygonMember>
<gml:Polygon>
<gml:outerBoundaryIs>
<gml:LinearRing>
<gml:coordinates>
24.400572094005753,43.02776041998567 23.409418550802584,43.042747299960745 23.419185988386648,44.11710577676743 24.410804785425874,44.110341127863464 24.400572094005753,43.02776041998567
</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</gml:polygonMember>
</gml:MultiPolygon>
</geometryProperty>
</DSS1>
</wfs:member>
<wfs:member>
<DSS1>
<gml:boundedBy>
<gml:Box srsName='urn:ogc:def:crs:EPSG::4326'>
<gml:coordinates>
23.409418550802584,43.02776041998567 24.410804785425874,44.11710577676743
</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<id>S2B_OPER_MSI_L1C_TL_2BPS_20220518T082356_A027145_T38QLM_N04.00</id>
<date>2022-05-18</date>
<time>07:53:14</time>
<path>s3://sentinel-s2-l1c/tiles/38/Q/LM/2022/5/18/0</path>
<crs>EPSG:32638</crs>
<mbr>300000,2590200 409800,2700000</mbr>
<cloudCoverPercentage>0</cloudCoverPercentage>
<geometryProperty>
<gml:MultiPolygon srsName='urn:ogc:def:crs:EPSG::4326'>
<gml:polygonMember>
<gml:Polygon>
<gml:outerBoundaryIs>
<gml:LinearRing>
<gml:coordinates>
24.400572094005753,43.02776041998567 23.409418550802584,43.042747299960745 23.419185988386648,44.11710577676743 24.410804785425874,44.110341127863464 24.400572094005753,43.02776041998567
</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</gml:polygonMember>
</gml:MultiPolygon>
</geometryProperty>
</DSS1>
</wfs:member>
<wfs:member>
<DSS1>
<gml:boundedBy>
<gml:Box srsName='urn:ogc:def:crs:EPSG::4326'>
<gml:coordinates>
23.409418550802584,43.02776041998567 24.410804785425874,44.11710577676743
</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<id>S2A_OPER_MSI_L1C_TL_ATOS_20220513T082812_A035982_T38QLM_N04.00</id>
<date>2022-05-13</date>
<time>07:53:18</time>
<path>s3://sentinel-s2-l1c/tiles/38/Q/LM/2022/5/13/0</path>
<crs>EPSG:32638</crs>
<mbr>300000,2590200 409800,2700000</mbr>
<cloudCoverPercentage>0</cloudCoverPercentage>
<geometryProperty>
<gml:MultiPolygon srsName='urn:ogc:def:crs:EPSG::4326'>
<gml:polygonMember>
<gml:Polygon>
<gml:outerBoundaryIs>
<gml:LinearRing>
<gml:coordinates>
24.400572094005753,43.02776041998567 23.409418550802584,43.042747299960745 23.419185988386648,44.11710577676743 24.410804785425874,44.110341127863464 24.400572094005753,43.02776041998567
</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</gml:polygonMember>
</gml:MultiPolygon>
</geometryProperty>
</DSS1>
</wfs:member>
I set one of my indices, MOISTURE_INDEX, to cloud cover = 100%, mosaic = most recent. Then I get an image full of clouds (as in EO Browser) for the region of interest. If I set the cloud cover to 20%, I get the image from 2022-15-03 (as expected when there are clouds on 2022-05-18).
I’ve also tried passing the parameter “MAXCC=20” to the WFS request, and it still returns the image on 2022-05-18.
Everything seems consistent in WMS, but the WFS returns cloud cover of 0% for 2022-05-18. Any idea why? Am I missing some setting? Thanks!