jgomezdans / get_modis

Downloading MODIS data from the USGS repository
GNU General Public License v3.0
62 stars 41 forks source link

Convert script to work with Python3 #3

Closed atedstone closed 8 years ago

atedstone commented 8 years ago

I have made a few changes in order to get the script working with Python 3. I don't have a working Python2.x environment at the moment so have not been able to test for backwards compatibility - not sure what the impact of the decode() statements or changing xrange to range is.

jgomezdans commented 8 years ago

OK, tested on 2.7 and it works fine, so have merged it. Many thanks for this!!! Also maybe time for me to shift over to 3.5 (and to start putting tests ;-D)

atedstone commented 8 years ago

No problem! Like you I also had a script which worked fine until they switched the FTP service off, so thanks for making your new one available :)