olivierhagolle / LANDSAT-Download

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

Proxying not working #28

Closed vascobnunes closed 7 years ago

vascobnunes commented 7 years ago

something changed in the USGS interface, not allowing the proxying "urllib2.URLError: <urlopen error Tunnel connection failed: 403 Forbidden>" Any idea on why this occurs?

olivierhagolle commented 7 years ago

Sorry for late answer, I have been very busy. On my side, it looks like authentification is not working anymore, but I can't figure out why. Did you make any progress ? Olivier

vascobnunes commented 7 years ago

Apparently the USGS endpoint used changed from HTTP to HTTPS... not sure if it is the only reason

olivierhagolle commented 7 years ago

Hi Vasco, sorry for replying late, I have been having meetings with travels last two weeks.

On my side, I can't retrieve data anymore, It seems that they changed all the authentification protocol for a "Oauth" one Il would have liked to test your merge request before merging, but nothing seems to be working anymore.

Olivier

vascobnunes commented 7 years ago

yup, best maybe to use google cloud now. https://cloud.google.com/storage/docs/public-datasets/landsat

2016-10-17 11:08 GMT+01:00 Olivier Hagolle notifications@github.com:

Hi Vasco, sorry for replying late, I have been having meetings with travels last two weeks.

On my side, I can't retrieve data anymore, It seems that they changed all the authentification protocol for a "Oauth" one Il would have liked to test your merge request before merging, but nothing seems to be working anymore.

Olivier

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/olivierhagolle/LANDSAT-Download/issues/28#issuecomment-254166841, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjzX4CFVgCq_rSWwTy2LGmiMPo1-U7Nks5q00kWgaJpZM4KMkBp .

Vasco B. Nunes

vascobnunes commented 7 years ago

Dear Olivier, sorry to inform that I'll depart from using your script because usgs forced me to. :) Google is a better solution because it also hosts sentinel-2 data, which is of interest to me. I already developed a script to get Landsat data from the Google Cloud. If you're interested here's the github link: https://github.com/vascobnunes/fetchLandsatSentinelFromGoogleCloud Hope we collaborate again in the future. Cheers. Vasco

olivierhagolle commented 7 years ago

Dear Vasco, too bad, my last commit of Landsat Download seems to work... But not problem, it was a pleasure working with you.

On my side, I avoid to rely to much on Google, one day their policy might change. And, maybe because I belong to a space agency, but I prefer giving information to the data provider than to the reseller (there is nothing free at Google).

We published a few articles on the subject: http://jordiinglada.net/wp/2016/05/12/is-google-earth-engine-evil-2/ http://www.cesbio.ups-tlse.fr/multitemp/?p=7802

For Sentinel-2, there is the Peps downloader, for Sentinel-2 mirror site at CNES. https://github.com/olivierhagolle/peps_download

Thanks for the script, might be useful if earthexplorer gets too complicated. Best regards, Olivier