olivierhagolle / LANDSAT-Download

Automated download of LANDSAT data from USGS website
http://olivierhagolle.github.io/LANDSAT-Download
GNU General Public License v3.0
205 stars 96 forks source link

Doesn't work #53

Closed wukongtea closed 5 years ago

wukongtea commented 5 years ago

It dosen't work in python3,can you repair it?

F:\Landsat>python download_landsat_scene.py -o scene -b LC8 -d 20130127 -s 198030 -u usgs.txt --output /data File "download_landsat_scene.py", line 3 Landsat Data download from earth explorer ^ IndentationError: unexpected indent

F:\Landsat>python download_landsat_scene.py -o scene -b LC8 -d 20130127 -s 198030 -u usgs.txt --output /data File "download_landsat_scene.py", line 22 print "Establishing connection to Earthexplorer with proxy..." ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int "Establishing connection to Earthexplorer with proxy...")?

F:\Landsat>python download_landsat_scene.py -o scene -b LC8 -d 20130127 -s 198030 -u usgs.txt --output /data File "download_landsat_scene.py", line 22 print "Establishing connection to Earthexplorer with proxy..." Can you turn your python2 code into python3?

olivierhagolle commented 5 years ago

Hi Some basic politeness would help... I will do it one day or the other, but not in my top priorities. Feel free to contribute ;) Olivier

wukongtea commented 5 years ago

Sorry, it is my faults.Thank you very much for your kindness.