Snap2stamps package: a free tool to automate the SNAP-StaMPS Workflow

hi @ABraun , many thanks for your kindness response, I have done my research thoroughly and I have used these instructions as well. Now to explain each of their plots I want to know exactly what each of these commands did for me(I mean in more detail.). Tell me what you know. Thank you

'w' for wrapped phase
'w-d' for wrapped phase minus smoothed dem error
'w-o' for wrapped phase minus orbital ramps ('w-dm', 'w-do', 'w-dmo')
'p' for spatially filtered wrapped phase
'u' for unwrapped phase
'u-d' for unwrapped phase minus dem error
'u-m' for unwrapped phase minus and master AOE
'u-o' for unwrapped phase minus orbital ramps
'u-a' for unwrapped phase minus topo-correlated atmosphere 
('u-dm', 'u-do', 'u-da', 'u-dmo', 'u-dma', 'u-dms', 'u-dmao', 'u-dmos')
'usb' for unwrapped phase of small baseline ifgs 
('usb-d', 'usb-o', 'usb-a' also 'usb-do','usb-da', 'usb-dao')
'rsb' residual between unwrapped phase of sb ifgs and inverted
'd' for spatially correlated DEM error (rad/m)
'm' for AOE phase due to master
'o' for orbital ramps
's' for atmosphere and orbit error (AOE) phase due to slave
'v' mean LOS velocity (MLV) in mm/yr ('v-d', 'v-o', 'v-a', 'v-do, 
'v-da', 'v-dao')
'vs' standard deviation of MLV (mm/yr) ('vs-d', 'vs-o', also 'vs-do')
'vdrop' MLV calculated from all but current ifg (mm/yr)
'vdrop-d'
'vdrop-o' (also 'vdrop-do')

I think this is all explained in the StaMPS manual and the accompanying publications by Andy Hooper.

2 Likes

I have encountered the following mistakes. Can anyone help me?


Looks like the reference (master) image has a different name than expected by the tool. It should end with _Split_Orb.dim
Please also check the config file if it is entered correctly.
Explained here: Snap2stamps package: a free tool to automate the SNAP-StaMPS Workflow - #86 by mdelgado

oh, thanks. My master path is set incorrectly. It is now resolved.Another problem is that I found in running splitting_ slaves.py, some images are not split, and the folder is empty. Is this caused by no orbit data? Can I set false to true in XML to avoid this?

Please check if the raw files of these data were downloaded correctly by loading them into SNAP. Is there an error message?

I checked it and there’s no problem

which python version are you using?

Python 2.7. I found that the image that has not been split is indeed because there is no orbit data, including POE and RES. The error message displayed is as follows. But the time is from April to October 2021. In fact, there should be orbit data. I guess it’s the bug of SNAP


itself?

Dear @ABraun @mdelgado , I’m also facing the same problem. May be that particular period orbital data not updated in the source folder.

Somehow, gpt struggles with orbit data while the error from last March was fixed for the gui. You can test with one scene by manually downloading the orbit file and see if the error persists.
https://qc.sentinel1.copernicus.eu/

Yes, I solved this problem by manually downloading orbit data. Another small problem is that a target.dim and target.data is finally generated, are these useful and can I delete them?

You can delete them, they are not required.

Thank you. It seems that every time I run gpt, ā€œGDAL not found in systemā€¦ā€ will be displayed. Although there is no impact, is there a way to solve this problem? And will it waste time searching the GDAL directory every time?

This message is due to the s2tbx that you installed with SNAP. It has nothing to do either with snap2stamps or with s1tbx

If you do not want to see them you may probably unable it or to uninstall s2tbx.

Please @marpet or @ABraun,can you bring some light here to show how to unable these messages? Thanks

I’ve created a FAQ entry which explains how the logging output can be limited.

2 Likes

If I don’t want to subset or I want to subset by pixel coordinates, how to set AOI BBOX DEFINITION?

snap2stamps has the BBOX based on geographical coordiantes, not radar coordinates line/pixel.

What about not subsetting?

You can introduce the border coordinates of a large rectangle that include the entire subswath.

snap2stamps was thought to be used by people with interest in small AOI and limited computer resources, but if this is not your case you can not subsetting by following my advice of above