Hi,
I am trying to generate the view zenith and azimuth angles from the Sentinel-2 product. The data is stored as lists in the tile specific metadata file “product/S2A_MSIL1C…/GRANULE/MTD_TL.xml” as follows
When I try to make the “view angle” bands from the metadata, I iterate wrt. “detectorId” for all elements with same “bandId” and take the mean value for the arrays. My results are not entirely correct compared with the ESA Toolbox output, so I have a couple of questions:
-
When I compare my result with what I get from using the ESA SNAP Toolbox, some (less than 5% in my case) of the “azimuth_angles” have different values. Have I misinterpreted how the data is stored in the metadata?
-
And also, the list in “MTD_TL.xml” are 23x23, but the result in ESA SNAP Toolbox are 22x22. I don’t find the last column and row ESA Toolbox output.
Thank you in advance