Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

burst2stack ValueError: Less than 2 bursts found for orbit 25700 #110

Open
Jesse-kearse opened this issue Jan 13, 2025 · 0 comments
Open

Comments

@Jesse-kearse
Copy link

Jesse-kearse commented Jan 13, 2025

Hello burst2safe team, thank you for providing an awesome package!

I have the following error with the latest version v1.4.0, that does not occur when using v1.3.1 with the same inputs (Note, input shapfile covers roughly [19.17 19.80 -99.34 -98.87]).

Inputs when using v1.3.1:

'burst2stack', '--rel-orbit', '78', '--extent', 'shapefile.shp', '--start-date', '2019-01-01', '--end-date', '2020-01-01', '--output-dir', '/data/raw/A78', '--min-bursts', '2'

response:

Creating SAFEs for 57 time periods...

Using burst group search...
WARNING:asf_search:WKT REPAIR/VALIDATION: The following repairs were performedon the provided AOI:
["'type': 'GEOMETRY_SIMPLIFICATION': 'report': 'Shape Simplified: shape of 66 simplified to {coords_length} with proximity threshold of {threshold}'", "'type': 'REVERSE': 'report': Reversed polygon winding order"]
WARNING:asf_search:Query Time Elapsed 0.5518019199371338
WARNING:asf_search:Product Subclassing Time 0.002255678176879883
WARNING:asf_search:Page Processing Time 6.4373016357421875e-06
WARNING:asf_search:Page Time Elapsed 0.5563440322875977
Found 5 burst(s).
Check burst group validity...
Downloading data...
Download complete.
Creating SAFE...
SAFE created!

Inputs when using v1.4.0:

'burst2stack', '--rel-orbit', '78', '--extent', 'shapefile.shp', '--start-date', '2019-01-01', '--end-date', '2020-01-01', '--output-dir', '/data/raw/A78', '--min-bursts', '2'

response:

WARNING:asf_search:WKT REPAIR/VALIDATION: The following repairs were performedon the provided AOI:
["'type': 'GEOMETRY_SIMPLIFICATION': 'report': 'Shape Simplified: shape of 66 simplified to {coords_length} with proximity threshold of {threshold}'", "'type': 'REVERSE': 'report': Reversed polygon winding order"]
WARNING:asf_search:Query Time Elapsed 2.149636745452881
WARNING:asf_search:Product Subclassing Time 0.06534361839294434
WARNING:asf_search:Page Processing Time 1.4066696166992188e-05
WARNING:asf_search:Page Time Elapsed 2.2418367862701416
WARNING:asf_search:Query Time Elapsed 1.2951438426971436
WARNING:asf_search:Product Subclassing Time 0.07520270347595215
WARNING:asf_search:Page Processing Time 1.0967254638671875e-05
WARNING:asf_search:Page Time Elapsed 1.379242181777954
WARNING:asf_search:Query Time Elapsed 0.6049203872680664
WARNING:asf_search:Product Subclassing Time 0.017503976821899414
WARNING:asf_search:Page Processing Time 8.821487426757812e-06
WARNING:asf_search:Page Time Elapsed 0.625018835067749
WARNING:asf_search:Query Time Elapsed 0.28556251525878906
WARNING:asf_search:Product Subclassing Time 0.0003027915954589844
WARNING:asf_search:Page Processing Time 5.7220458984375e-06
WARNING:asf_search:Page Time Elapsed 0.28645753860473633
WARNING:asf_search:Query Time Elapsed 0.2894904613494873
WARNING:asf_search:Product Subclassing Time 1.2874603271484375e-05
WARNING:asf_search:Page Processing Time 6.198883056640625e-06
WARNING:asf_search:Page Time Elapsed 0.2898240089416504
Traceback (most recent call last):
  File "/home/seis/anaconda3/envs/insar/bin/burst2stack", line 10, in <module>
    sys.exit(main())
  File "/home/seis/anaconda3/envs/insar/lib/python3.10/site-packages/burst2safe/burst2stack.py", line 118, in main
    burst2stack(
  File "/home/seis/anaconda3/envs/insar/lib/python3.10/site-packages/burst2safe/burst2stack.py", line 52, in burst2stack
    burst_search_results = find_group(
  File "/home/seis/anaconda3/envs/insar/lib/python3.10/site-packages/burst2safe/search.py", line 219, in find_group
    final_results = add_missing_bursts(search_results, polarizations, swaths, min_bursts, use_relative_orbit)
  File "/home/seis/anaconda3/envs/insar/lib/python3.10/site-packages/burst2safe/search.py", line 174, in add_missing_bursts
    sub_results = get_burst_group(search_results, *group_definition, min_bursts=min_bursts)
  File "/home/seis/anaconda3/envs/insar/lib/python3.10/site-packages/burst2safe/search.py", line 106, in get_burst_group
    raise ValueError(f'Less than {min_bursts} bursts found for {params}. Check search parameters on Vertex.')
ValueError: Less than 2 bursts found for orbit 25700, polarization VV. Check search parameters on Vertex.

I looked to see if there was any differences in CLI between the two, but I did not find any, but possible I missed something.
Thanks for any insight, v1.3.1 is working fine for me at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant