Project

General

Profile

problem with extract bursts from 2 swaths

Added by deepAI M over 5 years ago

Hi

I am trying to extract 2 bursts from 2 sub swaths but not succeeded. I am getting the following error. saying only one burst available. plese check error details below.

echo "20190625.IW1.slc 20190625.IW1.slc.par 20190625.IW1.slc.TOPS_par" > 20190625.SLC1_tab
echo "20190625.IW2.slc 20190625.IW2.slc.par 20190625.IW2.slc.TOPS_par" >> 20190625.SLC1_tab

echo "20190625.IW1.slc 20190625.IW1.slc.par 20190625.IW1.slc.TOPS_par" > 20190625.SLC2_tab
echo "20190625.IW2.slc 20190625.IW2.slc.par 20190625.IW2.slc.TOPS_par" >> 20190625.SLC2_tab

echo "1 2" > burst_tab
echo "1 2" >> burst_tab
SLC_copy_S1_TOPS 20190625.SLC1_tab 20190625.SLC2_tab burst_tab 1

WARNING: subroutine rd_vec, keyword not found: first_slant_range_polynomial
WARNING: subroutine rd_vec, keyword not found: center_slant_range_polynomial
WARNING: subroutine rd_vec, keyword not found: last_slant_range_polynomial
WARNING: subroutine rd_int, keyword not found: number_of_bursts
WARNING: subroutine rd_int, keyword not found: lines_per_burst
WARNING: subroutine rd_str, keyword not found: data_type
WARNING: data_type parameter in the ScanSAR burst parameters set to default: FCOMPLEX
WARNING: subroutine rd_int, keyword not found: range_samples
WARNING: range_samples parameter in the ScanSAR burst parameters set to default: 0
WARNING: subroutine rd_int, keyword not found: range_looks
WARNING: subroutine rd_int, keyword not found: azimuth_looks
WARNING: subroutine rd_dbl, keyword not found: az_steering_rate
WARNING: subroutine rd_str, keyword not found: ascending_node_date
WARNING: subroutine rd_dbl, keyword not found: ascending_node_t0
WARNING: subroutine rd_dbl, keyword not found: burst_interval
SLC-1 swath: 1 image format: SCOMPLEX number of bursts: 0
r0 (m): 0.000 r2 (m): 0.000 nr: 0 rpix (m): 0.000000 t0 (s): 0.000000 t2 (s): 0.000000 nlines: 0 time_per_line (s): -0.000000e+00

SLC-1 swath 2 SLC: 20190625.IW2.slc
SLC-1 swath SLC/MLI parameter file: 20190625.IW2.slc.par
SLC-1 swath ScanSAR burst parameter file (TOPS_PAR): 20190625.IW2.slc.TOPS_par
SLC-1 swath: 2 image format: SCOMPLEX number of bursts: 9
r0 (m): 846602.710 r2 (m): 905123.637 nr: 25122 rpix (m): 2.329562 t0 (s): 51338.608979 t2 (s): 51363.775155 nlines: 13581 time_per_line (s): 2.055556e-03

SLC2_tab file for output resampled ScanSAR SLC swaths: 20190625.SLC2_tab

SLC2_tab file for S1 ScanSAR burst SLC section (output): 20190625.SLC2_tab

BURST_tab: burst_tab
swath: 3 first_burst: 1 last_burst: 2 burst_offset: 0 burst_count: 2
swath: 3 first_burst: 1 last_burst: 2 burst_offset: 0 burst_count: 2
SLC input data format: SCOMPLEX bytes/sample: 4
SLC output data format: SCOMPLEX bytes/sample: 4
ERROR: swath: 1 There is only one burst in the swath and filling with blank bursts requested

Thanks in advance


Replies (4)

problem with extract bursts from 2 swaths - Added by Charles Werner over 5 years ago

Hello,
I would look at the individual SLC parameters files. These WARNINGS indicate
that keywords are missing in the SLC parameter file (or what you think is an SLC
parameter file. That suggests that what you think is an SLC parameter file is not.

Look at the TOPS par, are there enough bursts? There is annotation in the TOPS
par that tells you if the burst number, and you can see if the specific bursts
match and are available.

Cheers,
Charles

RE: problem with extract bursts from 2 swaths - Added by deepAI M over 5 years ago

Hi Charies,

Thank you for your reply. I tried the below script and it is working now

echo "S1A_IW_SLC__1SDV_20190625T141538_20190625T141605_027837_032484_78BD.zip" > zipfile_list
S1_BURST_tab_from_zipfile zipfile_list S1A_IW_SLC__1SDV_20190625T141538_20190625T141605_027837_032484_78BD.zip
./import_S1_TOPS 20190625 S1A_IW_SLC__1SDV_20190625T141538_20190625T141605_027837_032484_78BD.zip "vv" 1

echo "1 2" > burst_tab . # using sub swath IW1 only

SLC_copy_S1_TOPS 20190625.SLC_tab 20190625N.SLC_tab burst_tab 1
echo "20190625.IW1_2.slc 20190625.IW1_2.slc.par 20190625.IW1_2.slc.tops_par" > SLC1_tab

The above script extract and saved 2 bursts but end of the line showing the below error

ERROR p_interp(): time outside of range: 68870.85438 min: 51237.15592 max: 51477.15592. what does it mean?

Thanks in advance.

RE: problem with extract bursts from 2 swaths - Added by Charles Werner over 5 years ago

Hello,

In the current software SLC_copy_S1_TOPS is now called SLC_copy_ScanSAR since it
is generalized to all ScanSAR sensors. Consider renaming your scripts.
The error suggests that the TOPS_par does not match with the SLC parameter file.
Similarly SLC_copy_S1_TOPS is now called SLC_copy_ScanSAR.

I assume that the error you see is coming from running SLC_copy_ScanSAR?
If so, then run this command directly from the command line, rather than part of
the script. Then from the screen output you will have information as to the
cause of the error.

It is possible that the times of the bursts in the TOPS_par does not match with
the SLC_par of the file. The state vectors in the SLC_par should cover the time
range of the SLC, check this. The start time of the state vectors is given in
the SLC_par as well as the start and end time of the image.

what is the version/date of the SLC_copy_ScanSAR?

To determine problems in a script, I usually run the commands one by one
directly from the command line. To see the commands that are generated when
running a script, I modify the first line of the script using a text editor  and
add the -x option. This shows all commands exactly as they are executed.

Best regards,
Charles

RE: problem with extract bursts from 2 swaths - Added by deepAI M over 5 years ago

Thanks Charles. I have looked at SLC parameter file and corrected it. it is works now. Thanks again. we bought GAMMA software recently. I try with SLC_copy_ScanSAR function.

    (1-4/4)