The issue occurred when the two sets of dual polarizations (i.e. VV+VH and HH+HV) were given as input. Then, gather_rtc_files failed because the only first element of the pol_list was used to search the geotiff file.
In this PR, the CO_POL is used instead of the first element of the pol_list to find the Geotiff file.
Also, another minor bug was found in the overlapped burst. Previously, the corner coordinates were used to search the overlapped bursts`, but this is not accurate. The new implementation uses the polygon of the bursts which is extracted from the metadata of the RTC image.
This PR fixes the bug in the
save_mgrs_tile.py
The issue occurred when the two sets of dual polarizations (i.e. VV+VH and HH+HV) were given as input. Then,
gather_rtc_files
failed because the only first element of thepol_list
was used to search the geotiff file. In this PR, theCO_POL
is used instead of the first element of thepol_list
to find the Geotiff file.Also, another minor bug was found in the
overlapped burst
. Previously, the corner coordinates were used to search the overlapped bursts`, but this is not accurate. The new implementation uses the polygon of the bursts which is extracted from the metadata of the RTC image.