Logo Lanfrica

Deltares-research/UFFFS-East-Africa

Domain:

environment and energygeospatial

Record type:

software
Creator:
Del
Host:
# 🌍 UFFFS – Urban Flood Forecasting Framework > Reproducible, scalable workflow for building and running urban flood models using **Snakemake + HydroMT + SFINCS** --- ## πŸš€ Overview UFFFS provides a **fully configuration-driven workflow** for: - 🧱 Building base SFINCS model schematisations - 🌧️ Running flood events with different forcing scenarios - πŸ—ΊοΈ Postprocessing and merging floodmaps - 🧩 Comparing model configurations (e.g. baseline vs lidar) The framework is designed for: - reproducibility βœ… - scalability across cities βœ… - efficient reuse of models βœ… --- ## 🧭 Workflows UFFFS consists of two main workflows: --- ### 🧱 Build workflow Builds reusable **base SFINCS models** using HydroMT. - Reads configuration from `config/cities.yml` - Generates model schematisations - Writes outputs to: ``` outputs/{city}/{sfmodel}/sfincs_base/ ``` πŸ“– See: πŸ‘‰ `docs/build_workflow.md` --- ### 🌧️ Event workflow Runs **event simulations** on top of base models. - Updates forcing (ERA5 / synthetic) - Runs SFINCS - Postprocesses floodmaps - Merges results **per model group** Outputs: ``` outputs/{city}/events/{event}/ {city}_{event}_{group}_floodmap.tif ``` πŸ“– See: πŸ‘‰ `docs/events_workflow.md` --- ## πŸ—‚οΈ Repository structure ``` β”œβ”€β”€ config/ β”‚ β”œβ”€β”€ cities.yml # Model definitions (incl. groups) β”‚ β”œβ”€β”€ events.yml # Event configuration β”‚ └── templates/ β”‚ └── sfincs/ β”‚ └── build_base.yml β”‚ β”œβ”€β”€ workflows/ β”‚ β”œβ”€β”€ Snakefile # Build workflow β”‚ β”œβ”€β”€ Snakefile_events # Event workflow β”‚ └── scripts/ β”‚ β”œβ”€β”€ build_sfincs.py β”‚ β”œβ”€β”€ update_sfincs_forcing.py β”‚ β”œβ”€β”€ postprocess_sfincs.py β”‚ └── merge_floodmaps.py β”‚ β”œβ”€β”€ docs/ β”‚ β”œβ”€β”€ build_workflow.md β”‚ └── events_workflow.md β”‚ β”œβ”€β”€ outputs/ # Generated models and results β”œβ”€β”€ logs/ # Log files ``` --- ## βš™οΈ Configuration ### Base models Defined in: ``` config/cities.yml ``` Inclu …