* move `val` definition to avoid undefined Currently, with only one swath, or not enough points, val doesnt get defined, so this error gets thrown: File ".../isce/components/isceobj/TopsProc/runESD.py", line 115, in runESD if val.size == 0 : UnboundLocalError: local variable 'val' referenced before assignment the `np.array` is added so that the `val.size` check makes sense, as opposed to doing `.size` on a list * fix string formats in error messages |
||
---|---|---|
.. | ||
DemImageLib.py | ||
ImageLib.py | ||
SConscript | ||
__init__.py |