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

Issue linking to GEE server #52

Closed
deboradta opened this issue Nov 29, 2019 · 3 comments
Closed

Issue linking to GEE server #52

deboradta opened this issue Nov 29, 2019 · 3 comments
Labels
installation Issue with the installation of the coastsat package

Comments

@deboradta
Copy link

Hi!

When running the example at the third part or the code to retrieve satellite images from GEE. "metadata = SDS_download.retrieve_images(inputs)" it return an error.

The error returned is:

SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)

I have already followed the steps suggested in erros #39, #41 and #40. And still I'm not correctly linked to the GEE server.

I requested access directly to Earth Engine yesterday and promptly received an email conceding access to the following products:

  • Earth Engine Code Editor - the primary Earth Engine development environment.
  • Earth Engine API - including our Python library.
  • Earth Engine Explorer - a graphical user interface.
    (I can already open the API and all, so I presume that this is fine)

I'm using Windows.

Thanks!

@kvos
Copy link
Owner

kvos commented Nov 29, 2019

did you run earthengine authenticate and logged in with gmail account? Maybe repeat this step now that you have been granted access. you have to first activate the coastsat environment and then run earthengine authenticateon the anaconda prompt

@deboradta
Copy link
Author

Yes, I went through all these steps. It works in my personal notebook, but not in my company´s PC. I am wondering if maybe there is a certificate missing, but I cannot find the solution. It is not a firewall issue.

@kvos
Copy link
Owner

kvos commented Dec 2, 2019

hi debora, not sure what is the solution neither... I would try this solution conda config --set ssl_verify false which is proposed here https://stackoverflow.com/questions/33699577/conda-update-failed-ssl-error-ssl-certificate-verify-failed-certificate-ver

To test if you're linked to the GEE API you can type:

  • python
  • import ee
  • ee.Initialize()

if it's pops out HTTP error 404 means that you can't connect to the server.

@kvos kvos closed this as completed Dec 18, 2019
@kvos kvos changed the title Retrieve satellite images Issue linking to GEE server Dec 18, 2019
@kvos kvos added the installation Issue with the installation of the coastsat package label Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Issue with the installation of the coastsat package
Projects
None yet
Development

No branches or pull requests

2 participants