Home_Icon Learning Center Home

Working with Google Earth Engine API

Description: Run Earth Engine from your Jupyter Notebook or Lab

Dr. Guillermo E. Ponce-Campos from the Tucson ARS Southwest Watershed Research Center has developed some NEON tuturials on Google Earth Engine and an Earth Engine App.

Samapriya Roy has provided us with a Planet Labs & Google Earth Engine Tutorial

Install Earth Engine API

Official Instructions

Requirements: Docker

Build Dependencies:

ezd -p # In this example I'm also installing Portainer.io
sudo usermod -aG docker $USER

Set the paths:

export GCP_PROJECT_ID=gee-projects
export CONTAINER_IMAGE_NAME=gcr.io/earthengine-project/datalab-ee:latest
export WORKSPACE=${HOME}/workspace/datalab-ee
mkdir -p $WORKSPACE

Run the Container (detached):

docker run -it -d -p "" -v "$WORKSPACE:/content" -e "PROJECT_ID=$GCP_PROJECT_ID" $CONTAINER_IMAGE_NAME

Establish a secure connection with Caddy:

echo "$(hostname)
proxy / {
" > Caddyfile
curl https://getcaddy.com | bash -s personal http.nobots

Use Google Colaboratory

Google has its own Jupyter service called ‘Colaboratory’


Download Data

Fix or improve this documentation

Home_Icon Learning Center Home