What This Pipeline Does
End-to-End 6-Step Process
Understanding the Research Data Sources
Location-based urban grid measurements and anonymous student survey datasets are kept strictly separate so unrelated data are never mixed together.
Each 250 m spatial grid cell contains geographic coordinates, modeled daytime land surface temperature (°C), vegetation index (NDVI), built-up index (NDBI), building footprint density (%), vulnerability score (UHVI), and estimated cooling impacts. Processed directly by etl_warehouse_demo.py.
Stored and analyzed in a dedicated behavioral research workflow (see the Short-Form Video Research Explorer) across five Likert subscales and GPA—kept completely isolated from the spatial SQLite warehouse so unrelated domains never overlap.
Checking and Organizing Data (Before & After)
Every record passes through automatic cleanup and range rules before being saved into the warehouse.
| Cleaning Rule | Input Inspected | Issues Fixed / Dropped | Clean Output Ready |
|---|
Data Quality Results
Completed checks: 5 · Passed: 5 · Failed: 0 — verified directly by python -m unittest pipelines/test_etl_pipeline.py.
| Validation Check | Outcome | Verified Measurement & Plain Meaning |
|---|
Safe Read-Only Database Explorer
Select a database table or saved summary view to inspect its columns, integrity rules, and aggregated results (no raw student info or open query input exposed).
Average Surface Temperature by Priority Tier
Surface Temperature Across Built Density Groups
Expandable Implementation Notes & SQL Schema
Built strictly with Python's standard library (json, sqlite3, pathlib, unittest) inside pipelines/etl_warehouse_demo.py.
View Relational Warehouse Schema & View Definition
View Automated Test Command & Repository Link
python -m unittest discover -s pipelines -v # Verifies 1,661 rows loaded across dim_grid_cells, fact_thermal_observations, fact_cooling_scenarios
Source code: github.com/Krushilmodi1/portfolio/tree/main/pipelines ↗