Forums » GAMMA Processing » SAR Data Preprocessing » Sentinel-1 »
Sentinel-1 concatenation failure
Added by Julia Neelmeijer almost 8 years ago
Dear Charles,
I have two adjacent Sentinel-1 data sets where SLC_cat_S1_TOPS is failing. From the log file, I see that the input data does not have exactly the same size (number of data values/burst SLC-1: 32464656 SLC-2: 32466154). Is this important?
processing SLC-3 swath 1 SLC-3 output swath SLC: 20150323_iw1.slc SLC-3 swath parameter file: 20150323_iw1.slc.par number of data values/burst SLC-1: 32464656 SLC-2: 32466154 SLC-3 swath TOPS_PAR burst parameter file: 20150323_iw1.slc.tops_par SLC-1 file size (bytes): 2337455232SLC-1 start time (s) t0: 4353.80148 end time t2: 4378.94299 SLC-2 start time (s) t0: 4378.62287 end time t2: 4403.76849 r0 (m): sp1[i].r0: 799299.6197 sp2[i].r0 799298.3867 rng samples: sp1[i].nr: 21672 sp2[i].nr 21673
And I also see the following issue:
SLC-3 azimuth image time (s) t0: 4353.80148 t1: 4378.78499 t2: 4403.76849 number of output state vectors in the concatenated SLC-3: 17 time interval (s): 10.000000 ******************************************************************************************************************************************************* state vector: 1 svt: NOTE: starting slant ranges of SLCs differ, SLC-1: 799299.6197 SLC-2: 799298.3867 4294.0000 pos_x: 800566.123 pos_y: 4882020.911 pos_z: 5049729.362 vel_x: 2713.7549 vel_y: 4884.0844 vel_z: -5138.8616
This error occurs also on different state vector positions in swath 2 and 3.
Do you have any idea how I still may be able to concatenate the data?
If you want to test it yourself, I am working on the following granules:
S1A_IW_SLC__1SSV_20150323T011256_20150323T011323_005152_0067EE_D00E
S1A_IW_SLC__1SSV_20150323T011231_20150323T011258_005152_0067EE_8FD4
Thank you very much!
Best, Julia
Replies (7)
Sentinel-1 concatenation failure - Added by Charles Werner almost 8 years ago
Hello,
What is the error message?
thanks,
Charles
RE: Sentinel-1 concatenation failure - Added by Julia Neelmeijer almost 8 years ago
Hi Charles,
thanks for coming back to me. There is no error message. The program is running until the entire end. However, the result does not look correct. If I try to write it to a tif file, I get nans for average and scaling (see below) and the image itself is empty. I had attached the entire log of SLC_cat_S1_TOPS to my previous post, so you can have a look for yourself. Thank you!
rasSLC 20150323_iw1.slc 21672 1 0 1 1 1. 0.35 1 0 0 20150323_iw1.slc.tif *** DISP Program rasSLC *** *** Copyright 2016, Gamma Remote Sensing, v2.8 6-Sep-2016 clw *** *** Generate 8-bit raster graphics image of intensity of complex (SLC) data using power law scaling *** OPENMP maximum available threads : 8 OPENMP: setting number of theads: 4 input image: 20150323_iw1.slc image format: FCOMPLEX input image width: 21672 height: 26964 range looks: 1 azimuth looks: 1 output image width: 21672 height: 26964 relative scale factor: 1.000 exponent: 0.350 average: nan scale factor: nan line 26000 lines: 26964 width: 21672 output image: 20150323_iw1.slc.tif
RE: Sentinel-1 concatenation failure - Added by Julia Neelmeijer almost 8 years ago
Hi Charles,
as I am trying to solve that issue, I also found that the range samples of the swathes to be concatenated are differing by one pixel:
title: s1a-iw1-slc-vv-20150323t011258-20150323t011323-005152-0067ee-001.tiff S1A-IW-IW1-VV-5152 (software: Sentinel-1 IPF 002.43) sensor: S1A IW IW1 VV date: 2015 3 23 1 12 58.6229 start_time: 4378.622867 s center_time: 4391.195677 s end_time: 4403.768487 s azimuth_line_time: 2.0555563e-03 s line_header_size: 0 range_samples: 21673 azimuth_lines: 13482
title: s1a-iw1-slc-vv-20150323t011233-20150323t011258-005152-0067ee-001.tiff S1A-IW-IW1-VV-5152 (software: Sentinel-1 IPF 002.72) sensor: S1A IW IW1 VV date: 2015 3 23 1 12 33.8015 start_time: 4353.801485 s center_time: 4366.372240 s end_time: 4378.942994 s azimuth_line_time: 2.0555563e-03 s line_header_size: 0 range_samples: 21672 azimuth_lines: 13482
I have attached the par files of both iw1 swathes, in case that may help you. Please let me know, if I can provide any more information that may help you to find a solution for that problem. Thank you.
Best, Julia
RE: Sentinel-1 concatenation failure - Added by Charles Werner almost 8 years ago
Hello,
the number of range samples should not be an issue, the program extracts the
appropriate number of samples if they differ.
Where is the error message?
Well, in this case, try using the program replace_values to see if you can
replace the nans with 0.
And see if the data are ok..., then it could be a memory error of some kind.
- DISP Program replace_values.c ***
- Copyright 2008, Gamma Remote Sensing, v1.4 6-May-2008 uw/clw/ts ***
- Replace value(s) of input data file with specified value or values extracted
from a second input data file ***
usage: replace_values <f_in> <value> <new_value> <f_out> <width> [rpl_flg]
[type] [zero_flag]
input parameters:
f_in (input) input data file
value threshold value or nan
new_value new value to use or second input data file (float)
f_out (output) output data file
width number of samples/row
rpl_flg replacement option flag (default = 0)
0: replace all points == value with new_value
1: replace all points >= value with new_value
2: replace all points <= value with new_value
type data type
2: float or fcomplex (default)
4: short int
zero_flag interpretation of 0.0 values:
0: interpreted as missing value (default)
1: 0.0 is a valid data value
Best regards,
Charles
RE: Sentinel-1 concatenation failure - Added by Julia Neelmeijer almost 8 years ago
If I replace the nans with zero the concatenated image looks like this screenshot.
sentinel_error.png (485 KB) sentinel_error.png |
RE: Sentinel-1 concatenation failure - Added by Charles Werner almost 8 years ago
Hello,
There was an error in SLC_cat_S1_TOPS the prevented correct concatenation of
Sentinel-1 SLCs when there is a change in the number of range samples from one
frame to the next. This happens infrequently, and may not affect your data. The
error manifests itself as total corruption of the bursts in the second appended
frame. There is an update available for this program by request. Send an email
to me (cw@gamma-rs.ch) or Christophe Magnard (magnard@gamma-rs.ch) and we will
send you the binary executable of the updated program.
Regards,
Charles Werner
RE: Sentinel-1 concatenation failure - Added by Julia Neelmeijer almost 8 years ago
Dear Charles and Christophe,
thank you again for your quick help and effort to find the source of the problem!
Everything is working now as expected.
Best,
Julia