← ClaudeAtlas

swmm-plotlisted

Publication-grade plotting for SWMM rainfall–runoff time-series figures. Use when an agent needs to produce a paired rainfall (top, inverted) + node flow (bottom) figure from a SWMM .inp + .out, with strict style rules (SI units, Arial, ticks inward, no title), optionally cropped to an event window or focus day.
Zhonghao1995/agentic-swmm-workflow · ★ 8 · AI & Automation · score 71
Install: claude install-skill Zhonghao1995/agentic-swmm-workflow
# SWMM Plot (publication spec) ## Before calling plot — ask the user When the user asks to plot, **always ask these questions first** before calling any plot tool: 1. **Which entity?** A specific node (junction / outfall) — by name — or a specific link (conduit) — by name? - List 3–5 high-peak-flow candidates from the run's RPT `Link Flow Summary` so the user can pick. 2. **Which attribute?** Node options: `Total_inflow`, `Depth_above_invert`, `Volume_stored_ponded`, `Flow_lost_flooding`. Link options: `Flow_rate`, `Velocity`, `Depth`. 3. **Time window?** Default is the full simulation (24h). Offer to limit to a focus day or HH:MM-HH:MM window if peaks occur in a short period. Do **NOT** silently pick defaults. The user needs control — different plots answer different questions (peak inspection vs continuity vs flooding). ## What this skill provides - A plotting script that reads: - rainfall TIMESERIES from a SWMM `.inp` (one named series at a time); - flow series from a SWMM `.out` binary (via `swmmtoolbox`). - Renders a paired rainfall + node-flow figure with a fixed publication style: - SI units (rain in mm per timestep or mm/h depending on `rainKind`); - rainfall on the top axis, **inverted** (depth grows downward); - flow on the bottom axis; - inward ticks, Arial, no auto title; - optional `windowStart`/`windowEnd` or `focusDay` to crop the time axis. ## When to use this skill Use after `swmm-runner.swmm_run` has produced both `.inp` and `.out`,