isce-framework / fringe

Fine Resolution InSAR With Generalized Eigenvectors (FRInGE)
Apache License 2.0
81 stars 42 forks source link

Fix bug in unwrap_fringe.py #54

Closed vbrancat closed 3 years ago

vbrancat commented 3 years ago

This PR should fix the bug in unwrap_fringe.py. Right now, unwrap_fringe.py will fails if using the SNAPHU unwrapper without the XML metadata file.

A fix is to set the metadata variable to None when no metadata XML file is found.

@bjmarfito @hfattahi

bjmarfito commented 3 years ago

Tested it on macOS and it worked correctly. Thank you @vbrancat!

vbrancat commented 3 years ago

@bjmarfito thanks a lot for checking. Is there a way to get approval?