Skip to content

Commit

Permalink
Fix bug in printing rejected scenes
Browse files Browse the repository at this point in the history
  • Loading branch information
Simran S Sangha committed May 9, 2024
1 parent 8d75f01 commit 77b82ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/ARIAtools/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ def __continuous_time__(self):
for item in self.products:
if item[0]['pair_name'] in track_rejected_pairs:
record_rejected_scenes.append(
item[1]['productBoundingBox'].split('"')[1])
item[1]['unwrappedPhase'].split('"')[1])

for record_rejected_scene in list(set(record_rejected_scenes)):
LOGGER.debug(os.path.basename(record_rejected_scene))
Expand Down Expand Up @@ -1225,7 +1225,7 @@ def __run__(self):
LOGGER.debug(
'Specifically, the following GUNW products were rejected:')
for i in self.files:
product_bboxes = [i[1]['productBoundingBox'].split('"')[1]
product_bboxes = [i[1]['unwrappedPhase'].split('"')[1]
for i in self.products]
if i not in product_bboxes:
LOGGER.debug(os.path.basename(i))
Expand Down

0 comments on commit 77b82ed

Please sign in to comment.