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

Download is not available #108

Open
pedro-cf opened this issue Aug 10, 2023 · 2 comments
Open

Download is not available #108

pedro-cf opened this issue Aug 10, 2023 · 2 comments

Comments

@pedro-cf
Copy link

pedro-cf commented Aug 10, 2023

Hello, trying to perform a simple download, which I can replicate in the webpage with https://earthexplorer.usgs.gov/download/632211e26883b1f7/LC92040332023207LGN00, but I am getting an error.

My code:

from landsatxplore.earthexplorer import EarthExplorer

ee = EarthExplorer("***", "***")

ee.download('LC92040332023207LGN00', output_dir='./data')

ee.logout()

Error:

Download failed with dataset id 1 of 2. Re-trying with the next one.
None of the archived ids succeeded! Update necessary!
Traceback (most recent call last):
  File "/home/pedro/.local/lib/python3.10/site-packages/landsatxplore/earthexplorer.py", line 196, in download
    filename = self._download(
  File "/home/pedro/.local/lib/python3.10/site-packages/landsatxplore/earthexplorer.py", line 86, in _download
    raise EarthExplorerError(error_msg)
landsatxplore.errors.EarthExplorerError: Download is not available

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/mnt/c/git/landsat_test/main.py", line 34, in <module>
    ee.download('LC92040332023207LGN00', output_dir='./data')
  File "/home/pedro/.local/lib/python3.10/site-packages/landsatxplore/earthexplorer.py", line 205, in download
    raise EarthExplorerError()
landsatxplore.errors.EarthExplorerError
@klimeto
Copy link

klimeto commented Sep 1, 2023

Hi @pedro-cf I am experiencing the same issues and the reason is that the version distributed via pip does not contain the latest commit: 20404a7 which added new value to DATA_PRODUCTS list which is used to extract data_product_id use in DW URL.

@mantofer02
Copy link

mantofer02 commented Oct 6, 2024

Hi @pedro-cf I am experiencing the same issues and the reason is that the version distributed via pip does not contain the latest commit: 20404a7 which added new value to DATA_PRODUCTS list which is used to extract data_product_id use in DW URL.

This issue still has not been fixed FYI!

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

3 participants