Hi,
I have downloaded Sentinel 2 raw data through the sentinelhub Python library*. Then, I read the .TIFF files with GDAL library and stored the data in a pandas.DataFrame.
* using Python library I can only download S2 raw data in their original format (UINT16), while when downloading through EO Browser I can get it also in FLOAT32.
I tried to calculate NDVI as (B8-B4)/(B8+B4) and I got Python float64 values. Unfortunately, these values are different from the ones I get when donwloading NDVI raw data in EO Browser.
Is this difference caused by the different format of input values (UINT16 vs FLOAT32)?
If so, is there a way to get FLOAT32 values for S2 raw data? (SampleType.FLOAT32 doesn’t work).
Thanks for your help.