Skip to content

Commit

Permalink
load_data.prep_aria: use try/except (revert insarlab#1216)
Browse files Browse the repository at this point in the history
  • Loading branch information
yunjunz committed Aug 1, 2024
1 parent f3122f5 commit 433ae7e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/mintpy/load_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,10 @@ def prepare_metadata(iDict):

## run
ut.print_command_line(script_name, iargs)
prep_module.main(iargs)
try:
prep_module.main(iargs)
except:
warnings.warn('prep_aria.py failed. Assuming its result exists and continue...')

elif processor == 'gmtsar':
# use the custom template file if exists & input
Expand Down

0 comments on commit 433ae7e

Please sign in to comment.