Skip to main content

Failed requests for B10

  • April 26, 2024
  • 2 replies
  • 247 views

Any time I try to call WCS or FIS request that includes B10 I get following error: Failed to evaluate script. If I exchangge the B10 for anything else, it works fine. May I missing something about this particular band? Thanks a lot.

Here is the link, I purposely did not include the key.
http://services.sentinel-hub.com/ogc/fis/MYKEY?LAYER=B10&CRS=EPSG%3A32633&TIME=2018-01-01/2018-10-02&maxcc=100&ATMFILTER=NONE&GEOMETRY=POLYGON%20((525641.8421921375%205204225.893007878%2C%20525627.6408088806%205204179.034634215%2C%20525633.5598051763%205204162.908870966%2C%20525686.462723256%205204181.076696412%2C%20525742.4969073815%205204196.578097589%2C%20525795.8629069654%205204209.677090894%2C%20525846.0525645679%205204220.112727652%2C%20525871.9448404986%205204224.35812091%2C%20525869.783030502%205204253.021359717%2C%20525866.6383166112%205204260.198178914%2C%20525848.3693053022%205204264.163199544%2C%20525828.9688246613%205204265.040690903%2C%20525641.8421921375%205204225.893007878))&RESOLUTION=10&STYLE=sensor

Here comes the identification of the layer in my configuration utility:
let viz = new Identity();

function evaluatePixel(samples) {
let val = samples[0].B10;
return viz.process(val);
}

function setup(ds) {
setInputComponents([ds.B10]);
setOutputComponentCount(1);
}

2 replies

You are correct. Sorry for not noticing this.


Might it be that you are trying to do this on L2A data source? This one does not have B10 band.
If it is on L1C, I will investigate further.