Units Improvements

Hi Users,

The concept of units on Sentinel Hub has been revamped and improved. The units for each band are now well defined in the docs. As a reminder, by specifying the units parameter in your evalscript, you can choose the physical quantity and corresponding units of measurement for the values of each band. The changes as specified in the docs will be available on Sentinel Hub shortly.

Starting Monday, November 1, 2021, Sentinel Hub will validate the units parameter in your evalscripts. This means that requests for bands in unsupported units will be rejected. This should only impact the requests, which are already now producing wrong results, so you should not be too worried about it. We will also use the upcoming month to monitor active requests, to see if there are some problematic use-cases.
This validation is temporarily disabled until then, so you have some time to correct any potential problematic evalscripts which have worked in the past.

For more information, and a list of supported units for each band of each data collection, see our docs. Here is a direct link to the units chapter for Sentinel-2 L2A, for example: https://docs.sentinel-hub.com/api/latest/data/sentinel-2-l2a/#units

Note also that the S2 L2A band AOT had its normalization corrected to 1000 from 10000. This change will also be in effect shortly.