sepal-contrib / sepal_mgci

Measure the extend and the changes of green vegetation in mountain areas
MIT License
4 stars 2 forks source link

SDG Indicator 15.4.2 (BETA) Earth Engine Task Error #57

Closed sszzpruebas closed 5 months ago

sszzpruebas commented 5 months ago

Hi SEPAL team! :) I'm testing the SDG Indicator using SEPAL and GEE, but.. when i try to export subindicators A and B:

Start_SDG

I receive the next error message in GEE:

Error_SDG

Where SEPAL try to save the file? (Asset, Storage, or Drive) It is possible to change the output location of the file? (to avoid this problem)

Thank you in advance, Best regards, Sylwer

dfguerrerom commented 5 months ago

By default the module exports the data table into the root folder of your Google Drive account. My best guess, and also taking into account the other report: https://github.com/sepal-contrib/sdg_15.3.1/issues/131, is that our SEPAL credentials doesn't have access to your Google Drive account. In the sdg15.3.1 it first exports the map to GDrive, and then it imports it to SEPAL, but for some reason this connection cannot be done. Let's do the following:

  1. go to the terminal, start any instance and paste the following command in the terminal (take a screenshot)
    ls -ls  ~/.config/earthengine/
  2. Disconnect your google account from SEPAL
  3. Go back to the terminal and paste the same code from the previous step and take another screenshot.
  4. Reconnect your Google account with SEPAL.

And share with me those screenshots.

Thanks

sszzpruebas commented 5 months ago

Hi! :) Ok, this is the first screenshot: image

And this is the second one (When I disconnect from GEE):

image

But if SDG export results by default to Drive, I think that there is the problem because my GEE account don´t have access to Drive. I will try to solve it.

Thanks, Best Regards,

Sylwer

dfguerrerom commented 5 months ago

What do you mean with your GEE account doesn't have access to GDrive? when you link Google with SEPAL, it will return some credentials that allow the interaction with GEE and Drive. The tool is using this credentials to retrieve your files in the sepal environment. Do you have an specific configuration or something?

sszzpruebas commented 5 months ago

Yes, this account is associated with a GCP that includes multiple projects. Each user has access to some projects, its respective Storage (Buckets), and GEE project. In this case, I need to contact the account administrator of GCP to give me access to Google Drive. I have contacted them, and I believe I will have permission soon. Thank you, Sylwer

sszzpruebas commented 5 months ago

Solved, Finally, once I had obtained the permissions for my account to access Drive, the problem was resolved (as I mentioned before). Thank you ;), Sylwer