Hi,
I am processing index vegetation in different ways using SNAP, Python code and GDAL code.
In SNAP:
- Using xml file: applying Band Maths and building the expression.
- Using xml file: appliying Optical – Thematic Land Processing – Vegetation Radiometric Indices and selecting the index.
In both cases I have the same results.
However I have a different result if I only work with jp2 files.
- Adding only jp2 file from S2L2A product (File – Import - Generic Formats – JPEG 2000). I have used Band Math operator to build the expression and to get the GNDVI index. Here the result is lower than result obtained by SNAP processing.
Why I am processing only the jp2 file? Because I am processing the index through a Python code and GDAL code, and those take only jp2 files not a xml file.
Could anyone help me to understand it? Why I have different results?
Thanks in advance.