Linux Installation using StaMPS and S-1 data

On Windows:
-I have create on C a new folder Temp and I have copied the unpacked folder

-I have opened the cygwin emulator, written the path and “make”

The result is the same!!!

I have tried again both on cygwin that on linux workmachine and the error is the same:

g++ -O3 -c -o selsbc_patch_new.o selsbc_patch_new.c
make: g++: Command not found
make: *** [: selsbc_patch_new.o] Error 127

so the problem is not linux or windows.
There is another problem but I cannot found it.
Anybody can help me?
Thanks.

Hi dear, after installing of StaMPS, I chanaged stamps_config.bash headers and then from my insar_master_date folder is located I call mt_prep_gamma…but it doesnt run!! Why??

Delete ‘Break’ command in line 98 in parseplotprm.m

Hello,
Thank you very much for the instruction to use and do PSI using StaMPS, however after reading trough others problem. i can’t find my solution yet. it seems that i wrongly set my config.bash file. for any suggestion and help, i kindly appreciated.

I think you aren’t calling the script correctly

mt_prep_gamma_snap date folder dispersion patch-rg patch-az overlap-rg overlap-az

also, your INSAR_20170804 is placed inside StaMPS_v3.31b1 but you call it in GN_Agung

You have “StaMPS_v3.31b1” and “StaMPS_v4.1-beta” inside a folder called “StaMPS_v3.31b1” and you call your config.bash from Sentinel\StaMPS_v4.1-beta

–> there are 4 different folders of StaMPS in your environment and chances that things get mixed up are quite high.

1 Like

Hello all. I’m having a hard time running Stamps here. Can anyone tell me what’s wrong? Thanks

Finally solved it. my area of interest was too small. moreover, snap had added an extra layer to my stacks without any reason. So I removed it, selected a larger area and ran the code using Stamps 3.01. worked fine

Hello, @ABraun thanks. i am now able to launch StaMPS. however i still have question, after processing the interferograms it didn’t launch matlab to process further.
is it because of the number of interferograms?

2 interferograms (3 images) are not enough for PS InSAR. To get reliable results, time series of 20 images or more are reocommended.

As answered by ABraun you must use images more the 20, or at least 4 interferograms (min # accepted by SNAP for StaMPS export).

Hello all.

After overcoming some errors reading manuals and forum posts, I managed to run StaMPS until step 4 where I have this error:

I can see in step 3 that it identifies “0 PS selected initially” and in step 4 “0 low D_A PS, 0 high D_A PS”.

¿Can anybody help me please?

Thanks.

check the Initial gamma threshold value. Its set as “1”, try by decreasing the value

Thank you for you suggest @gomalhunzai ¿whare can i check that? ¿some script of StaMPS?

After many mistakes and read a lot in the forum, I finish StaMPS (1,8) and export a kml file but i think is wrong. Now I need to do a processing with a stack of at least 20 images and read the manuals to interpret the interferograms.

Is there a way to export the results to Geotiff format?

thank you

Nice to see that the technical part works.
You might get better results with a larger stack of images. It would clearly improve the selection of suitable ps and the weeding of noise ect.
I would also recommend to run the steps separately:
stamps(1,1), stamps(2,2),… and check the printed messages, maybe adjusting the parameters which are relevant for the different steps (listed in the manual) with setparm(x,y)
I’m not a Matlab expert, maybe someone can comment on the GeoTiff question.

Thak you @ABraun i will process a stack with 20 images to obtain result better and i will experimet with parameters step by step.

as indicated in chapter 2.1 of the manual, you have to prepare the conf file and set the correct paths for StaMPS, triangle and snaphu and then source the file so these paths (and all scripts which are stored in them) can be found by the shell

Hi,

I have the same issue “0 PS selected initially”.

How did you solve it?

Thanks!

Have you checked if the coregistration in SNAP was sucessful?
Where is you study area and how large is it?

0 is suspicious and something must have gone wrong.
To get a few more, you can increase 0.4 to 0.42 in the mt_prep step.