Distance of Earth-Sun

How do you calculate theta?

Hello, fifauzan!

How do you calculate theta?
To get there:

Or get from file S2A_PRODUCT_NAME.SAFE/GRANULE/TILE_NAME/MTD_TL.xml (tag: Sun_Angles_Grid).

Hello, How do i write a band math expression to convert TOA Reflectance to TOA Radiance in SNAP.
Thank you. I am using this expression

1512.9 * 1.028880315 * B3 * cos(sun_zenith) / PI

u = 1.028880315
ESUN = 1512.9

ERROR: Referenced raster must all be of the same size.

Hello.

There is already an operator doing the conversion from reflectance to radiance, for Sentinel-2 products. You can find it under the menu Optical > Thematic Land Processing > Reflectance to Radiance.

The earth-sun distance in astronomical units excel spreadsheet file link is down, i find excel file at :

Download link is below:
https://prd-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/atoms/files/Earth-Sun_distance.xlsx