The following request over Boulder, CO:
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];