HeatShield Nagpur See where the heat really hits — block by block.

💡 Inspiration In an Indian summer, "it's 45°C today" is technically true and practically useless. Heat advisories go out to entire cities, but heat is not evenly spread. A dense market with concrete on every surface, no tree cover, and a lot of elderly residents is a different emergency from a leafy, low-density neighbourhood three kilometres away — even when the thermometer at the airport reads the same number for both.

We kept coming back to one question: if a municipal officer in Nagpur had one hour and a small budget, which neighbourhood should they send cooling resources to first? Today they often can't answer that, because the data that would tell them — surface heat, vegetation, population density, who's vulnerable, where the nearest water point or hospital is — lives in five different places and five different formats.

HeatShield exists to turn that scattered data into a 10-second decision, honestly and transparently. It targets three UN Sustainable Development Goals: SDG 3 (health), SDG 11 (sustainable cities), and SDG 13 (climate action).

🔥 What it does HeatShield is an explainable urban heat-risk decision platform for 24 pilot analysis zones across Nagpur. It gives three audiences what each one needs:

Citizens get an interactive heat-risk map with a time slider, switchable layers (Risk, Land-Surface Temperature, Heat Island, NDVI green cover), per-zone profiles in plain language, and alert previews in English, Hindi, and Marathi. Authorities get a ranked hotspot list, a What-If Intervention Simulator ("what if we add tree cover or two cooling centres here?"), a priority action planner with CSV/PDF export, moderated community reports, and an audit log. Everyone can open /sources to see exactly where each number came from, how fresh it is, and whether it's live or a fallback. 🛠️ How we built it The core is a component-based, explainable risk engine rather than a black box. Each zone's provisional risk is a transparent weighted sum of three normalised components — Hazard, Exposure, and Vulnerability:

R

0.50   H + 0.30   E + 0.20   V R=0.50H+0.30E+0.20V

where each component is itself scaled to $[0, 1]$:

H ,

E ,

V ∈ [ 0 , 1 ] , R ∈ [ 0 , 1 ] H, E, V∈[0,1],R∈[0,1]

H H (Hazard) blends air temperature / heat index with Landsat surface temperature and a heat-island signal. E E (Exposure) comes from WorldPop population and density. V V (Vulnerability) weights age profile and distance to cooling/health facilities. Every weight is visible in the UI, so an officer can see why a zone scores high — not just that it does.

The stack:

Layer Technology Frontend React 18 · TypeScript · Vite · Tailwind · Leaflet · Recharts · Framer Motion · i18next Backend FastAPI · SQLAlchemy · Pydantic · APScheduler · HTTPX · PyJWT (role-based auth) Database PostgreSQL + PostGIS in production; SQLite fallback for local dev Geospatial GeoJSON pilot zones · Sentinel-2 NDVI · Landsat C2 L2 LST export script (Google Earth Engine) Infra Docker Compose · Render (backend) · Vercel (SPA) Data sources: India Meteorological Department (with Open-Meteo as a non-official fallback), Landsat Collection 2 Level 2 for LST, Sentinel-2 for NDVI, WorldPop v3 for population, and OpenStreetMap Overpass for parks, hospitals, clinics, schools, and water points.

The piece we're most proud of is the LIVE → CACHED → SAMPLE resilience chain. Every provider adapter tries the live source first, falls back to a cached response, and finally to bundled sample data — so the whole thing runs end-to-end with make demo and zero API keys, while always labelling on screen which tier the data came from.

📚 What we learned Honesty is a feature, not a disclaimer. Our first instinct was to show a clean risk number everywhere. We learned that a confident wrong number is worse than an honest gap, so missing core inputs now render as "Insufficient data" — never a misleading zero-risk score that reads as "this place is safe." LST is not air temperature. Land-surface temperature from satellite can run far hotter than the air you actually breathe. Conflating them would have quietly broken the science, so we label the distinction everywhere it appears. Explainability changes how people trust a tool. The moment we surfaced the $0.50/0.30/0.20$ weights in the interface, the model stopped feeling like magic and started feeling like something an authority could defend in a meeting. Provenance has to travel with the data. We ended up attaching provider, observed_at, retrieved_at, data_year, and status to responses — because "where did this come from?" is the first question any serious user asks. 🧗 Challenges we faced Making it demo-able without credentials. Judges and officials won't wait for IMD or Earth Engine keys. Building the three-tier fallback so the app is fully functional offline — yet never pretends sample data is live — was the hardest architectural call. Multilingual, not just multi-string. Supporting EN/HI/MR meant heat advisories had to read naturally in each language, not survive a find-and-replace. Getting i18next to carry plain-language risk explanations across all three took real care. Geospatial reality is messy. Cloud and shadow masking on NDVI, reconciling Landsat tiles, and the fact that missing OSM data doesn't prove a facility is absent on the ground — we had to encode that humility into the product rather than overclaim. Staying in our lane. HeatShield is a decision-support prototype, not an official warning service or a medical tool. Drawing that line clearly — pilot zones, not official NMC wards; provisional, unvalidated scores — was as much design work as code. 🚀 What's next Plug in official Nagpur Municipal Corporation ward boundaries, connect live IMD station credentials, validate the risk weights against real health outcomes, and move toward automated ward-level heat-action dispatch.

HeatShield Nagpur is a pilot decision-support prototype. Risk scores are provisional and unvalidated. The bundled boundaries are 24 pilot analysis zones, not official ward boundaries.

Built With

Share this project:

Updates

Submission history