isce-framework / isce2

InSAR Scientific Computing Environment version 2
Other
480 stars 244 forks source link

Problems processing TerraSARX with stackStripMap.py #366

Open fgdiazm opened 2 years ago

fgdiazm commented 2 years ago

Hi everyone,

I am trying to process a group of TerraSARX images with stackStripMap.py, I managed to generate the SLCs with unpackFrame_TSX.py.

I am trying to apply stackStripMap.py with the following option

stackStripMap.py -s / home / work / geored-insar / Isce2 / Cartagena / TSX / ASC / SLC / -d / home / work / geored-insar / Isce2 /Cartagena/DEM/demLat_N09_N11_Lon_W077_W074.dem.wgs84 -x '10 .06 10.36 -75.62 -75.23 '-w ./ -W interferogram -m 20190104 --nofocus --zero --azimuth_looks 3 --range_looks 9 - f 0.6 -t 150 -b 250 -S TX But when I do I get the following message and I have not been able to move forward:

ops @ 4893514da1c7: / home / work / geored-insar / Isce2 / Cartagena / TSX / ASC $ stackStripMap.py -s / home / work / geored-insar / Isce2 / Cartagena / TSX / ASC / SLC / -d / home / work / geored-insar / Isce2 /Cartagena/DEM/demLat_N09_N11_Lon_W077_W074.dem.wgs84 -x '10 .06 10.36 -75.62 -75.23 '-w ./ -W interferogram -m 20190104 --nofocus --zero --azimuth_looks 3 - 9 - f 0.6 -t 150 -b 250 -S TX /opt/isce2/isce2/contrib/stack/stripmapStack/stackStripMap.py:5: DeprecationWarning: the imp module is deprecated in favor of importlib; see the module's documentation for alternative uses import os, imp, sys, glob This is the Open Source version of ISCE. Some of the workflows depend on a separate licensed package. To obtain the licensed package, please make a request for ISCE through the website: https://download.jpl.nasa.gov/ops/request/index.cfm. Alternatively, if you are a member, or can become a member of WinSAR you may be able to obtain access to a version of the licensed software at https://winsar.unavco.org/software/isce Sensor is not hard-coded (ers, envisat, alos), will keep default alks ['/ home / work / geored-insar / Isce2 / Cartagena / TSX / ASC / SLC / 20190228', '/home/work/geored-insar/Isce2/Cartagena/TSX/ASC/SLC/isce.log', ' / home / work / geored-insar / Isce2 / Cartagena / TS X / ASC / SLC / 20190104 ',' / home / work / geored-insar / Isce2 / Cartagena / TSX / ASC / SLC / 20200102 ',' / home / work / geored-insar / Isce2 / Cartagena / TSX / ASC / SLC / 20191130 ',' / home / work / geored-insa r / Isce2 / Cartagena / TSX / ASC / SLC / 20190322 ',' / home / work / geored -insar / Isce2 / Cartagena / TSX / ASC / SLC / 20190914 ',' / home / work / geored-insar / Isce2 / Cartagena / TSX / ASC / SLC / 20200308 ',' / h ome / work / geored-insar / Isce2 / Cartagena / TSX / ASC / SLC / 20200204 ',' / home / work / geored-insar / Isce2 / Cartagena / TSX / ASC / SLC / 20190607 ',' / home / work / geored-insar / Isce2 / Cartagena / TSX / AS C / SLC / 20191017 '] ['20190104', '20190228', '20190322', '20190607', '20190914', '20191017', '20191130', '20200102', '20200204', '20200308'] Traceback (most recent call last): File "/opt/isce2/isce2/contrib/stack/stripmapStack/stackStripMap.py", line 363, in main () File "/opt/isce2/isce2/contrib/stack/stripmapStack/stackStripMap.py", line 336, in main pairs = selectPairs (inps, stackReferenceDate, secondaryDates, acquisitionDates, doBaselines = True) File "/opt/isce2/isce2/contrib/stack/stripmapStack/Stack.py", line 745, in selectPairs baselineDict, timeDict = baselineStack (inps, stackReference, acuisitionDates, doBaselines) File "/opt/isce2/isce2/contrib/stack/stripmapStack/Stack.py", line 734, in baselineStack baselineDict [slv] = baselinePair (baselineDir, reference, secondary, doBaselines) File "/opt/isce2/isce2/contrib/stack/stripmapStack/Stack.py", line 705, in baselinePair bObj.wireInputPort (name = 'referenceFrame', object = mFrame) File "/opt/isce2/isce/components/iscesys/Component/Component.py", line 157, in method_with_flow return method (self) (* args, ** kwargs) File "/opt/isce2/isce/components/iscesys/Component/Component.py", line 259, in _wirePort raise PortError ("No% s port named% s"% (port_iterator.flow, name)) iscesys.Component.Component.PortError: 'No input port named referenceFrame'

I appreciate if you can help me solve this problem

Thanks

zhuhaxixiong commented 2 years ago

ISCE does not support TerraSAR data to do stack

fdelgadodelapuente commented 2 years ago

Yes it does. Here is one example where I stacked TSX interferograms processed with the stack processor in version 2.3.1 https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2021JB022341

fgdiazm commented 2 years ago

Hello Francisco,

Do you have any idea what's going on? Will I need any ISCE2 component?

I appreciate your valuable contribution

espiritocz commented 1 year ago

same error here. i guess there is no easy way through isce (but that makes sense)

fdelgadodelapuente commented 1 year ago

Remove --zero, do not use the -S flag and for the number looks use instead -r and -a