colab Open in SageMaker Studio Lab Open in Planetary Computer

Inspect, Open and Download Earth Engine Apps

Tutorial created by **David Montero Loaiza**: GitHub | Twitter

Let’s start!

If required, please uncomment:

[1]:
#!pip install eemont
#!pip install geemap

Import the required packages.

[2]:
import ee, eemont

Authenticate and Initialize Earth Engine.

[3]:
ee.Initialize()

Let’s define an Earth Engine App of interest: The Spectral Encounter (Sentinel-2)!

[5]:
spectralEncounterURL = "https://valeriepasquarella.users.earthengine.app/view/spectral-encounter-s2"

Inspect the App!

eemont now has a new class: ee.App! Use it to manage an app!

[6]:
spectralEncounter = ee.App(spectralEncounterURL)

Who created Spectral Encounter?

[7]:
spectralEncounter.creator
[7]:
'valeriepasquarella'

That’s right! Valerie Pasquarella created this awesome app! Go and thank her! You can also access the creator name by using the username attribute:

[8]:
spectralEncounter.username
[8]:
'valeriepasquarella'

What about the name of the app?

[9]:
spectralEncounter.name
[9]:
'spectral-encounter-s2'

There you go!

Interact with the App

What if you want to open the App in the browser? Well… I got you! Use the open() method!

[ ]:
spectralEncounter.open()

Aaaaand… What if you want to download the JavaScript code of the App? Use the download() method!

[ ]:
spectralEncounter.download()

Amazing! Right?