Workflow between SNAP and StaMPS

Dear @ABraun,
I have processed my time series into 5 separate parts(from 2016 to 2020). How many groundwater level maps do I need to draw now to validate their results? Do you need a piezometric map for each part?
Thanks a lot

there is no general answer on this, sorry. If you have some, use as many as you can. The more validation data you have, the more you can say about the accuracy of your results which makes them more valuable.

Is it possible in snap2sramps python wrappers. Because doing one by one is very difficult and time consuming.

currently, I think this is not supported by snap2stamps

mt_prep_snap 20200326 /media/sadi/WORKDIR/INSAR_20200326/ 0.4 12 4
after running this step successfully, I am getting this error.

Try this,

Thank you for your help. I have tried as per your instruction with ps_load_initial_gamma.m (7.2 KB) file. But now I am getting this error.
kind regards,


Had you checked if you have the file rsc.txt on the main INSAR_masterdate folder?

I am sorry I missed that file. But after pasting that file I got the previous error again. image|488x424

Can you please tell me that I am using the right directories or not.

The matlab folder containing the scripts is sufficient, your working directory is set in the GUI directly

Thank you for your response Sir.

I am on the step stamps(1,1) but all the time I am getting same errors,
Index in position 2 exceeds array bounds.
Error in ps_load_initial_gamma (line 108)
Error in stamps (line 263)

I have tried it by replacing my ps_load_initial_gamma.m (7.2 KB) file. I have tried 0.4 1 1 ; 0.4 2 2; 0.4 12 4. all values for mt_prep_snap.
I have few questions:

  1. My interferogram was wrong so I delete it and delete the data in the stamps export folder related to that date. Is it right? Or I have to do all stamps_export again for the all remaining data?

  2. Kindly tell me these interferograms are correct or wrong?

  3. Any other solution to correct this error?

Thank you so much I am new to Linux and Stamps. This forum is helping me a lot.

I think deleting faulty interferograms might cause problems later so I advise to recompute them in SNAP and check of they look alright before you do the StaMPS export. The second and third intererograms are corrupt, one has missing data, the other doesn’t contain phase information of both dates. Probably already the coregistration failed. Please be aware that three interferograms are not sufficient for StaMPS, especially when they look as noisy as the ones shown.

I am using 55 interferograms in total rest are all fine. these three are the ones that I feel are wrong.
So should I just skip these three interferograms. And go for the last step of snap Stamps_Export for the rest of my 52 interferograms? or I need to repeat the whole process of SNAP from first step of coregistration?
Thank you so much Sir for your time.

Alright, sorry for the misunderstanding.
If you manage to remove these from the stack and then export the remaining ones, it could work.

Thank you. I will go for it.

Greetings! I have completed my stamps export and the run stamps(1,1), (2,2) & (3,3) successfully. but in the case of stamps (4,4) every time I run this command after

Matlab crash without any prior notification every time. As I am not getting any error I am unable to get what is the problem. I have enough memory to run all the stamps steps in my drive. I have update my java. But still facing same problem. Kindly guide me what expected cause of it.

Thank you so much in anticipation.

Step 4 is unwrapping, is snaphu installed correctly?

You appear to be using linux, but don’t mention a distro and version. Do you see something like:

“MATLAB has encountered an internal problem and needs to close” with options to send information to MathWorks, attempt to Continue, see more details, or ‘End Now’ to closing the program?

Matlab has debugging tools such as running a script one step at a time that should help pin down the source of the problem.

Yes Sir! @ABraun Snaphu is installed correctly. and @gnwiii I am using ubuntu 20. 04. I got this error once or twice when I was working on Matlab. but in this case for step 4 I am not getting any error. it just ends on its own without prior notification.