-
Notifications
You must be signed in to change notification settings - Fork 299
Closed
Description
I'm trying to exclude a bunch of inferferograms using e.g.:
mintpy.network.excludeIfgIndex = 67,68,84
However, it can't read the input:
File "/Users/bb/Software_InSAR/MintPy_git/mintpy/modify_network.py", line 142, in <listcomp>
c = sorted([int(i) for i in idx.split(':')])
ValueError: invalid literal for int() with base 10: '[67'
That extra '[' is added early on, my guess is when reading the template file. More specifically, adding print (value) on line 172 of modify_network.py results in the string: [67, 68, 84] for key = excludeIfgIndex
-- UPDATE --
This appears to not be the root of the problem. I originally entered mintpy.network.excludeIfgIndex = [67,68,84] , which caused the bug above. However, correcting the error (and indeed setting mintpy.network.excludeIfgIndex = None) causes the same error above to be raised. So for some reason, MintPy is not correctly reading the input file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels