Closed jdries closed 1 year ago
@jdries Where should the scaling happen?
I checked behind connection.load_collection("SENTINEL2_L2A", ...
that in it's turn loaded this URL, but there is no BOA_ADD_OFFSET here.
no, because that loads from terrascope, which has the offset already applied. The problem only occurs on creodias/CDSE. You can use the new copernicus dataspace website to look for an example product.
The scala code now gives the same values as in Terrascope:
Sentinel-2 L2A products processed with latest version have a scale and offset that needs to be applied, otherwise users will get unexpected results.
The default offset seems to be -1000 for all bands, but need to check product baseline.