Skip to content

Commit 2e9e300

Browse files
authored
bugfix in load_data for empty path due to the new iono file in auto_path (#826)
+ load_data.py: bugfix when empty file path found, introduced in load iono stack PR 780, due to the additional new iono file path defined in defaults/auto_path.py.
1 parent ef31de5 commit 2e9e300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mintpy/load_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ def prepare_metadata(iDict):
766766
geom_names = ['dem', 'lookupY', 'lookupX', 'incAngle', 'azAngle', 'shadowMask', 'waterMask']
767767
geom_keys = ['mintpy.load.{}File'.format(i) for i in geom_names]
768768
geom_files = [os.path.basename(iDict[key]) for key in geom_keys
769-
if (iDict.get(key, 'auto') != 'auto')]
769+
if iDict.get(key, 'auto') not in ['auto', 'None', 'no', None, False]]
770770

771771
# compose list of input arguments
772772
iargs = ['-m', meta_file, '-g', geom_dir]

0 commit comments

Comments
 (0)