A Python (ArcPy) script that automates a multi-criteria spatial flood risk model.
# Accra-Flood-Risk-Automation
A Python (ArcPy) script that automates a multi-criteria spatial flood risk model.
Automated Flood Risk Spatial Model
Project Overview
The script now runs the complete workflow end to end
Slope calculation, Reclassification, and Weighted Overlay starting
directly from a raw DEM, rather than assuming pre-reclassified inputs
already exist.
The Problem
Traditional flood modeling in GIS requires manually running sequential geoprocessing tools (Slope calculation, Reclassification, Weighted Overlay), which is time-consuming and prone to human error when adjusting parameters.
The Solution
I built a Python script that bypasses the manual interface, handles file management, and executes the spatial logic instantly.
Methodology & Logic
The model uses a multi-criteria decision matrix with the following weights:
Elevation (60% Influence): Reclassified so lower elevations present a higher risk.
Slope (40% Influence): Reclassified so flatter terrain (where water pools) presents a higher risk.
Technologies Used
Python
ArcPy (ArcGIS Spatial Analyst)
Digital Elevation Models (DEM)