Data Processing & Quality Explorer · Python & SQLite Workflow

From Raw Data to Useful Insights

What This Pipeline Does

What does ETL mean? ETL stands for Extract, Transform, and Load — taking raw datasets, checking them for errors and missing pieces, cleaning the numbers, and storing them in organized database tables ready for charts and research. (Runs offline in Python to verify and summarize precomputed research data; not a live streaming server.)

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.

Source 1 · Location-Based Research Data (Primary ETL Input)
1,661 Ahmedabad Grid Locations

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.

Source 2 · Survey Research Data (Analyzed Separately)
207 Student Survey Responses

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 RuleInput InspectedIssues Fixed / DroppedClean Output Ready

Data Quality Results

Completed checks: 5 · Passed: 5 · Failed: 0 — verified directly by python -m unittest pipelines/test_etl_pipeline.py.

Validation CheckOutcomeVerified 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

What this chart shows: Priority Tier 1 areas record higher average surface temperature (32.192 °C across 167 cells) than Tier 4 monitoring zones (32.025 °C across 830 cells).

Surface Temperature Across Built Density Groups

What this chart shows: Dense core cells (≥1.5% building footprint coverage) show warmer surface temperatures (32.325 °C) and slightly lower vegetation than open green cells (32.062 °C).

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 ↗