Geospatial Cloud Computing with the GEE Python API - Part 3
Earth Engine: https://earthengine.google.com
Geemap: https://geemap.org
Introduction
This notebook contains the materials for the third part of the workshop Geospatial Cloud Computing with the GEE Python API at the University of Alaska Fairbanks.
This workshop provides an introduction to cloud-based geospatial analysis using the Earth Engine Python API. Attendees will learn the basics of Earth Engine data types and how to visualize, analyze, and export Earth Engine data in a Jupyter environment with geemap. In addition, attendees will learn how to develop and deploy interactive Earth Engine web apps with Python. Through practical examples and hands-on exercises, attendees will enhance their learning experience. During each hands-on session, attendees will walk through Jupyter Notebook examples on Google Colab with the instructors. At the end of each session, they will complete a hands-on exercise to apply the knowledge they have learned.
Agenda
The workshop is divided into three parts. The third part will cover the following topics:
Image Classification (focused on land cover in Alaska)
Accuracy assessment
Create and export maps
Building interactive web apps
Prerequisites
To use geemap and the Earth Engine Python API, you must register for an Earth Engine account and follow the instructions here to create a Cloud Project. Earth Engine is free for noncommercial and research use. To test whether you can use authenticate the Earth Engine Python API, please run this notebook on Google Colab.
Technical requirements
Install packages
Import libraries
Image Classification
North American Land Change Monitoring System (NALCMS)
The 2020 North American Land Cover 30-meter dataset was produced as part of the North American Land Change Monitoring System (NALCMS), a trilateral effort between Natural Resources Canada, the United States Geological Survey, and three Mexican organizations.
Unsupervised classification
Supervised classification
Accuracy assessment
Exercise 1 - Unsupervised classification
Perform an unsupervised classification of a Sentinel-2 imagery for your preferred area. Relevant Earth Engine assets:
Create and export maps
Plotting single-band images
Plotting multi-band images
Using custom projections
The PlateCarree projection
Custom projections
Exercise 2 - Creating NDVI maps
Create and export a global NDVI map using MODIS data. Relevant Earth Engine assets:
Building interactive web apps
Exercise 3 - Deploying an Earth Engine app on Hugging Face.
Follow the instructions here to deploy an Earth Engine web app on Hugging Face.