Forums » ISCE Forum »
Adding Ionospheric Correction in topsApp.py: interp1d error
Added by Lincoln Paul Olayta 7 months ago
Good day everyone,
I'd like to ask about the error we've encountered during our topsApp.py processing of Sentinel-1 data. The error ends with
"Traceback (most recent call last):
File "/home/arvinjay/anaconda3/envs/isce2/lib/python3.8/site-packages/isce/applications/topsApp.py", line 1041, in <module>
insar.run()
File "/home/arvinjay/anaconda3/envs/isce2/lib/python3.8/site-packages/isce/components/iscesys/Component/Application.py", line 142, in run
exitStatus = self._processSteps()
File "/home/arvinjay/anaconda3/envs/isce2/lib/python3.8/site-packages/isce/components/iscesys/Component/Application.py", line 405, in _processSteps
result = func(*pargs, **kwargs)
File "/home/arvinjay/anaconda3/envs/isce2/lib/python3.8/site-packages/isce/components/isceobj/TopsProc/Factories.py", line 40, in call
return self.method(self.other, *args, **kwargs)
File "/home/arvinjay/anaconda3/envs/isce2/lib/python3.8/site-packages/isce/components/isceobj/TopsProc/runIon.py", line 2644, in runIon
grd2ion(self, ionParam)
File "/home/arvinjay/anaconda3/envs/isce2/lib/python3.8/site-packages/isce/components/isceobj/TopsProc/runIon.py", line 1784, in grd2ion
f = interp1d(index, value, kind='cubic', fill_value="extrapolate")
NameError: name 'interp1d' is not defined"
Please see attached topsApp.xml, master.xml, slave.xml as well as the whole ionospheric processing error attached. Any help would be appreciated. Thank you so much!
Regards,
L.P. Olayta
Error_Ion.txt
- Terminal stdout with error
(233.5 kB)
isce.log (294.6 kB)
master.xml
(552 Bytes)
slave.xml
(551 Bytes)
topsApp.xml
(2.7 kB)
Replies (1)
RE: Adding Ionospheric Correction in topsApp.py: interp1d error - Added by Cunren Liang 7 months ago
This should be a known bug in:
https://github.com/isce-framework/isce2/blob/master/components/isceobj/TopsProc/runIon.py
It was caused by an update of this script, which removed importing interp1d by mistake.
It was already fixed. I guess you are using a version immediately after this update.
Cunren
(1-1/1)