SFINCS v2.x — Knowledge Infrastructure

Automates the full-cycle SDINCS flood modeling workflow from inputs to outputs.

1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation --skill sfincs-v2-x-knowledge-infrastructure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: SFINCS v2.x — Knowledge Infrastructure
Source: https://github.com/lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation/tree/main/models/SFINCS
Command: npx skills add https://github.com/lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation --skill sfincs-v2-x-knowledge-infrastructure

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rasterio, pyproj, geopandas, xarray, numpy, netCDF4, matplotlib, pandas, shapely.

What problem does it solve?

This Skill orchestrates end-to-end 2D flood simulations using the SFINCS solver, enabling autonomous domain preparation, forcing conversion, boundary coupling, execution, and post-processing within HydroCraft pipelines for Earth-system basins.

Core Features & Use Cases

  • Automates domain setup, topography/topobathy generation, roughness mapping, forcing preparation, and hydraulic structure integration.
  • Provides a reproducible, end-to-end workflow for coastal, fluvial, and compound flood scenarios, including preflight checks and post-processing.
  • Typical usage includes running a full pipeline from DEMs and climate forcing to flood maps and statistics for risk assessment.

Quick Start

Execute the SFINCS knowledge workflow to initialize the pipeline, then run the end-to-end model sequence using the Skill's orchestration.

Frequently Asked Questions about SFINCS v2.x — Knowledge Infrastructure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate SFINCS flood modeling workflows from DEM data to flood risk maps?

Automate SFINCS flood modeling by orchestrating domain setup, forcing conversion, and hydraulic structure integration from DEMs to generate flood maps and statistics for risk assessment reproducibly.

Can I run compound flood simulations with both precipitation and water level boundaries?

Compound flood simulations support diverse forcing regimes including boundary discharge, water level boundaries, and precipitation-driven events, enabling coastal, fluvial, and compound flood scenario modeling.

What preflight checks are needed for coastal hydraulics simulations using SFINCS?

Coastal hydraulics preflight checks include CFL-based dt calculation, unit conversions, I/O checks, and diagnostic triplets to validate inputs before executing the SFINCS solver.

Does this flood modeling workflow require geopandas and rasterio for topobathy generation?

Flood modeling requires geopandas, rasterio, xarray, numpy, and netCDF4 to process topography, topobathy generation, roughness mapping, and climate forcing data for Earth-system basin simulations.

Why do my SFINCS simulations fail during boundary coupling and forcing preparation?

SFINCS simulations may fail during boundary coupling if preflight validation detects incorrect unit conversions, invalid I/O formats, or unstable CFL-based dt calculations before execution.

What is the best way to set up SFINCS domain preparation for inland and coastal basins?

Set up SFINCS domain preparation by automating topography generation, roughness mapping, and boundary coupling within HydroCraft pipelines to achieve autonomous end-to-end flood simulation for inland and coastal basins.