SIGN IN

If you want to get float values out of the service, you will have to use 32-bit float image type (as basic 8 and 16bit tiff files only support integeres).

You can define a Custom script along the following lines:

              var ndvi = (B08-B04)/(B08+B04); 
                return [ndvi]; 

 

You can either save this in Configuration utility or you can pass it as EVALSCRIPT parameter. For the latter the example of the call is:

https://services.sentinel-hub.com/ogc/wms/<INSTANCE_ID>?service=WMS&request=GetMap&layers=MY_LAYER&format=image/tiff;depth=32f&maxcc=20&time=
2015-01-01%2F2017-12-05&height=512&width=512&srs=EPSG%3A3857&bbox=1817366.784508351,
5882593.696827164,1819812.7694134766,5885039.681732289&EVALSCRIPT=dmFyIG5kdmkgPSAoQjA4LUIwNCkvKEIwOCtCMDQpOw0KcmV0dXJuIFtuZHZpXTs=

We suggest to also check the FAQ about details of internal calculation.