I advice you to read the previous posts.
In cygwin you should source your StaMPS_CONFIG.bash to the correct directories for your set-up .
This must be done whenever a new terminal is opened.
Then run mt_prep_gamma from the INSAR_masterdata directory.
mt_prep_gamma MasterData /cygdrive/…/INSAR_MasterData 0.4
I have processed Sentinel-1A by following the steps provided by this thread (SNAP 6) and import result to StaMPS. After stamps(1,8), the results for any type of plot look like this figure. I have tried to figure out the reason but no luck. Could u kindly take a look and appricate any suggestion.
hi all， I use the latest version of the snap 6.0 ,i followed latest step provided by @FeiLiu . everything goes well,but when to stamps step 6 , i meet an error.finally , i find There are many empty values in my ps points，As shown in the attachment.Does anyone know how to solve it?THANK YOU!
Hi @gabrielaquintana77, you have got a message but in short, I think during preprocessing (I suspect the Apply Orbit File OP but I was not able to reproduce the error and therefore I can not prove it) went something wrong which leads to 0 mean amplitude, which means that all pixels in the scene do have 0 as amplitude value, which is not possible at all (its about amplitude and not phase, because in this step StaMPS uses an amplitude dispersion index to preselect PS candidates. The Index is D_A=sigma_A/mu_A where D_A is the amplitude dispersion index, sigma_A the standard deviation and mu_A the mean of series of amplitude values see here equation (9) for more details .)
You have to start at the beginning, loading scenes as zip (check them too maybe this data is corrupt?), split, apply orbit file … StaMPS export I really recommend my summary, the steps seems to be stable until now and helped me to prepare several data sets.
This problem is caused by the NaN value in export lat/lon file, in SNAP6.0, the oethorectified lat/lon file are generated by a specific method, and will create some NaN value as the screenshots show below:
@mengdahl This problem is seems caused by merging all tiles together whereas these tiles are not perfect rectangles.
The problem you met can be sloved by two ways, the first is waiting for this bug to be fixed, the second is modifying the ps_load_initial_gamma.m file to remove the PSs candidates which lat/lon value are NaN.
I have met this problem when my first time use SNAP6.0 oethorectified lat/lon option, but it is strange that this problem only occurs sometimes, I am not sure whether it is a bug, so I didn’t point out at that time.
I have modified ps_load_initial_gamma.m at the second time so that this new problem can be solved, and also modified the way of calculating PSs points x,y coordinate, it makes the x,y coordinate calculated by lat/lon file instead of simply assuming that the pixels’ space is default 5m*20m, so that some parameters from step1-4 can be used correctly in StaMPS processing (step 5 re-calculate the x,y coordinate). ps_load_initial_gamma(v2.0).m (6.3 KB)
This new file should also be used even if you don’t have the NaN problem, since it update the x,y coordinate calculation. But use it cautious, if you meet any problem, please don’t hesitate to contact me.
Dear Abraun Sir
Thank you very much for your kind suggestion.
Now i have linux ubuntu operating system, which is new for me. I follow the comments and suggestion in this forum and try to run StaMPS.
I dont know where it do mistake, but i get this message and it is running from last 5 hours.