GISC 3200K - 2021 Summer
Lectures
- Lecture 1: Introduction to programming
- Lecture 2: Python in ArcGIS Pro 1
- Lecture 3: Logic
- Quiz 1
- Lecture 4: Literals, variables, and constants in Python
- Lecture 5: Numeral systems in Python
- Lecture 6: Basic data types in Python
- Lecture 7: Sequence data types in Python
- Lecture 8: 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 7: Summation
- Project proposals
- Lecture 9: 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 8: Say rock paper scissors
- Homework 9: Read the user’s rock paper scissors
- Homework 10: Rock paper scissors game
- Exercise 33: How to extract cell values from a GeoTIFF file using NumPy
- Exercise 34: How to classify a GeoTIFF file using NumPy
- Exercise 35: How to detect changes between two GeoTIFF files using NumPy
- Exercise 36: How to save a NumPy array as a GeoTIFF file using GDAL
- Exercise 37: How to calculate the area of a certain class in a GeoTIFF file using NumPy
- Quiz 2