swisstopo / topo-satromo

Erdbeobachtungs-Satellitendaten fürs Trockenheitsmonitoring (SATROMO)
BSD 3-Clause "New" or "Revised" License
13 stars 3 forks source link

usable with personal account for dev ? #9

Closed gilliM closed 9 months ago

gilliM commented 1 year ago

I haven't checked if it was possible or really useful, but i've the feeling that for development, the use of a personal google account instead of a service account would be useful to manage the files on google drive and the tasks on earth engine. What do you think about enabling the use of personal account on the top of the service account ?

davidoesch commented 1 year ago

AFAIK: you can not run GEE with a personal account directly . You need a service account , which is linked to your personal account. This is how I understood it based on the links in https://github.com/swisstopo/topo-satromo#installation : GoogleEarthEngine credentials: the GEE json keyfile.json according to your Google Service Account and a private key for the service account. Ensure that service account has the Earth Engine API enabled and has been has been registered for use with Earth Engine. Then you also need to activate your GoogleDrive / Google developers console API activation for your ServiceAccount Project https://console.developers.google.com/apis/api/drive.googleapis.com/overview?project= to access GDRIVE via API