StaMPS-Visualizer, SNAP-StaMPS Workflow

this means you have to install the shinydashboard in the R package manager first before you can run the script.

1 Like

thx for mentioning, I added it to the manual on github. @zahra0729 I recomment the installaiton with renv :wink:

1 Like

Hi @thho ,
news about how StaMPS calculates the mean velocity? I have noticed the same thing, so very close values but never get the same result of mean velocity.

Hi @Giova :slight_smile: have you seen these posts? (from the linked one and the next 4 after it)?

It is the best we have right now. It is not an entire explanation but can help to dig deeper. Atm I am shifting more and more away from InSAR in my research and can hardly find time to dig into the issue myself…so when this discussion does not develop here, the MAINSAR google group might be a better place to ask about the specific calculation of the value…Normally I take some days after Christmas and before new years eve to make an update to the StaMPS-Visualizer app…so it will take some time before I will put more focus on the issue…and this year I have to write my PhD thesis in that time, so it might shift to April 2022 :expressionless:

dear suribabu, I have the same error in stamps(2,2), how did you solved it? waiting for your reply sincerely.

Please check the below one.

Is it working ?

Thank your dear suribabu! I found this issue derived from the StaMPS version 3.3b1, and I installed the 4.1 version, it worked.

And instead of using “mt_prep_gamma” or “mt_prep_gamma_snap”(provided from @Thorsten), just use “mt_prep_snap” that contained in the latest StaMPS update in official github repository, and it can run correctly in MATLAB from stamps(1,1) to stamps(8,8).


Dear Thho,
I wanna model my InSAR data using GBIS. For that I need data format like below.

Please tell me the solution for this, Thank you.

Can this stamps-visuallizer be installed and used on Linux? Or is it for Windows? Is it better to open the Stamp exports in QGIS or in visual? Which one is better?


It was developped for Linux but runs on Windows too.

If the App or QGIS is “better” depends on your study and opinion :wink:

@suribabu hi, sorry I am not experienced in GBIS and its data structure. But the export script for the StaMPS-Visualizer is probably a good starting point for you to get the data in a format you need.

Thank you Thho. But In CSV file we are getting only Lat Long and Mean Velocities right.

@suribabu sure, that is right. What I mean is, to use the approach that is used to get the csv as starting point. A first look at the data GBIS requires (from your screenshot) tells me that this information is somewhere in the objects which are generated by StaMPS in Matlab. What you have to do is to find the specific objects and manipulate them in a way that their structure matches your desire. And that is pretty much what I do in the export script.

  • I call objects which are made during StaMPS processing.
  • I look for specific parts of these objects and take the data I need
  • I sort them and bring them to my desired export structure
  • Finally I export them

I think this is what you should try and the script might give you some hints in which StaMPS objects valuable data is stored e.g. load ps_plot_v-d.mat or load parms.mat.


Thank you so much Thho. I will do it.

I have installed hese in ubuntu.18 but it does not open for me, Do I need eny other prerequisite softwares for run it?

dear @NAZIL,

please follow the installation steps closely. I recommend doing the installation via renv:

Do you mean that the installation steps were wrong?

Hi @NAZIL, from your screenshot, I am not sure what type of installation you did, the folder and file structure looks fine to me, but installation does not affect the cloned git repository.

To try if the installation was successful do:

  • open Rstudio
  • open the StaMPS_Visualizer.Rproj
  • go to File --> Open File… and open ui.R
  • click on Run App in the upper left panel in the upper right corner