how to include the path,can you explain more ?
All directories which contain the scripts to be called have to be included in the PATH variable.
Therefore, you need to extend it by these directories. It is explained here: http://www.es.ele.tue.nl/~ljozwiak/education/5JJ70p/blocks/1/cygwin.html
Any chance you use Linux for this? It’s free and can be installed in a virtual machine as well.
I managed to run
mt_prep_gamma_snap in cygwin and everything seemed fine but then receive an error in the first step of StaMPS within matlab. This error didn’t occur when I used Linux directly to prepare the data.
I known this,I have included the path of Stamp(bin) and cygwin64 in environment variable.it seems the mt_prep_gamma exits error,you can find the error in my above post
I don’t have a clue, sorry. Is it related to chinese path names maybe?
it is about mt_prep_gamma,all my install path is in english
I dont know why this error occurs
Please open the mt_prep_gamma_snap script and read line 56.
At least doing some debug you should be able to understand what is going on.
when i type which mt_prep_gamma_snap in cygwin64,te result shows that no mt_prep_gamma in Shared:/cygdrive/d/studysoftware/StaMPS-4.1-beta/bin:
but i have replaced the mt_prep_gamma file in Stamps-4.1/bin folder
the path variable i have to add should be do in windows or cygwin64?
I think the error is about bash and tcsh,how to convet bash to tcsh?
I do this step as follow:
(1)edit the StaMPS_CONFIG.bash,add the path of STAMPS、snaphu and triangle，the picture
(2)then i add the source /cygdrive/d/studysoftware/StaMPS-4.1-beta/StaMPS_CONFIG.bash in cygwin .bashrc file like this:
can you check the step i did,and any mistakes in this step?
at last ,i open cygwin64 and turn to my data folder and excute mt_prep_gamma like this:
but when i excute the command by add bash to it like this:
it seems that the mt_prep_gamma files exit error in line 56、170
if you have not meet the problem ,I have no problem untill no but to convet to unix system and when i trun to unix,may i install a unix version matlab? and compile stamps another one
I have pass the first step (mt_prep_gamma)in ubuntu,
and what should i do next about ps_initial_gamma?
Good that you switched to Linux - solves many unnecessary problems.
Now open matlab, switch to the directory of the exported files and proceed as described in the manual, chapter 6:
Basically, enter stamps(1,1), stamps(2,2) and so on to run the separate steps described in the manual. Keep track of the results and what is written there.
A more detailled tutorial is given here: http://eoscience.esa.int/landtraining2017/files/materials/D4P1a1I.pdf
and the Manual express really difficult,another problem,there are many version of mt_prep_gamma and ps_initial_gamma files, i dont know which to choose,can you share your file with me
this is the one to use:
They were originally provided by katherine here: Workflow between SNAP and StaMPS
Please understand that we are no teachers. SNAP, StaMPS and all resources are provided for free and with sufficient documentation. If you decide to use them, you need to bring some time to understand it. If you struggle at a certain point, feel free to ask. But we won’t provide private lessons to anyone starting from scratch.
thanks a lot,i will try tomorrow
thank you very much, I am a newby about Stamps,and cannot understand the file you provide for me.
i means i dont understand the content of the program,and just do step by step
I have finished the PS selection for PATCH_1 in my data folder,and what should
I do next?
repeat the same operate for other PATCH(i have four Patches fromPATCH_1 to PATCH_4),i want to know whether the PS selection for other pathes should be done once again like Patch_1 or not need to be done again