sophia
December 10, 2020, 3:35pm
1
If anyone would like to help me, it would be greatly appreciated.
When I run stamps(6,6), the following error appears:
I tried the following things:
(1) Bigger subset area
(2) Set the ‘unwrap_gold_n_win’ parameter from 32 to 16
(3) Set the ‘unwrap_grid_size’ parameter from 200 to 150
But it does not work.
ABraun
December 10, 2020, 3:38pm
2
did you install snaphu correctly?
you can check by typing snaphu in the command line (not in matlab)
sophia
December 10, 2020, 3:51pm
3
would you mind tell me how to install snaphu?
sophia
December 10, 2020, 3:54pm
4
When i typing “snaphu” in the command line ,Display as follows:
ABraun
December 10, 2020, 3:57pm
5
you need snaphu and triangle as external packages to complete the StaMPS processing.
Please check the points 2.1 and 2.2 of this documentation: https://gitlab.com/Rexthor/gis-blog/-/blob/master/StaMPS/1_stamps_setup.md
sophia
December 10, 2020, 4:44pm
6
Thank you for your reply. I just installed snaphu and trian, but it still doesn’t work.
ABraun
December 10, 2020, 5:21pm
7
did you also change the StaMPS_CONFIG file?
After that, you have to source this file again and probably also restart matlab before you can continue
sophia
December 10, 2020, 8:35pm
8
Yes, I changed StaMPS_CONFIG, reopened matlab, and then re-run mt_prep_gamma, stamps(1,7), but the same error still appears when I run step6.
ABraun
December 10, 2020, 8:52pm
9
Did you check if snaphu runs correctly?
sophia
December 10, 2020, 8:58pm
10
Would you mind telling me how to check it? I am a beginner and I am not very familiar with this.
ABraun
December 11, 2020, 7:06am
11
as I said above:
If snaphu was installed correctly and you have sourced the StaMPS_CONFIG file correctly, you should get this after typing snaphu
Triangle is also required, you can check by typing triangle
sophia
December 11, 2020, 4:52pm
12
Dear ABraun,thanks for your help.I have successfully installed snaphu and triangle now, check correct. and would you mind tell me what is " sourced the StaMPS_CONFIG file",I am a little confused, would you mind tell me some details.
ABraun
December 11, 2020, 6:01pm
13
before you can run all scripts, you have to modify and source StaMPS_CONFIG as described here: https://gitlab.com/Rexthor/gis-blog/-/blob/master/StaMPS/1_stamps_setup.md point 2.2