How to prepare Sentinel-1 images stack for PSI/SBAS in SNAP

Dear @zhuhaxixiong,

You should re-do the interferogram stacking by adding the orthorectified latitutde and longitude bands on the output. As this information is needed for running StaMPS with the coordinate information. This is possible by using only SNAP v.6.0 onwards. In previous version this is not possible. If you are using old graphs (xml), please update it.

You can get as example the snap2stamps package I have prepared together with M. Foumelis here:

I hope this helps.

thank you very much

but my interferogram was done in SNAP,the link you give indicates that stamps need DOI?,I didnt install DOI on my computer,and I am not willing to use DOI.

Dear @zhuhaxixiong ,
I met the same question when i use SNAP. Maybe you can try it use my method. Please ensure chack the “Output orthorectified Lat/Lon” option both in interferogram and TopophaseRemoval. Then run it .
I hope this helps.

Hi all,
I encountered the following problems when using snap2stamps script. I tried setting the environment variable, but i still haven’t solved it .Maybe i still don’t understand what the ‘current folder’ means. I hope you have time for some guidance.

have you seen this topic? Snap2stamps package: a free tool to automate the SNAP-StaMPS Workflow
We talked a lot about setting the correct paths in the conf file.


Dear @zhuhaxixiong,

The link I have sent you is a link from which you can download some scripts I have prepared and released on last IGARSS conference which helps on the automatic processing of single master DInSAR using SNAP. In case that you use it and you find it useful, I would appreciate you can reference using that link.
You do not have to install anything on your computer to use it.
Let me know if it is clear now.

Thank you very much!!
I have succeeded step1-7 of StaMPS with Linux, Ubuntu 16.
Thank you for your suggestion


Hello A Braun, I have repeated the steps with single polarisation (VV) and still got the error. Do you have any other suggestions on how to solve this error?

did you have a look if this is true? Is there a "i_20151210’ band twice?


Thanks for your reply.
I processed atmospheric correction as you adviced with GACOS data by using TRAIN on my Sentinel-1 data.
I tried also MERRA2 but there were no points over my area …
But results return no significant improvement about the dispersion, so I still looking for an explanation and I let you know if I found something.

Guillaume Modeste

1 Like

Dear ABraun I have export stamps in INSAR_master_data,and the text said like this
does it mean ,I should add lon and lat to the master_deburst_stack,and save it ,the output shows like this:

after this I copy the lat.rslc and lon.rslc file to /geo dir,and change this two files name to and master_data.lon,
am i right

are you do PSI under cygwin64?
I have export the stamps,but do not know how to excute the file in cygwin64

when i run the mt_prep_gamma ,the error occurs:bash ,no command can be found
how shoul I do

I meet the same error with yours ,have you solved it?

this document is quite outdated. You can generate both a DEM band and a lat/lon band in the interferogram generations step in the meanwhile. No need to generate them manually any longer.

ok GOT IT,but when i do mt_prep_gamma under cygwin64,the error ouccrus:
can you help me?

when i do mt_prep_gamma an error occurs like this:

have you solved it?

is there any indications about the script i dont know how to use it

Had you tried to read the user manual which is included in the package?
It may help to understand how it works.