GISC 3200K - 2021 Fall
Lectures
- Lecture 1: Introduction to programming
- Lecture 2: Python in ArcGIS Pro 1
- Lecture 3: Python in ArcGIS Pro 2
- Lecture 4: Logic
- Lecture 5: Literals, variables, and constants in Python
- Lecture 6: Numeral systems in Python
- Lecture 7: Basic data types in Python
- Quiz 1
- Lecture 8: Sequence data types in Python
- Lecture 9: Control statements in Python
- Exercise 9: Branch
- Exercise 10: Debug branching
- Exercise 11: Print the range of an integer using
if
- Exercise 12: Print the range of an integer using
if
,elif
, andelse
- Exercise 13:
for
and list - Exercise 14:
for
and forward indexing - Exercise 15:
for
and reverse indexing - Exercise 16: Summation using a
for
loop - Exercise 17: Summation using a
while
loop - Homework 2: Summation
- Lecture 10: Functions in Python
- Exercise 18: Define your first function
- Exercise 19: Non-returning function
- Exercise 20: Add function
- Exercise 21: Why functions?
- Exercise 22: Distance function
- Exercise 23: Yet another distance function
- Exercise 24: File-writing function
- Exercise 25: File-reading function
- Exercise 26: Directory-listing function
- Exercise 27: Create number files
- Exercise 28: Add numbers from the number files
- Exercise 29: Generate random integers
- Exercise 30: User-input function
- Exercise 31: Plot a GeoTIFF file
- Exercise 32: Calculate the average cell value of a GeoTIFF file
- Homework 3: Say rock paper scissors
- Exercise 33: Read the user’s rock paper scissors
- Exercise 34: Rock paper scissors game
- Exercise 35: How to extract cell values from a GeoTIFF file using NumPy
- Exercise 36: How to classify a GeoTIFF file using NumPy
- Exercise 37: How to detect changes between two GeoTIFF files using NumPy
- Exercise 38: How to save a NumPy array as a GeoTIFF file using GDAL
- Exercise 39: How to calculate the area of a certain class in a GeoTIFF file using NumPy
- Project proposals
- Exercise 40: “Hello World!” web server using Bottle
- Homework 4: Questions for quiz 2
- Exercise 41: How to plot points in a shapefile in Python
- Quiz 2
- Homework 6: Redo Quiz 2
- Class project 1: k-nearest neighbors algorithm in Python
- Homework 7: numpy.argsort example
- Homework 8: Solve tie cases in knn.py
- Class project 2: NDVI calculation in Python
- Class project 3: Strahler stream order in Python
- Quiz 3
- Homework 9: Grade your own Quiz 3