F43c Checkpoint
Import libraries¶
In [ ]:
Copied!
import ee
import geemap
import ee
import geemap
Create an interactive map¶
In [ ]:
Copied!
Map = geemap.Map(center=[40, -100], zoom=4)
Map = geemap.Map(center=[40, -100], zoom=4)
Add Earth Engine Python script¶
In [ ]:
Copied!
# Add Earth Engine dataset
image = ee.Image("USGS/SRTMGL1_003")
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Chapter: F4.3 Clouds and Image Compositing
# Checkpoint: F43c
# Authors: Txomin Hermosilla, Saverio Francini, Andréa P. Nicolau,
# Michael A. Wulder, Joanne C. White, Nicholas C. Coops,
# Gherardo Chirici
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Access the GEE-BAP interface at the following link,
# by copy-pasting the line below into your browser.
#
'https':#code.earthengine.google.com/?accept_repo=users/sfrancini/bap
This will create a repository on your Earth Engine account.
The repository will appear in the Reader section of the Scripts panel.
To access the user interface, open the “ui” script and click Run.
#
# You can find more information about GEE-BAP at:
# https:#github.com/saveriofrancini/bap
# -----------------------------------------------------------------------
# CHECKPOINT
# -----------------------------------------------------------------------
# Add Earth Engine dataset
image = ee.Image("USGS/SRTMGL1_003")
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Chapter: F4.3 Clouds and Image Compositing
# Checkpoint: F43c
# Authors: Txomin Hermosilla, Saverio Francini, Andréa P. Nicolau,
# Michael A. Wulder, Joanne C. White, Nicholas C. Coops,
# Gherardo Chirici
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Access the GEE-BAP interface at the following link,
# by copy-pasting the line below into your browser.
#
'https':#code.earthengine.google.com/?accept_repo=users/sfrancini/bap
This will create a repository on your Earth Engine account.
The repository will appear in the Reader section of the Scripts panel.
To access the user interface, open the “ui” script and click Run.
#
# You can find more information about GEE-BAP at:
# https:#github.com/saveriofrancini/bap
# -----------------------------------------------------------------------
# CHECKPOINT
# -----------------------------------------------------------------------
Display the interactive map¶
In [ ]:
Copied!
Map
Map