We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to download some scenes from Landsat with command lines and API, but same errors occur.
Errors:
File "C:\Users\user\anaconda3\envs\my_environment\lib\site-packages\landsatxplore\earthexplorer.py", line 150, in download filename = self._download(url, output_dir, timeout=timeout, skip=skip) File "C:\Users\user\anaconda3\envs\my_environment\lib\site-packages\landsatxplore\earthexplorer.py", line 103, in _download local_filename = r.headers["Content-Disposition"].split("=")[-1] File "C:\Users\user\anaconda3\envs\my_environment\lib\site-packages\requests\structures.py", line 52, in __getitem__ return self._store[key.lower()][1] KeyError: 'content-disposition'
Command lines I used: landsatxplore download LT05_L1TP_195051_19950807_20170107_01_T1 --username '[username]' --password '[password]'
landsatxplore download LT05_L1TP_195051_19950807_20170107_01_T1 --username '[username]' --password '[password]'
The python I used with the API:
from landsatxplore.earthexplorer import EarthExplorer ee = EarthExplorer('[username]', [password]') ee.download('LT51960471995178MPS00', output_dir='./data') ee.logout()
The text was updated successfully, but these errors were encountered:
me too! How to deal with it?
Sorry, something went wrong.
have u solved it?
No branches or pull requests
I tried to download some scenes from Landsat with command lines and API, but same errors occur.
Errors:
Command lines I used:
landsatxplore download LT05_L1TP_195051_19950807_20170107_01_T1 --username '[username]' --password '[password]'
The python I used with the API:
The text was updated successfully, but these errors were encountered: