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

windows 10 : No such file or directory: 'query_results.xml' and 'aria2c' is not recognized as an internal or external command #31

Open
barry2015 opened this issue Jan 25, 2018 · 0 comments

Comments

@barry2015
Copy link

I download the codes of Sentinel_download and try it in windows 10,I have installed aria2c,but I run into questions,it doesn't work in windows 10?What's the solutions?
C:\sentinel2_python_erdas\Sentinel_download_by_python>python ./Sentinel_download.py --lat 43.6 --lon 1.44 -a apihub.txt -o 51 --id 2016-11-01 --if 2016-12-01 --downloader aria2
aria2c --check-certificate=false --http-user="guest" --http-passwd="guest" --continue -o query_results.xml "https://scihub.copernicus.eu/apihub/search?q=footprint:"Intersects(43.600000,1.440000)" filename:S2R051 ingestiondate:[2016-11-01T00:00:00.000Z TO 2016-12-01T23:59:50.000Z] producttype:S2MSI1C &rows=100"
'aria2c' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
File "./Sentinel_download.py", line 282, in
xml=minidom.parse("query_results.xml")
File "C:\Python27\ArcGIS10.5\lib\xml\dom\minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "C:\Python27\ArcGIS10.5\lib\xml\dom\expatbuilder.py", line 922, in parse
fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: 'query_results.xml'

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

1 participant