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¶
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 cd $WORKSPACE
Run the Container (detached):
docker run -it -d -p "127.0.0.1:8081:8080" -v "$WORKSPACE:/content" -e "PROJECT_ID=$GCP_PROJECT_ID" $CONTAINER_IMAGE_NAME
Establish a secure connection with Caddy:
echo "$(hostname) proxy / 127.0.0.1:8081 { websocket transparent } " > Caddyfile curl https://getcaddy.com | bash -s personal http.nobots caddy
Use Google Colaboratory¶
Google has its own Jupyter service called ‘Colaboratory’
Download Data¶
Fix or improve this documentation
- Search for an answer: |CyVerse Learning Center|
- Ask us for help: click |Intercom| on the lower right-hand side of the page
- Report an issue or submit a change: |Github Repo Link|
- Send feedback: Tutorials@CyVerse.org