Skip to content

Burst download fails with "No bursts found for polarization VV." Even though I have indexed the image using asf_search. #239

@bozso

Description

@bozso

Version: 2.0.2

I am trying to download a set of bursts for my area of interest (AOI). I would use burst2stack but that fails for some images. Not getting all the images is fine with me. But I cannot make burst2stack continue on error so I tried downloading individually using bursts2safe.

I am running the following command:
burst2safe --orbit='2697' --output-dir='asc/safe' --min-bursts=3 --extent 18.6764 46.0197 18.8855 46.1588 --pols VV

I have used asf_search to find the images covering my AOI and saved the results as a csv. From the csv I generated the burst2safe commands, but the first command fails with the following error:

Traceback (most recent call last):
  File "/home/istvan/src/rswiss/.pixi/envs/dev/bin/burst2safe", line 10, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/istvan/src/rswiss/.pixi/envs/dev/lib/python3.13/site-packages/burst2safe/burst2safe.py", line 107, in main
    burst2safe(
    ~~~~~~~~~~^
        granules=args.granules,
        ^^^^^^^^^^^^^^^^^^^^^^^
    ...<8 lines>...
        work_dir=args.output_dir,
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/istvan/src/rswiss/.pixi/envs/dev/lib/python3.13/site-packages/burst2safe/burst2safe.py", line 55, in burst2safe
    products = find_bursts(granules, orbit, extent, polarizations, swaths, mode, min_bursts)
  File "/home/istvan/src/rswiss/.pixi/envs/dev/lib/python3.13/site-packages/burst2safe/search.py", line 251, in find_bursts
    results = find_group(orbit, footprint, polarizations, swaths, mode, min_bursts)
  File "/home/istvan/src/rswiss/.pixi/envs/dev/lib/python3.13/site-packages/burst2safe/search.py", line 222, in find_group
    final_results = add_missing_bursts(search_results, polarizations, swaths, min_bursts, use_relative_orbit)
  File "/home/istvan/src/rswiss/.pixi/envs/dev/lib/python3.13/site-packages/burst2safe/search.py", line 175, in add_missing_bursts
    sub_results = get_burst_group(search_results, *group_definition, min_bursts=min_bursts)  # type: ignore[misc]
  File "/home/istvan/src/rswiss/.pixi/envs/dev/lib/python3.13/site-packages/burst2safe/search.py", line 99, in get_burst_group
    raise ValueError(f'No bursts found for {param_str}. Check search parameters on Vertex.')
ValueError: No bursts found for polarization VV. Check search parameters on Vertex.

The SAR image clearly exists and covers the AOI, as can be seen in the attached image below, plus it was indexed from asf_search. It has polarisations VV+VH (I tried to give all combination of polarisations in the command line VV_VH, VV+VH, VV,VH... none of it works).
Image

Help much appreciated, I started losing my sanity a bit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions