Originally reported by @yunjunz at insarlab/MintPy#540 (comment)
Sentinel-1 headings are expressed in degrees counter-clockwise from north in the annotation xml files provided with SLC products (around -12 degrees for ascending scenes and -168 for descending scenes).
For descending pairs, the heading attribute for InSAR products is expressed in degrees clockwise from north in the .txt metadata file (around 193 degrees).
descending.txt
GAMMA's SLC_copy_S1_TOPS program appears to be the culprit, an input .par file with a -168 heading generates an output .par file with a positive heading.
https://github.com/ASFHyP3/hyp3-gamma/blob/develop/hyp3_gamma/insar/ifm_sentinel.py#L335
https://github.com/ASFHyP3/hyp3-lib/blob/8594f68c4496c9c0ad1fcdc704c3c8a59f90cc70/hyp3lib/SLC_copy_S1_fullSW.py#L31
This does not appear to impact InSAR products generated from ascending pairs; the heading is still expressed as ~-12 degrees.
ascending.txt
Originally reported by @yunjunz at insarlab/MintPy#540 (comment)
Sentinel-1 headings are expressed in degrees counter-clockwise from north in the annotation xml files provided with SLC products (around
-12degrees for ascending scenes and-168for descending scenes).For descending pairs, the
headingattribute for InSAR products is expressed in degrees clockwise from north in the.txtmetadata file (around193degrees).descending.txt
GAMMA's
SLC_copy_S1_TOPSprogram appears to be the culprit, an input.parfile with a-168heading generates an output.parfile with a positive heading.https://github.com/ASFHyP3/hyp3-gamma/blob/develop/hyp3_gamma/insar/ifm_sentinel.py#L335
https://github.com/ASFHyP3/hyp3-lib/blob/8594f68c4496c9c0ad1fcdc704c3c8a59f90cc70/hyp3lib/SLC_copy_S1_fullSW.py#L31
This does not appear to impact InSAR products generated from ascending pairs; the heading is still expressed as ~
-12degrees.ascending.txt