ISCE_INSAR/components/isceobj/Util
Scott Staniewicz 64768d4f36
Error messages (#105)
* 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
2020-03-27 21:59:13 -07:00
..
FieldInterpolator Adding all files 2019-01-16 11:40:08 -08:00
ImageUtil Error messages (#105) 2020-03-27 21:59:13 -07:00
Library Adding all files 2019-01-16 11:40:08 -08:00
cpxmag2rg Adding all files 2019-01-16 11:40:08 -08:00
denseoffsets Adding all files 2019-01-16 11:40:08 -08:00
estimateoffsets Adding all files 2019-01-16 11:40:08 -08:00
geo Remove internal usage of ISCE_HOME env variable 2020-02-03 14:01:57 -08:00
histogram Adding all files 2019-01-16 11:40:08 -08:00
include Adding all files 2019-01-16 11:40:08 -08:00
make_los Adding all files 2019-01-16 11:40:08 -08:00
offoutliers Adding all files 2019-01-16 11:40:08 -08:00
simamplitude Adding all files 2019-01-16 11:40:08 -08:00
src Adding all files 2019-01-16 11:40:08 -08:00
test Adding all files 2019-01-16 11:40:08 -08:00
SConscript Adding all files 2019-01-16 11:40:08 -08:00
StringUtils.py Adding all files 2019-01-16 11:40:08 -08:00
__init__.py Adding all files 2019-01-16 11:40:08 -08:00
decorators.py Adding all files 2019-01-16 11:40:08 -08:00
mathModule.py Adding all files 2019-01-16 11:40:08 -08:00
py2to3.py Adding all files 2019-01-16 11:40:08 -08:00