I was coding in Google Earth Engine and one of the functions I run for cloud and shadow masking used the MEAN_SOLAR_AZIMUTH_ANGLE property.
shadow_azimuth = ee.Number(90).subtract(ee.Number(img.get('MEAN_SOLAR_AZIMUTH_ANGLE')))
I'm now trying to replicate what I did on GEE locally in Python using the Sentinel-2 L2A product from Copernicus. I was trying to find this value in the .SAFE product but I just don't seem to find it. Is this a value that comes with the Sentinel product or is this value calculated by GEE? And if it is, is there a way I can calculate it myself?