ISCE_INSAR/components/iscesys/Component
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
..
Application.py Error messages (#105) 2020-03-27 21:59:13 -07:00
Component.py Adding all files 2019-01-16 11:40:08 -08:00
Configurable.py Remove internal usage of ISCE_HOME env variable 2020-02-03 14:01:57 -08:00
FactoryInit.py Adding all files 2019-01-16 11:40:08 -08:00
InitFromDictionary.py Adding all files 2019-01-16 11:40:08 -08:00
InitFromFile.py Adding all files 2019-01-16 11:40:08 -08:00
InitFromObject.py Adding all files 2019-01-16 11:40:08 -08:00
InitFromXmlFile.py Adding all files 2019-01-16 11:40:08 -08:00
ProductManager.py Adding all files 2019-01-16 11:40:08 -08:00
SConscript Adding all files 2019-01-16 11:40:08 -08:00
TraitSeq.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
manager.py Adding all files 2019-01-16 11:40:08 -08:00