aria-tools/ARIA-tools

[BUG] ariaDownload not working with asf_search 8.0.1

Closed this issue · 1 comments

Describe the bug

I installed aria-tools and asf_search in a conda environment. When I try to run ariaDownload.py, I get an error from the asf_search call.

To Reproduce
Steps to reproduce the behavior:

  1. Install aria-tools 1.2.1 and asf_search v 8.0.1
  2. Command used ariaDownload.py -b '37.0 38.1 -122.6 -121.25' --track 35 --num_threads 8
  3. Error Output:
Traceback (most recent call last):
  File "/u/vento-r0/ericf/packages/miniconda3/envs/ARIA-tools/bin/ariaDownload.py", line 393, in <module>
    main()
  File "/u/vento-r0/ericf/packages/miniconda3/envs/ARIA-tools/bin/ariaDownload.py", line 389, in main
    Downloader(args)()
  File "/u/vento-r0/ericf/packages/miniconda3/envs/ARIA-tools/bin/ariaDownload.py", line 229, in __call__
    scenes = self.query_asf()
             ^^^^^^^^^^^^^^^^
  File "/u/vento-r0/ericf/packages/miniconda3/envs/ARIA-tools/bin/ariaDownload.py", line 349, in query_asf
    dataset=asf_search.DATASET.ARIA_S1_GUNW,
            ^^^^^^^^^^^^^^^^^^
AttributeError: module 'asf_search' has no attribute 'DATASET'

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • ARIA-tools git tag: [e.g. git show --summary] aria-tools 1.2.1 py311h4a3439e_0 conda-forge
  • OS Linux
    asf_search 8.0.1 pyhd8ed1ab_0 conda-forge
    asf_search-base 8.0.1 pyhd8ed1ab_0 conda-forge

Additional context
Add any other context about the problem here.

resolved in #455