Processing a stack of SLCs rather than individually?

Hey,

In order to do a PS analysis with Sentinel-1 data in StaMPS, I want to create the interferograms in GAMMA format in SNAP 2.0 on Linux. I have 35 TOPS SLCs which I want to process wrt one specific master.
Given that I am new to the processing with the SNAP Toolbox, I firstly tried to process just one interferogram (so with only two SLC products) with the help of the TOPS Interferometry Tutorial by Luis Veci from May 2015. This worked perfectly fine. Thereafter I saw, that it is also possible to do use the GraphBuilder to do the processing. But in every case, it is barely possible to process more than one pair of products at once.

My question: As it is very time-consuming to process all the interferograms individually, I wanted to know if there is a way to stack the SLC products and start the processing steps just once for the whole stack (i.e. coregister all the slaves to the master at one go)?

Here is a list of my products:
S1A_IW_SLC__1SDV_20141010T053302_20141010T053330_002763_0031B2_FBD1
S1A_IW_SLC__1SDV_20141022T053302_20141022T053330_002938_00355F_C40F
S1A_IW_SLC__1SDV_20141115T053301_20141115T053330_003288_003CEF_4AA4
S1A_IW_SLC__1SDV_20141209T053301_20141209T053329_003638_0044F6_5D71
S1A_IW_SLC__1SDV_20141221T053301_20141221T053329_003813_0048ED_B1AE
S1A_IW_SLC__1SDV_20150102T053300_20150102T053328_003988_004CD8_EC32
S1A_IW_SLC__1SDV_20150114T053259_20150114T053328_004163_0050C8_3F6D
S1A_IW_SLC__1SDV_20150126T053259_20150126T053328_004338_0054AA_E226
S1A_IW_SLC__1SDV_20150207T053259_20150207T053327_004513_0058A5_C217
S1A_IW_SLC__1SDV_20150219T053259_20150219T053327_004688_005CB5_6A5F
S1A_IW_SLC__1SDV_20150303T053259_20150303T053327_004863_0060F7_FC8E
S1A_IW_SLC__1SDV_20150315T053259_20150315T053327_005038_006529_50A0
S1A_IW_SLC__1SDV_20150327T053259_20150327T053327_005213_00695B_A7EF
S1A_IW_SLC__1SDV_20150408T053251_20150408T053321_005388_006D8E_3A59
S1A_IW_SLC__1SDV_20150420T053252_20150420T053322_005563_0071E8_35AF
S1A_IW_SLC__1SDV_20150502T053301_20150502T053329_005738_0075E2_2C93
S1A_IW_SLC__1SDV_20150514T053301_20150514T053329_005913_0079E6_60E5
S1A_IW_SLC__1SDV_20150526T053303_20150526T053331_006088_007E35_FCF9
S1A_IW_SLC__1SDV_20150607T053303_20150607T053331_006263_008342_3813
S1A_IW_SLC__1SDV_20150619T053304_20150619T053332_006438_00883F_92C8
S1A_IW_SLC__1SDV_20150713T053304_20150713T053332_006788_0091FD_EF9A --> master
S1A_IW_SLC__1SDV_20150725T053305_20150725T053333_006963_0096FE_1C42
S1A_IW_SLC__1SDV_20150806T053307_20150806T053334_007138_009BD1_8148
S1A_IW_SLC__1SDV_20150818T053308_20150818T053335_007313_00A096_1BB8
S1A_IW_SLC__1SDV_20150830T053308_20150830T053335_007488_00A55A_DDF7
S1A_IW_SLC__1SDV_20150911T053309_20150911T053336_007663_00AA25_3F76
S1A_IW_SLC__1SDV_20150923T053309_20150923T053336_007838_00AEBD_48AE
S1A_IW_SLC__1SDV_20151005T053309_20151005T053336_008013_00B377_04D3
S1A_IW_SLC__1SDV_20151017T053309_20151017T053336_008188_00B82C_D8D2
S1A_IW_SLC__1SDV_20151029T053309_20151029T053336_008363_00BCE6_7B2C
S1A_IW_SLC__1SDV_20151110T053305_20151110T053335_008538_00C181_6A96
S1A_IW_SLC__1SDV_20151122T053311_20151122T053340_008713_00C679_CD48
S1A_IW_SLC__1SDV_20151204T053259_20151204T053329_008888_00CB62_CC86
S1A_IW_SLC__1SDV_20151216T053310_20151216T053339_009063_00D037_6A65
S1A_IW_SLC__1SDV_20151228T053258_20151228T053328_009238_00D52F_DDDE

Help is much appreciated,
Maryse

That is possible, please look into the batch-processing functionality in SNAP.

Hi @mengdahl,

thanks for the tip, that is exactly what I was looking for. I tried to use the graph for both coregistration and interferogram formation (Radar - InSAR Graphs - TOPSAR Coreg Interferogram). But I still have a few difficulties with the batch-processing:

Which master scene does the batch processing choose? Can I set it manually?

Worse, I get the error message " ‘file’ parameter must be set". I don’t know how to interpretate this message. I add all open products in the I/O Parameters and cannot proceed to set the other parameters (i.e. subswath and polarization) as I get the mentioned error message.
Do you have any ideas about what I am doing wrong?

Maryse

Just to let you (and others who may face this problem) know: I think I solved the problem with the missing ‘file’ parameter.
Before you start the batch processing, you have to save the graph you want to process in an extra .xml document. Just go to the GraphBuilder, choose the processing graph and save it on your machine. After that, open the batch processing and load the products you want to process as well as the previously saved graph. The error " ‘file’ parameter must be set" does not appear when you follow this proceeding.

I think, it is strange that you have to go this detour with saving the graph manually, as there is already the possibility to load a predefined graph in the batch processing functionality. I suppose this is a bug which still has to be fixed.

1 Like

Maryse

I am experiencing the same issue with both S1tb and Snap.
I tried to follow your advice and save an additional graph, both on the desktop and in the original graph folder but still have the problem of (file) is null at the topsar split stage.
Is there a particular order/place/name for the new graph?

Thanks

Jon

Hey Jon,

hmmm, strange. I named my graph Coreg_Ifg_1Subswath.xml and saved it in my data folder where I put my SLC scenes.
When processing the Batch process, I firstly load the data in the I/O Parameters. After that I load my graph and have no problems with defining the subswath, etc.
Maybe you can check if this works for you, too.

Maryse

Thanks for the quick response.
Its still not working though.
The graph itself looks as though it is set up for two source files.
Did you try it with the whole stack or just a couple of data sets?

Jon

I tried both. First, I did it with just 2 SLC scenes to get to know the tool. After that worked, I put all of my scenes in the Batch processing tool:

Maybe the problem is caused by your data? How many scenes do you want to process?
I had no problems to process my scenes. However, I am not quite sure which scene was used as master scene - or whether one can choose the master scene manually…

Dear colleagues,
Have you succeed in processing Sentinel-1 data with STAMPS?
I am also trying to process the Sentinel-1 data with STAMPS. But I bumped into problems in the very beginning. I can not export or save results of co-registration in GAMMA format.


I tried to save results of TOPS co-registration and interferogram formation in Gamma format as well as export the result saved as .dim to gamma format. I can export in any other format (envi, for example) but not gamma. I also tried Envisat data instead of Sentinel - the same mistake. I use SNAP 2.0.2 with Linux 12. 04 and 14.04. If someone could give any advise how to overcome this problem it would be highly appreciated!

Dear katherine,
I have the same problem with Sentinel-1 data, I can write every data format except the GAMMA format, that I need. Did you (or anybody) find a solution? I’m working with SNAP 3.0.4 Version on Windows.
Thanks a lot!

Dear Anna,

Please always use the most up-to-date version of SNAP (today 4.0 with all module updates). We do not support obsolete versions and only fix bugs in the current version.

Marcus

Dear Marcus,

thank you for your quick response.
I also tried this latest version on a colleagues PC (also Windows) and there was the same error message. Interestingly even though this error message occured, Snap created a par file. But I am wondering if this file is correct because it is very short (it contains 10 lines and does not look like an original GAMMA par file). Did I something wrong?

Anna

Dear Anna,
If you simply want to export your data to Gamma format - it did not work in earlier release but now it works perfectly. But if you want to use Stamps - it is much more complicated. We are waiting for the test release of the softwear, please, see

Best wishes,
Katherine

The Gamma writer has only been created to support the StaMPS export. Therefore, it does not fully write all the metadata according to the Gamma format but just the metadata needed by StaMPS. An update with the StaMPS export is coming soon. We still have some issues to fix.

Thank you Luis!
We’ll be patient! Looking forward to test it!
Katherine

lveci
October 11
The Gamma writer has only been created to support the StaMPS export. Therefore, it does not fully write all the metadata according to the Gamma format but just the metadata needed by StaMPS. An update with the StaMPS export is coming soon. We still have some issues to fix.

Visit Topic or reply to this email to respond.

In Reply To
katherine
October 6
Dear Anna, If you simply want to export your data to Gamma format - it did not work in earlier release but now it works perfectly. But if you want to use Stamps - it is much more complicated. We are waiting for the test release of the softwear, please, see

Best wishes, Katherine


Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here .

All the best,
Katherine

Hi all,
The unrealesed version of S1TBX 5.0 already working (ie StaMPS export) ? Or still need tests (for StaMPS export)?
Thank you very much for this tool
Best regards, Stanislav

The S1 Backgeocoding has been updated to support coregistering multiple slaves. Currently, you can only create interferograms for each slave with the same master. We’ll update this in the next couple of months to support choosing which interferograms to create based on baseline/time.
The stamps export for PSI appears to be complete. I’ve sent a pre-release for testing to some users here who have requested it. The export for SBAS has not yet been started.

1 Like

Hi
Sutch problems I solve with command promt interface. I am windos user, but I am sure that scripting is supportet in Linux to

Hi lveci. Has the export for SBAS been completed ? Thanks

Please do it ASAP.