Code
Every program the exercises run. Complete, tested and meant to be read.
Requirements. Python with
pandas, numpy, scipy and
matplotlib. Nothing else. No geographic information system, no
shapefile reader, no projection library, no account, no key.Programs that download data write a frozen snapshot and print a checksum on the first run, and every later step reads that snapshot. Programs marked author side exist for whoever maintains the collection, and students never need them.
- americanize.pyauthor side, spelling maintenance
- asi_toolkit.pythe Aggregation Sensitivity Index pipeline
- audit_package.pyauthor side, checks cross-references
- build_geometry.pyauthor side, converts boundaries to GeoJSON
- classification_demo.py
- common.pyshared loading, provenance and handoff
- cooling_centers_analysis.pythe defective analysis audited in Exercise II-B
- exercise_0a.py
- exercise_0b.py
- exercise_0c.py
- exercise_1a.py
- exercise_1b.py
- exercise_2b.pythe audit program for Exercise II-B
- exercise_3a.py
- exercise_3b.pythe reliability screen for Exercise III-B
- exercise_4a.py
- exercise_4b.py
- exercise_5a.py
- exercise_5b.py
- harness_template.pythe reproducibility harness for VI-A
- kriging.pyvariogram, ordinary and regression kriging
- make_figures.pyauthor side, draws the teaching figures
- make_package_zip.py
- mapping.pychoropleths from GeoJSON, matplotlib only
- pull_azmet.pyrefreshes the station snapshot, optional
- pull_moe.pyauthor side, adds margins of error
- run_all.pyauthor side, reruns everything and compares
- spatial_stats.pyweights matrices, Moran's I, Getis-Ord, FDR