The scale and offset values for the RasterBand extension on the assets use hardcoded values of scale=0.0001 and offset=0.
These are the correct values and there is no expectation that they would change in the Sentinel-2 data, however...the offsets are in the Sentinel-2 source metadata (in product_metadata.xml file -> BOA_ADD_OFFSET_VALUES_LIST).
Not sure if the scales are in the metadata at all, that may have to remain hardcoded.
The scale and offset values for the RasterBand extension on the assets use hardcoded values of scale=0.0001 and offset=0.
These are the correct values and there is no expectation that they would change in the Sentinel-2 data, however...the offsets are in the Sentinel-2 source metadata (in product_metadata.xml file -> BOA_ADD_OFFSET_VALUES_LIST).
Not sure if the scales are in the metadata at all, that may have to remain hardcoded.