Skip to content

Commit 8b5a306

Browse files
committed
debugging stripmap single scene info
1 parent c4ba284 commit 8b5a306

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ost/generic/common_wrappers.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,14 +300,12 @@ def ls_mask(infile, outfile, logfile, config_dict):
300300
f'-Poutput=\'{str(outfile)}\''
301301
)
302302

303-
print(command)
304-
305303
# run command and get return code
306304
return_code = h.run_command(command, logfile)
307305

308306
# handle errors and logs
309307
if return_code == 0:
310-
logger.debug('Succesfully created a Layover/Shadow mask')
308+
logger.debug('Successfully created a Layover/Shadow mask')
311309
else:
312310
raise GPTRuntimeError(
313311
f'Layover/Shadow mask creation exited with error {return_code}. '

ost/s1/s1scene.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(self, scene_id, ard_type='OST_GTC', log_level=logging.INFO):
9090
# get acquisition mode
9191
if self.mode_beam == 'IW':
9292
self.acq_mode = "Interferometric Wide Swath"
93-
elif self.mode_beam == 'SM':
93+
elif self.mode_beam.startswith("S"):
9494
self.acq_mode = "Stripmap"
9595
elif self.mode_beam == 'EW':
9696
self.acq_mode = "Extra-Wide swath"

0 commit comments

Comments
 (0)