Skip to content

Commit

Permalink
find unpacked .SAFE scenes in scene_dir (instead of just .zip)
Browse files Browse the repository at this point in the history
  • Loading branch information
johntruckenbrodt committed Jun 16, 2022
1 parent c43bff1 commit aea53a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S1_NRB/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def main(config_file, section_name='GENERAL', debug=False):

####################################################################################################################
# archive / scene selection
scenes = finder(config['scene_dir'], [r'^S1[AB].*\.zip$'], regex=True, recursive=True)
scenes = finder(config['scene_dir'], [r'^S1[AB].*(SAFE|zip)$'],
regex=True, recursive=True, foldermode=1)

if config['acq_mode'] == 'SM':
acq_mode_search = ('S1', 'S2', 'S3', 'S4', 'S5', 'S6')
Expand Down

0 comments on commit aea53a5

Please sign in to comment.