MintPy template for the GMTSAR stack procssing

438 views
Skip to first unread message

Sayyed Mohammad Javad Mirzadeh

unread,
Jun 26, 2021, 6:51:07 AM6/26/21
to MintPy
Dear all,

I tried to do the stack processing for the Envisat dataset using the GMTSAR and set the required files into a template for MintPy to do the time series processing.
I found a sample in the following link (https://mintpy.readthedocs.io/en/latest/dir_structure/) but something is different between the structure of the sample and mine I have.

Could anybody please let me know the structure of the "baseline.txt" file I should prepare for each interferogram using the "SAT_baseline" command in GMTSAR? And also I do not have any folder named "geometry" including the "topo_ll.grd" file.

Thank you so much for your consideration.

Sincerely,
Sayyed

Sayyed Mohammad Javad Mirzadeh

unread,
Jun 28, 2021, 2:55:30 AM6/28/21
to MintPy
Dear all,

Does anybody have the template file of MintPy, named "StHelensEnvDT156.txt" for the GMTSAR processor?

Sincerely,
Sayyed



Sayyed Mohammad Javad Mirzadeh

unread,
Jun 28, 2021, 10:27:23 AM6/28/21
to MintPy
I tried to run the MintPy using the attached templated file for the stack, provided by the GMTSAR, but I got the following error in the command line:

******************** step - load_data ********************

load_data.py --template /media/insar/Research/AbarkuhPaper/Envisat/Descending292_Test/mintpy/smallbaselineApp.cfg /media/insar/Research/AbarkuhPaper/Envisat/Descending292_Test/mintpy/AbarkuhEnvDT292.txt --project AbarkuhEnvDT292
processor : gmtsar
SAR platform/sensor : Env
--------------------------------------------------
prepare metadata files for gmtsar products
prep_gmtsar.py /media/insar/Research/AbarkuhPaper/Envisat/Descending292_Test/mintpy/AbarkuhEnvDT292.txt --mintpy-dir /media/insar/Research/AbarkuhPaper/Envisat/Descending292_Test/mintpy
writing  /media/insar/Research/AbarkuhPaper/Envisat/Descending292_Test/mintpy/inputs/data.rsc
/home/insar/tools/MintPy/mintpy/load_data.py:767: UserWarning: prep_gmtsar.py failed. Assuming its result exists and continue...
  warnings.warn('prep_gmtsar.py failed. Assuming its result exists and continue...')
--------------------------------------------------
searching interferometric pairs info
input data files:
unwrapPhase     : /media/insar/Research/AbarkuhPaper/Envisat/Descending292_Test/intf/*/unwrap_ll.grd
coherence       : /media/insar/Research/AbarkuhPaper/Envisat/Descending292_Test/intf/*/corr_ll.grd
Traceback (most recent call last):
  File "/home/insar/tools/MintPy/mintpy/smallbaselineApp.py", line 1256, in <module>
    main(sys.argv[1:])
  File "/home/insar/tools/MintPy/mintpy/smallbaselineApp.py", line 1238, in main
    app.run(steps=inps.runSteps)
  File "/home/insar/tools/MintPy/mintpy/smallbaselineApp.py", line 1029, in run
    self.run_load_data(sname)
  File "/home/insar/tools/MintPy/mintpy/smallbaselineApp.py", line 343, in run_load_data
    mintpy.load_data.main(iargs)
  File "/home/insar/tools/MintPy/mintpy/load_data.py", line 832, in main
    stackObj = read_inps_dict2ifgram_stack_dict_object(iDict)
  File "/home/insar/tools/MintPy/mintpy/load_data.py", line 409, in read_inps_dict2ifgram_stack_dict_object
    dsPathDict = skip_files_with_inconsistent_size(dsPathDict,
  File "/home/insar/tools/MintPy/mintpy/load_data.py", line 329, in skip_files_with_inconsistent_size
    atr_list = [readfile.read_attribute(fname) for fname in dsPathDict[dsName]]
  File "/home/insar/tools/MintPy/mintpy/load_data.py", line 329, in <listcomp>
    atr_list = [readfile.read_attribute(fname) for fname in dsPathDict[dsName]]
  File "/home/insar/tools/MintPy/mintpy/utils/readfile.py", line 919, in read_attribute
    atr.update(read_gdal_vrt(metafile))
  File "/home/insar/tools/MintPy/mintpy/utils/readfile.py", line 1299, in read_gdal_vrt
    if 'UTM' in srs_name:
TypeError: argument of type 'NoneType' is not iterable


Could you please guide me on how I can fix this issue?

Sincerely,
Sayyed
AbarkuhEnvDT292.txt

Zhang Yunjun

unread,
Jul 6, 2021, 11:18:29 PM7/6/21
to MintPy
Hi Sayyed,

There is no well-documented GMTSAR + MintPy workflow at the moment, unfortunately. To use this combination, one will have to understand the requirement of both software well and do fixes and hacks whenever applicable. Here would be a good start:

Yunjun

Sayyed Mohammad Javad Mirzadeh

unread,
Jul 8, 2021, 2:12:13 AM7/8/21
to MintPy
Dear Yunjun,

Thank you for your reply and for sharing that link.
You are right. I will go through that to fix my issue.

Sincerely,
Sayyed



Reply all
Reply to author
Forward
0 new messages