mike_plot_rain_flow
Render a two-panel rainfall-runoff figure with inverted rain on top and flow on bottom from a .res1d element, optionally using a .dfs0 file.
Instructions
Render a stacked two-panel rainfall-runoff figure (rain inverted on top, flow on bottom) in the house style. Flow comes from a .res1d element; rainfall optional from a .dfs0. No license needed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"res1d": "<res1d>",
"element": "<element>",
"out_png": "<out_png>"
},
"name": "mike_plot_rain_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| res1d | Yes | ||
| element | Yes | Reach/link or node id for the flow series. | |
| quantity | No | Flow quantity (default 'Discharge'). | |
| rain_dfs0 | No | Optional rainfall .dfs0 for the top panel. | |
| out_png | Yes | Output PNG path. |