You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/staniewi/miniconda3/envs/mapping/bin/s1_info", line 8, in <module>
sys.exit(main())
File "/Users/staniewi/repos/s1-reader/src/s1reader/s1_info.py", line 262, in mainfor burst in get_bursts(path, args.pol, args.iw):
File "/Users/staniewi/repos/s1-reader/src/s1reader/s1_info.py", line 26, in get_bursts
burst_nested_list = [
File "/Users/staniewi/repos/s1-reader/src/s1reader/s1_info.py", line 27, in <listcomp>
s1reader.load_bursts(filename, None, iw, pol, flag_apply_eap=False)
File "/Users/staniewi/repos/s1-reader/src/s1reader/s1_reader.py", line 878, in load_bursts
bursts = _burst_from_safe_dir(path, id_str, orbit_path,
File "/Users/staniewi/repos/s1-reader/src/s1reader/s1_reader.py", line 997, in _burst_from_safe_dir
bursts = burst_from_xml(f_annotation, orbit_path, f_tiff, iw2_f_annotation,
File "/Users/staniewi/repos/s1-reader/src/s1reader/s1_reader.py", line 795, in burst_from_xml
platform_id, safe_filename, center_pts[i],
IndexError: list index out of range
Same issue was found from the granule S1A_IW_SLC__1SSV_20150308T135919_20150308T135946_004941_0062CC_02DF.zip Based on what I investigated, looks like the issue is coming from the annotation file, especially geolocationGridPointList.
All of the inconsistent cases we see here are very old data. I guess this issue take place only on some of the historical data, but I don't have clear evidence to support my hypothesis.
I have written a temporary workaround in the PR #134 to extrapolate the polygon in this case.
Steps to reproduce
Error:
Inside
get_burst_centers_and_boundaries
:but,
The text was updated successfully, but these errors were encountered: