I just noticed that there is a new release of StaMPS. Okay, it is only a beta release but …
The version is 4.1-beta_20180814 and the changelog says the support for SNAP was updated.
See also the manual StaMPS_Manual.pdf
Thanks to David Bekaert who is working on StaMPS.
I’ve used the old workflow (mixing spyder and SNAP), when I finish this study case I’ll try the @mdelgado package for sure.
Now I’m testing 4.1 release and I have problems with config.bash
When I run mt_prep_snap the system throws these problems>
pmatuser@DataScienceSAR3:/media/datadrive/SAR/PSI_SBAS/SANTIAGO/INSAR_master_date$ mt_prep_snap 20171212 /media/datadrive/SAR/PSI_SBAS/SANTIAGO/INSAR_master_date/ 0.2
mt_prep_snap Andy Hooper, August 2017
Amplitude Dispersion Threshold: 0.2
Processing 1 patch(es) in range and 1 in azimuth
/usr/bin/triangle/calamp: Not a directory.
cat: /media/datadrive/SAR/PSI_SBAS/SANTIAGO/INSAR_master_date/calamp.out: No such file or directory
4404
443
mt_extract_cands Andy Hooper, Jan 2007
Patch: PATCH_1
selpsc_patch /media/datadrive/SAR/PSI_SBAS/SANTIAGO/INSAR_master_date/selpsc.in patch.in pscands.1.ij pscands.1.da mean_amp.flt f 1
/usr/bin/triangle/selpsc_patch: Not a directory.
psclonlat /media/datadrive/SAR/PSI_SBAS/SANTIAGO/INSAR_master_date/psclonlat.in pscands.1.ij pscands.1.ll
/usr/bin/triangle/psclonlat: Not a directory.
pscdem /media/datadrive/SAR/PSI_SBAS/SANTIAGO/INSAR_master_date/pscdem.in pscands.1.ij pscands.1.hgt
/usr/bin/triangle/pscdem: Not a directory.
pscphase /media/datadrive/SAR/PSI_SBAS/SANTIAGO/INSAR_master_date/pscphase.in pscands.1.ij pscands.1.ph
/usr/bin/triangle/pscphase: Not a directory.
Anyone else with this issue? The paths are exactly the same as I’ve used in 3.3b1
Regards
Hi @CarlosSierralta!
If would be better if you could provide the content of the CONFIG_StaMPS.sh and the lines of your .bashrc file where you define the PATH variable (something like: export PATH=‘paths_to_include’:$PATH )
Maybe with that we can help a litlle bit more.
I have seen you post also in MAINSAR…so I hope you may get some help from some place
Hello everyone. I finished processing StaMPS. now that I want to get the graphs, it throws different errors. when I run ps_output I get mean_v undefined function or variable ‘meanvname’. Does anyone know how to solve this? When I try to graph using …all.ifgs function, I get another error as it cannot make graph without dates.
Yes, I did that too. I’m doing the analysis again. I’ll post a picture of the matlab page. Thanks ABraun. The problem is this mean-v file that matlab couldn’t find. actually my goal is to get the kmls and ascii files and then do the rest of the work in windows. but none of the functions work
Thanks a lot for your very nice comments, but I got a very nice opinion from our colleague in RUS, and now it runs smoothly,
"The mt_prep_snap command that you are trying to execute is not a matlab function but a StaMPS binary. After some research on the forum you mention, I found that this command can be executed from matlab by running:
!mt_prep_snap 20180105 /home/rus/Desktop/shared/Training/IMAGE-2018/PSI/INSAR_master_date/ 0.4 (the ! character is needed to invoke an external command) "
well… I am glad they helped you. but the information is not totally correct.
It is a shell script which calls binaries and matlab functions, so indeed their solution works as well as ours as well does.
Glad that you are able to go further with your processing.
Cheers.
one is your SNAP export: INSAR_20180105 for example
you create a second one outside that and execute mt_prep there:
mt_prep_snap 20180105 /path/to/INSAR_20180105
This way, all new files written by matlab are created there. This allows you to have a clean working environment and delete it if you want to start again. #2 is where you navigate in Matlab, it contains the PATCH1 as a subdirectory (don’t navigate in there, stay one level above).
mt_prep_snap has to be ran outside matlab (in the shell), it is a Linux script to preprocess the data exported by SNAP. If this was completed correctly, you proceed to open matlab in this folder and start the stamps scripts.