-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
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.EarthExplorerErrorReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels