Skip to content

Landsat8 download problem from USGS-EROS for L1C product not available on AWS S3 or Google Storage #233

@gybely

Description

@gybely

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions