Git Product home page Git Product logo

richardudell / predicting-urban-development Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 0.0 8.5 MB

Beginner's tutorial for working with the Google Earth Engine Python API in Jupyter Notebooks. The tutorial walks through a GEE workflow of measuring urban development surrounding Denver International Airport. Future work will involve development of a linear regression model to predict urban development surrounding DIA. This repository serves as a capstone project submission for Earth Data Analytics Professional Certificate Final Project.

License: BSD 3-Clause "New" or "Revised" License

Jupyter Notebook 19.90% HTML 80.10%

predicting-urban-development's Introduction

Predicting Urban Development

This project uses the Google Earth Engine (GEE) Python API to identify trends in development surrounding Denver International Airport (DIA) from time-series Landsat imagery. The package geemap is used to visualize map layers. This repository was initially created as Richard Udell’s final project for the Earth Data Analytics Professional Certificate from the Earth Lab at University of Colorado - Boulder.

How to run this workflow

There are two Jupyter Notebooks in the Notebooks folder.
The first notebook, LinearFit_Workflow_Only.ipynb, contains the analysis that identifies urban trend surrounding DIA using GEE’s built-in ee.Reducer.linearFit(). The second notebook, GEE_Python_API_Tutorial.ipynb, includes a tutorial for the first notebook! This is a great place to start if you are new to Python and the GEE Python API.

Best place to start

Start with the workflow tutorial notebook: GEE_Python_API_Tutorial.ipynb

Environment and setup

To set up the development environment, create a new environment from the environment-ee.yml file.

>conda env create -f environment-ee.yml

A Google Earth Engine account is necessary to use the Google Earth Engine API (a university email address may be accepted more quickly).

An excellent resource for Google Earth Engine Python API is Dr. Quisheng Wu's GitHub package geemap.

Data needed

The notebooks will create their own data by exporting it from GEE - this means the data that is needed to import into the workflow is created and exported earlier in the workflow. The data will export as a .TIF to your Downloads/ folder on your home directory. Landsat 5 satellite imagery is the initial source data for both notebooks. The entire Landsat 5 collection is loaded from the GEE Data Catalog with the GEE Python API, preventing it to never have to exist locally on your computer. The data folder contains the exports that will be created if you run the workflow with the preset circular ROI. You will only need to reference this data if the export does not work. In this case you will have to change the input directory for importing the .TIF file.

Note on relevance of this repository

It is clear to any observer that a large amount of development has occurred around the Denver International Airport since its completion of construction in 1995. Since the Denver International Airport was the last major airport constructed in the United States (no major airport has been constructed since 1995), understanding the impact DIA had on the development of the surrounding region is of interest to policy makers, business owners, and citizens in the Denver Metro Area. The goal of this project is to develop a model that can predict future development.

Google Earth Engine is a powerful tool, however, fewer workflows involve the the python API than the built-in JavaScript API. Additionally, the geemap package was first released in March 2020. With proper installation of these packages, the workflow can be run in a Jupyter Notebook (.ipynb) - workflow is contained in one script.

predicting-urban-development's People

Contributors

richardudell avatar

Stargazers

 avatar Sihan-Mao avatar Yan Shi avatar  avatar  avatar AMS avatar Keon Monroe avatar Chad Lamb avatar Samuel Bancroft avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.