Skip to content

Commit

Permalink
Remove service account
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Jul 18, 2024
1 parent 07397d1 commit 97d978b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions pages/02_inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

import solara

service_account = os.environ.get("EARTHENGINE_SERVICE_ACCOUNT", False)
if isinstance(service_account, str):
service_account = True
geemap.ee_initialize(service_account=service_account)
# service_account = os.environ.get("EARTHENGINE_SERVICE_ACCOUNT", False)
# if isinstance(service_account, str):
# service_account = True
# geemap.ee_initialize(service_account=service_account)


class Map(geemap.Map):
Expand Down
8 changes: 4 additions & 4 deletions pages/03_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

import solara

service_account = os.environ.get("EARTHENGINE_SERVICE_ACCOUNT", False)
if isinstance(service_account, str):
service_account = True
geemap.ee_initialize(service_account=service_account)
# service_account = os.environ.get("EARTHENGINE_SERVICE_ACCOUNT", False)
# if isinstance(service_account, str):
# service_account = True
# geemap.ee_initialize(service_account=service_account)


class Map(geemap.Map):
Expand Down
8 changes: 4 additions & 4 deletions pages/04_split_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

import solara

service_account = os.environ.get("EARTHENGINE_SERVICE_ACCOUNT", False)
if isinstance(service_account, str):
service_account = True
geemap.ee_initialize(service_account=service_account)
# service_account = os.environ.get("EARTHENGINE_SERVICE_ACCOUNT", False)
# if isinstance(service_account, str):
# service_account = True
# geemap.ee_initialize(service_account=service_account)


class Map(geemap.Map):
Expand Down

0 comments on commit 97d978b

Please sign in to comment.