Skip to main content

The following request over Boulder, CO:


https://services.sentinel-hub.com/ogc/fis/{INSTANCEID}?LAYER=CLOUD-STATISTICS-FIS&TIME=2020-09-23/2020-10-23/P1D&BBOX=-11714289.443427093,4872553.548459551,-11718506.244403891,4869035.599330028&RESOLUTION=200&MAXCC=100&crs=EPSG:3857


fails with the error:


java.util.concurrent.ExecutionException: com.sinergise.sentinel.java.io.manager.MissingFileException: Illegal request to https://sentinel-s2-l1c-index.s3.amazonaws.com/tiles/13/T/DE/2020/9/23/0/B04.index. HTTP Status: 403


It shouldn’t matter because everything else works but the CLOUD-STATSTICS-FIS layer is one I grabbed off the shelf and has the following script:


function index(x, y) {
return (x - y) / (x + y);
}

function clip(a) {
return Math.max(0, Math.min(1, a));
}

let bRatio = (B03 - 0.175) / (0.39 - 0.175);
let NGDR = index(B03, B04);

if (B11>0.1 && bRatio > 1) return n1];
if (B11 > 0.1 && bRatio > 0 && NGDR>0) return n1];
return n0];

Hi,

Probably similar issue here 500 and 403 error when doing a FIS query on a certain region

It should be fixed now.

Best


Reply