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

Error raised but scene was successfully downloaded for Landsat 8 #98

Open
conorosully opened this issue Apr 20, 2023 · 1 comment
Open

Comments

@conorosully
Copy link

I get an error when running the code for Landsat 8 scenes. Yet, a file is successfully downloaded.

display_id = LC08_L2SP_206023_20221118_20221128_02_T1

I believe the code tries 3 ids:

  • ID 1 fails
  • ID 2 successful
  • ID 3 fails and error is raised: "None of the archived ids succeeded! Update necessary!"

This could be corrected by changing the error handling on lines 191 to 206 of earthexplorer.py. Perhaps you can stop the for loop when 1 of the IDs is successful?

Screenshot 2023-04-20 at 14 07 43

@Digdgeo
Copy link

Digdgeo commented Aug 15, 2024

Same for me. The way I "solved" was to put the download within a try/except block. That way I still have the "None of the archived ids succeeded! Update necessary!" message, but no the ugly error breaking the code and the scene it's also correctly downloaded

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

2 participants