Hi! I am new to snappy. Basically, I want to use snappy for SAR Calibration for Sentinel-1. For that, I need to perform some basic operations on the data set using snappy.
I need to create a subset, given the coordinates and the size of the subset, and calculate the mean intensity of all pixels of a particular band. (Same as using the “Statistics” function in the “Analysis” option in SNAP) . I need to do calculations based on the mean intensity.
Also, if possible can someone provide me with the snippet of code that calculates the mean?