mt_prep_snap command

186 views
Skip to first unread message

volkan

unread,
Jan 2, 2019, 3:12:29 AM1/2/19
to MAINSAR

Hello,

I have installed new StaMPS/MTI (4.1b1) version. When I run the mt_prep_snap command I get some errors:


volkan@volkan:~/Desktop/PSI/INSAR_20180807$ source /home/volkan/StaMPS-4.1-beta/StaMPS_CONFIG.bash



volkan@volkan
:~/Desktop/PSI/INSAR_20180807$ mt_prep_snap 0.4 3 2 50 200

mt_prep_snap
Andy Hooper, August 2017

 

Amplitude Dispersion Threshold: 2

Processing 50 patch(es) in range and 200 in azimuth

 

3/*slc/0.4.*slc.par: No such file or directory.

3/*slc/0.4.*slc.par: No such file or directory.

ls: cannot access '3/*slc/*.*slc': No such file or directory

0

0

@: Assignment missing expression




my config.bash file:

export STAMPS="/home/volkan/StaMPS-4.1-beta"
export SAR="/home/volkan/ROI_PAC_3_0"
export GETORB_BIN="/home/volkan/getorb/bin"
export SAR_ODR_DIR="/home/volkan/SAR_FILES/ODR"
#export SAR_PRC_DIR  "/home/volkan/SAR_FILES/PRC"
export VOR_DIR="/home/volkan/SAR_FILES/VOR"
export INS_DIR="/home/volkan/SAR_FILES/INS"
export DORIS_BIN="/home/volkan/doris_v4.02/bin"
export TRIANGLE_BIN="/home/volkan/triangle/bin"
export SNAPHU_BIN="/home/volkan/snaphu-v1.4.2/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
#####################################
#set MACH=`uname -s`
#if ($MACH == "HP-UX") then
#  export ARCHC=HP
#else if ($MACH == "IRIX") then
#  export ARCHC=SGI
#else if ($MACH == "SunOS") then
#  export ARCHC=SUN
#else if ($MACH == "Linux") then
#  export ARCHC=LIN
#else if ($MACH == "Darwin") then
#  export ARCHC=MAC
#fi
#export INT_LIB="$ROI_PAC/LIB/$ARCHC"
#export INT_BIN="$ROI_PAC/BIN/$ARCHC"
#export FFTW_LIB="$SAR/FFTW/$ARCHC""_fftw_lib"
#####################################


#####################################
# shouldn't need to change below here
#####################################


export MY_BIN="$INT_BIN"
export MATLABPATH=$STAMPS/matlab:`echo $MATLABPATH`
export DORIS_SCR="$STAMPS/DORIS_SCR"


# Needed for ROI_PAC (a bit different to standard)


### use points not commas for decimals, and give dates in US english
export LC_NUMERIC="en_US.UTF-8"
export LC_TIME="en_US.UTF-8"




export MY_SAR="$SAR"
export OUR_SCR="$MY_SAR/OUR_SCR"
export MY_SCR="$STAMPS/ROI_PAC_SCR"


export SAR_TAPE="/dev/rmt/0mn"


export PATH=${PATH}:$STAMPS/bin:$MY_SCR:$INT_BIN:$INT_SCR:$OUR_SCR:$DORIS_SCR:$GETORB_BIN:$DORIS_BIN:$TRIANGLE_BIN:$SNAPHU_BIN

How can I fix the problem? Thank you.



Jose Manuel Delgado Blasco

unread,
Jan 2, 2019, 3:15:26 AM1/2/19
to mai...@googlegroups.com
Had you verify the usage of such command?
If you run it without any parameter you may see that the way you have used it is incorrect.

I hope this helps.

--
You received this message because you are subscribed to the Google Groups "MAINSAR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mainsar+u...@googlegroups.com.
To post to this group, send email to mai...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

volkan

unread,
Jan 2, 2019, 3:22:54 AM1/2/19
to MAINSAR
I do not understand clearly what you mean. If you are talking about whether I used the command with parameters, I used mt_prep_snap command with 0.4 3 2 50 200 parameters. Please, If I have misunderstood you, would you explain more detailed? Thank you.

2 Ocak 2019 Çarşamba 11:15:26 UTC+3 tarihinde Jose Manuel Delgado Blasco yazdı:

Jose Manuel Delgado Blasco

unread,
Jan 2, 2019, 3:28:52 AM1/2/19
to mai...@googlegroups.com
Please run the command without any parameter so you will see how the command must be used 
run :    mt_prep_snap   

and you will see the usage.
I hope this helps

volkan

unread,
Jan 2, 2019, 3:32:51 AM1/2/19
to MAINSAR
Thank you, I solved the problem.

Best wishes (:

2 Ocak 2019 Çarşamba 11:28:52 UTC+3 tarihinde Jose Manuel Delgado Blasco yazdı:

Jose Manuel Delgado Blasco

unread,
Jan 2, 2019, 3:36:45 AM1/2/19
to mai...@googlegroups.com
I am glad that you managed to solve it.
Happy New Year!
Reply all
Reply to author
Forward
0 new messages