Linux Installation using StaMPS and S-1 data

Nice, I think you installed StaMPS correctly. Better try to process your data set and check it.

I want to install snaphu
root@click:/usr/local/snaphu# apt install snaphu
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
snaphu is already the newest version (2.0.5-1).
0 upgraded, 0 newly installed, 0 to remove and 197 not upgraded.
root@click:/usr/local/snaphu#
but I do not find anything in snaphu
https://forum.step.esa.int/uploads/default/original/3X/d/f/df3d582cc6cd2d060cb7297510a7fabc39c2dc2a.png

Already snaphu installed in your PC. Better try to process your data first.

please another question to in stall triangle
click@click:~/Documents/InSAR/triangle$ sudo apt-get install Triangle
[sudo] password for click:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package Triangle
click@click:~/Documents/InSAR/triangle$ sudo mkdir /usr/local/triangle
click@click:~/Documents/InSAR/triangle$ cd /usr/local/triangle
click@click:/usr/local/triangle$ sudo apt-get install Triangle
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package Triangle
click@click:/usr/local/triangle$

please i try to run mt_prep_snap command but i have
click@click:~/Documents/stamps/INSAR_master_data$ sudo su
[sudo] password for click:
root@click:/home/click/Documents/stamps/INSAR_master_data# mt_prep_snap 20200508 ~/Documents/stamps/INSAR_master_data/ 0.4
mt_prep_snap: command not found
root@click:/home/click/Documents/stamps/INSAR_master_data#

Try this once.

do you mean this
export STAMPS="/home/click/Douments/InSAR/StaMPS-4.1-beta/bin"
#export SAR="/home/ahooper/software/ROI_PAC_3_0"
#export GETORB_BIN="/home/ahooper/software/getorb/bin"
#export SAR_ODR_DIR="/home/ahooper/software/SAR_FILES/ODR"
#export SAR_PRC_DIR “/home/ahooper/software/SAR_FILES/PRC”
#export VOR_DIR="/home/ahooper/software/SAR_FILES/VOR"
#export INS_DIR="/home/ahooper/software/SAR_FILES/INS"
#export DORIS_BIN="/home/ahooper/software/doris_v4.02/bin"
export TRIANGLE_BIN="/Documents/InSAR/triangle/bin"
export SNAPHU_BIN="/Documents/InSAR/snaphu-v2.0.3/bin"

#export ROI_PAC="$SAR/ROI_PAC"
#####################################

ROI_PAC VERSION 3

#####################################
#export INT_BIN="$ROI_PAC/INT_BIN"
#export INT_SCR="$ROI_PAC/INT_SCR"
#####################################

#####################################

ROI_PAC VERSION 2.3 and before

#####################################
and i run source .bashrc
click@click:~/Documents/InSAR/StaMPS-4.1-beta$ dir
bin INSTALL Manual README.md snaphu.conf StaMPS_CONFIG.bash
DORIS_SCR LICENSE matlab ROI_PAC_SCR src StaMPS_CONFIG.tcsh
click@click:~/Documents/InSAR/StaMPS-4.1-beta$ source StaMPS_CONFIG.bash
click@click:~/Documents/InSAR/StaMPS-4.1-beta$ cd …/
click@click:~/Documents/InSAR$ dir
INSAR_master_data StaMPS-4.1-beta TRAIN-master.zip triangle.zip
snaphu-v2.0.3 TRAIN-master triangle
click@click:~/Documents/InSAR$ cd …/
click@click:~/Documents$ dir
InSAR MATLAB stamps
click@click:~/Documents$ cd InSAR
click@click:~/Documents/InSAR$ dir
INSAR_master_data StaMPS-4.1-beta TRAIN-master.zip triangle.zip
snaphu-v2.0.3 TRAIN-master triangle
click@click:~/Documents/InSAR$ cd …/
click@click:~/Documents$ dir
InSAR MATLAB stamps
click@click:~/Documents$ cd InSAR/
click@click:~/Documents/InSAR$ sudo su
[sudo] password for click:
root@click:/home/click/Documents/InSAR# dir
INSAR_master_data StaMPS-4.1-beta TRAIN-master.zip triangle.zip
snaphu-v2.0.3 TRAIN-master triangle
root@click:/home/click/Documents/InSAR# cd INSAR_master_data
root@click:/home/click/Documents/InSAR/INSAR_master_data# dir
dem diff0 geo rslc
root@click:/home/click/Documents/InSAR/INSAR_master_data# mt_prep_snap 20200508 ~/Documents/stamps/INSAR_master_data/ 0.4
mt_prep_snap: command not found
root@click:/home/click/Documents/InSAR/INSAR_master_data# mt_prep_snap 20200508 /home/click/Documents/stamps/INSAR_master_data/ 0.4
mt_prep_snap: command not found
root@click:/home/click/Documents/InSAR/INSAR_master_data#
please help

Just go to /home/username/ folder, here you will find .bashrc (hidden file) just open that and add the path.

i find this


and add the path ~/Documents/InSAR/StaMPS-4.1-beta to stamps_config.bach and save

How many interferograms are you using?
Just share the screen shot of INSAR_master_data (inside folders)

I have 12 interferograms


what is meaning that please help

This is just to export StaMPS path to .bashrc file. Whatever commands are present in the StaMPS/bin folder it will read automatically.
I think in your case, mt_prep_snap command is working (as per your terminal). No need to set.

Just check the folder once, you gave Documents/stamps/INSAR_master_data instead of Documents/InSAR/INSAR_master_data.

I think better to type pwd command in your working INSAR_master_data directory , then add that path to mt_prep_snap command

thank you for your reply and help
I try another time but i have


screen shot of INSAR_master_data

my work is true?

snap8 was used in preprocessing on windows and Iam using ubuntu 22 in processing PSI by stamps
I am new to stamps please help where is the wrongs

I try another time



how to solve the error please help

Please try this code once. Try to install first then run from mt_prep_snap onwards.

Do I have to uninstall StaMPSv-4.1-beta first then install Stamps-master