Hi Yunjun,
I have previously used mintpy to process a stack of Sentinel-1 interferograms, obtained via the ISCE command stackSentinel.py, and smallbaselineApp.py successfully generates the InSAR timeseries.
Recently I recreate the stack with updated interferograms. Although, the ISCE process finished with success, I ran into the following error after executing smallbaselineApp.py (version v1.3.0-12):
******************** step - load_data ********************
load_data.py --template /data/not_backed_up/gcheng6/Makran/InSAR/p151b/mintpy/smallbaselineApp.cfg /data/not_backed_up/gcheng6/Makran/InSAR/p151b/mintpy/MakranSenDT151.txt --project MakranSenDT151
processor : isce
SAR platform/sensor : Sen
--------------------------------------------------
prepare metadata files for isce products
prep_isce.py -m ../reference/IW1.xml -g ../merged/geom_reference -b ../baselines -d ../merged/interferograms -f filt_*.unw
extract metadata from ISCE/topsStack xml file: ../reference/IW1.xml
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
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 sofware at
/home/gcheng6/tools/MintPy/mintpy/load_data.py:666: UserWarning: prep_isce.py failed. Assuming its result exists and continue...
warnings.warn('prep_isce.py failed. Assuming its result exists and continue...')
--------------------------------------------------
searching interferometric pairs info
input data files:
unwrapPhase : ../merged/interferograms/*/filt_*.unw
coherence : ../merged/interferograms/*/filt_*.cor
connectComponent: ../merged/interferograms/*/filt_*.unw.conncomp
number of unwrapPhase : 423
number of coherence : 423
number of connectComponent: 423
Traceback (most recent call last):
File "/home/gcheng6/tools/MintPy/mintpy/smallbaselineApp.py", line 1255, in <module>
main(sys.argv[1:])
File "/home/gcheng6/tools/MintPy/mintpy/smallbaselineApp.py", line 1237, in main
app.run(steps=inps.runSteps)
File "/home/gcheng6/tools/MintPy/mintpy/smallbaselineApp.py", line 1029, in run
self.run_load_data(sname)
File "/home/gcheng6/tools/MintPy/mintpy/smallbaselineApp.py", line 343, in run_load_data
mintpy.load_data.main(iargs)
File "/home/gcheng6/tools/MintPy/mintpy/load_data.py", line 778, in main
stackObj = read_inps_dict2ifgram_stack_dict_object(iDict)
File "/home/gcheng6/tools/MintPy/mintpy/load_data.py", line 430, in read_inps_dict2ifgram_stack_dict_object
date12 = readfile.read_attribute(dsPath)['DATE12'].replace('_','-')
KeyError: 'DATE12'
I do not know what could cause this error. The only difference I see between the old and new IFG stacks is that the new stack does not have the .rsc files in the corresponding directories (e.g. geom_reference, interferograms, .etc) . I have attached my template file.
Any suggestion is appreciated!
Guo