Coordinates of the sub-swaths in IW / EW products

Hi everyone !

I’m working on a detection algorithm on Sentinel-1 IW GRD images. When an object is detected, I need to know on which sub-swath it is, therefore, I need the sub-swaths pixel coordinates (from which column to which column it goes).

Is this information somewhere in the metadata ? The nearest I found is the inputDimensions field, in which each swath has attributes numberOfInputSamples and numberOfInputLines. One could think that the numberOfInputSamples is the pixel width of the swath, but it is apparently a lot too wide to be that (one would expect it to be roughly a third of the image width but it is much higher for each swath).

Thanks in advance for your help !

I actually found it, so in case it is useful to anybody some day : you need to look into the swathBoundsList entries, where swath range positions are regularly updated along the azimuth axis.

1 Like

Is there a reason why you don’t want to terrain correct before or after running your detection algorithm?