This project simulates a real-time disaster impact analytics platform, using synthetic geospatial data to model hazard events, assess asset-level impacts, detect anomalies, and visualize hotspots, supporting early warning, climate resilience, and risk mitigation in vulnerable regions like the Niger Delta.
Real-Time Disaster Impact Analytics Platform
π Overview
This project is a synthetic data demonstration of a real-time disaster impact analytics system. It simulates natural hazard events (e.g., floods and windstorms) and computes their spatiotemporal impacts on vulnerable assets within the Niger Delta region.
It integrates:
π°οΈ Geospatial data modeling
π€ Impact estimation using vulnerability, population, and criticality factors
π Rolling real-time analytics and anomaly detection
πΊοΈ Visualization of disaster impact hotspots
This framework serves as a foundation for building operational disaster monitoring systems for climate resilience, early warning, and risk mitigation.
βοΈ Features
Generate >1,000 synthetic asset points with attributes (location, population, vulnerability).
Simulate real-time disaster event streams (flood/wind).
Compute impact severity scores based on exposure and vulnerability.
Perform rolling-minute analytics and z-score anomaly detection.
Output:
assets.csv β synthetic assets database
hazard_events.csv β simulated disaster events
impacts_stream.csv β asset-level event impacts
impact_summary_by_minute.csv β aggregated rolling analytics
latest_impact_map.png β visualization of recent impacts
π§ Methodology
Impact Score Formula
Impact = hazard_intensity Γ sqrt(population) Γ vulnerability Γ critical_boost
hazard_intensity: Decays with distance from event center (Gaussian-like)
critical_boost: +25% for critical infrastructure
Normalized to 0β100 and categorized into severity bands: Minimal, Minor, Moderate, Severe, Extreme
Anomaly Detection
Rolling 15-minute window
Z-score β₯ 2.5 triggers anomaly flags on:
Number of affected assets
Extreme events
90th percentile impact
π Project Structure
real_time_disaster_platform.py
outputs/
ββ assets.csv
ββ hazard_events.csv
ββ impacts_stream.csv
ββ impact_summary_by_minute.csv
ββ latest_impact_map.png
README.md
π Usage
1. Requirements
Python 3.9+
Libraries: numpy, pandas, matplotl β¦