Skip to content

Commit 6d25e4f

Browse files
[ESA.scanMetadata] fixed image geometry for WSM/WSS
1 parent c46214a commit 6d25e4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyroSAR/drivers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,9 +1610,9 @@ def scanMetadata(self):
16101610
meta['acquisition_mode'] = match2.group('image_mode')
16111611
meta['product'] = 'SLC' if meta['acquisition_mode'] in ['IMS', 'APS', 'WSS'] else 'PRI'
16121612

1613-
if meta['acquisition_mode'] in ['APS', 'IMS', 'WSM']:
1613+
if meta['acquisition_mode'] in ['APS', 'IMS', 'WSS']:
16141614
meta['image_geometry'] = 'SLANT_RANGE'
1615-
elif meta['acquisition_mode'] in ['APP', 'IMP']:
1615+
elif meta['acquisition_mode'] in ['APP', 'IMP', 'WSM']:
16161616
meta['image_geometry'] = 'GROUND_RANGE'
16171617
else:
16181618
raise RuntimeError(f"unsupported acquisition mode: '{meta['acquisition_mode']}'")

0 commit comments

Comments
 (0)