Workflow between SNAP and StaMPS

Thanks a lot.

error 1 :The subscript index must be a positive integer type or a logical type.
error 2 :setting property 'PlotBoxAspectRatio ’ of class ‘Axes’ : input values must be positive finite numbers

@ABraun @SteffanDavies help me please

I have no idea, sorry. I’m not that deep into matlab to be able to debug scripts of others.
Extremely hard to guess for most of us I suppose.

Thank you anyway

Hi everyone!
Many thanks for @katherine @ABraun @bayzidul @FeiLiu @Mehdi @alvegavaleri and all the others for sharing their experiences, it was very useful for me to process 24 S-1 Tops IW data using SNAP 6.0 and in Windows under Cygwin 2.877 , StaMPS 3.3 and Matlab 2017.
I followed Katherine steps:

Taking into consideration that in SNAP 6.0 the steps 6 & 7 are included in Interferogram formation step.
But now I have some questions :

  • in my case, does the (+ve) velocities values really imply displacement towards the satellite? (since the master is not earlier than all the slaves). Is there any way to plot ‘v’ for just some of ifg’s ?(for example here the group of Ifg’s which their dates are after the date of the master)

  • How could we export Colorbar to the GoogleEarth with velocities values when use (>> ps_gescatter) in Matlab?

  • is there any way to get vertical displacement value from this relative LOS displacement?

  • I could notice a small shift in the results specially along the high-way in the west part of my study area, is it normal?


very impressive that you managed to get all that under Windows!

About the GoogleEarth export - maybe ViStaMPS is interesting to you:


hello @ABraun, i got an error when i load data with viStaMPS v.1.1, the error is like this

Error in ==> viStaMPS>pushbuttonSetup_Callback at 131
if ~isfield(vistamps, ‘Setup’)

Error in ==> gui_mainfcn at 96

Error in ==> viStaMPS at 27
gui_mainfcn(gui_State, varargin{:});

Error in ==> @(hObject,eventdata)viStaMPS(‘pushbuttonSetup_Callback’,hObject,eventdata,guidata(hObject))

??? Error while evaluating uicontrol Callback

i used matlab R2017b linux, do you know how to resolve it?

sorry, I never used viStaMPS by now.

Hi @aziz10
I had also started to use viStaMPS but could not manage to work with it, so I have moved to GMT.

Can you tell me how to use GMT?

@muhannad how do you export stamPS result to csv so it can be opened in google earth or GIS software?

Hi @Daniel_bona !

Thanks again for @Mehdi for the answer of this question

1 Like

Hi @aziz10
Sorry for my very late reply. You can start following this document.

1 Like


Thank you for sharing your experience. I’m a new beginner in StaMPS and yours posts were very helpful. But I tried to export to StamPS and I got this error (see below).

I know you have already met this problem and given some advices to solve it. But it seems I have done everything you said…

Thank you very much for your time.


at which stage did you make a subset?
I would suggest that you use the TOPS-Split parameters to reduce the extent of the coregistered stack to the area you need.

Thanks for your reply.

I made a subset just after the deburst and before applying the interferogram formation. I tried without making the subset too. It takes a long time but I got the same error.

Hallo Katherine.

This is really good work.
Am new to StaMPS
May you assist me know how you determined the time series graph

Please have a look at this overview: About the STaMPS category
It provides a good starting point.

Hi @thho @katherine @ABraun
So in this sample How to prepare Sentinel-1 images stack for PSI/SBAS in SNAP 5
I use 12 Sentinel-1A I got 16000 PS after stamPS process. However recently I used 30 scene for the same area of study. The master selected is chosen by SNAP usin “InSAR Stack Overview”. However when doing stamPS process out of 500.000 (five hundred thousand PS candidate) stamps only chose 4000 PS the rest are weeded out. I use default parameters like my previous test and as @katherine suggested, although in her steps she recommended that if the data/interferogram more than12/13 to split the stack to two or more with same master but when I did this test I use all 30 data in one stack.
What may caused so many possible PS weeded out by StamPS?