-
Notifications
You must be signed in to change notification settings - Fork 147
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
Landsat8 download problem from USGS-EROS for L1C product not available on AWS S3 or Google Storage #233
Comments
I had this issue, too, and solved it by updating
But there might be more issues because USGS is not using SOAP anymore? |
I have the problem, is there a solution?? |
After pip -U install usgs I still have the problem with some scenes from USGS... Error below: |
You also need this change to You can install it from my fork, if you like:
|
@j08lue then "landsat download LC81220362017024LGN01" Any help is greatly appreciated, thanks a lot! |
You did not specify your USGS account
which means that USGS is not available as an option when Google and Amazon fail. I take it you did not look that much into this ;), so you probably do not have applied for machine-to-machine access for your USGS EROS account. For that you need to write to their support and wait a couple of weeks. |
@j08lue Thanks, i will have a try !! |
I think the problem is that as of 1 may 2017, there has been a change in dataformat. Because of that the AWS en Google changed the location of the landsatfiles. I have fix that in pull-request #241, but there is a problem with the unittest for Geocoder (no changes there). See: Download Collection 1 datastructure with AWS en Google-storage #241 Try the change from: |
@jmellian I've tried both the version here and yours and still get the "not available" error. I've applied for machine-to-machine access and am hoping it works. |
USGS machine-to-machine access, I can confirm, works. |
I've updated the usgs library in requirements to 0.2.1 on the develop branch. |
I am not having success trying to load a set of specific Landsat-8 scenes from USGS EROS site -- for scenes not available on AWS or Google-- trying this from an OSX machine.
I get the scene names using '> landsat search' just fine... With '> landsat download', I get "product not available on AWS S3 or Google Storage"... one of these scenes, as an example, is LC81290582016007LGN02.
When I supply my USGS EROS credentials --username --password (I do have m2m / special inventory access enabled on this account), I get the error message below. Any help greatly appreciated...
#----
Time spent : 0.75 seconds
Traceback (most recent call last):
File "/usr/local/bin/landsat", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/landsat/landsat.py", line 491, in main
exit(*main(args))
File "/usr/local/lib/python2.7/site-packages/landsat/landsat.py", line 408, in main
files = d.download(args.scenes, bands)
File "/usr/local/lib/python2.7/site-packages/landsat/downloader.py", line 80, in download
files.append(self.usgs_eros(scene, self.download_dir))
File "/usr/local/lib/python2.7/site-packages/landsat/downloader.py", line 95, in usgs_eros
error_tree = ElementTree.fromstring(str(e.message))
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1311, in XML
parser.feed(text)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
self._raiseerror(v)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 171, column 22
The text was updated successfully, but these errors were encountered: