Missing Sentinel-2 data with WMS query


#1

In our app integrating Sentinel-2 there are strange missing data as whited out areas with stark lines.

Initially I thought it was cloud, and changed the WMS options to cloud = 0. However there was no response and the error remains.

I have found this issue at several locations as shown by the following request urls (replace INSTANCEID):

https://services.sentinel-hub.com/ogc/wms/INSTANCEID?service=WMS&request=GetMap&layers=AGRICULTURE&styles=&format=image%2Fjpeg&transparent=false&version=1.1.1&maxcc=20&preset=AGRICULTURE&time=2019-3-1%2F2019-31-1%2FP1D&showLogo=false&height=256&width=256&srs=EPSG%3A3857&bbox=13071343.33299142,3698329.1765499692,13090911.212232426,3717897.0557909748

https://services.sentinel-hub.com/ogc/wms/INSTANCEID?service=WMS&request=GetMap&layers=AGRICULTURE&styles=&format=image%2Fjpeg&transparent=false&version=1.1.1&maxcc=20&preset=AGRICULTURE&time=2019-3-1%2F2019-31-1%2FP1D&showLogo=false&height=256&width=256&srs=EPSG%3A3857&bbox=13032207.57450941,3717897.0557909748,13071343.33299142,3757032.8142729844

Another case in different location:
https://services.sentinel-hub.com/ogc/wms/INSTANCEID?service=WMS&request=GetMap&layers=AGRICULTURE&styles=&format=image%2Fjpeg&transparent=false&version=1.1.1&maxcc=20&preset=AGRICULTURE&time=2019-3-1%2F2019-31-1%2FP1D&showLogo=false&height=256&width=256&srs=EPSG%3A3857&bbox=-13208318.487678455,4520180.104672186,-13188750.60843745,4539747.98391319

Please can you look into this error. The same error does not appear on the playground.


#2

There are several issues here, I believe:

  1. Sentinel Playground is “stitching” together images from different dates, so that it creates seamless image. If you go to “Effects” and click “Show dates”, you will see different dates. We do this on purpose as we want this to be simple for users. It is not most accurate though as the images might be from different dates. If you check EO Browser, you will notice that we only show single day. Again, on purpose, as EO Browser is meant for a bit more advanced set of users.
    You can get such a mosaic as well if you set a longer time interval, e.g. one month of data. You should also set MAXCC=100 (cloud coverage), so that you get all images on the chosen date.
  2. TIME parameter should be in ISO8601 format (check documentation).
    I am not sure, which time period you want to set, but 2019-3-1 is IMHO not in line with the standard. E.g. if you want to get imagery from 3rd of January 2019 to 31st of January 2019, you should set TIME=2019-01-03/2019-01-31

Second and third link are almost certainly on the border of the orbit so you will have to set a longer time period in TIME parameter if you want to get filled image.

I hope this helps?