Drainage Corrections¶
Catchments come from the terrain's drainage analysis: where Hydrata works out that water goes on that terrain. The terrain does not always show where water really goes. A culvert under a road, a kerb, a levee too thin for the grid, or ground that is not ground at all can send the catchments wrong. A drainage correction tells Hydrata what the terrain misses.
There are three kinds:
| Correction | What it says | Drawn as |
|---|---|---|
| Drainage barrier | Water does not cross here: a levee, kerb, road crown or embankment the terrain missed. Water goes round it. | A line |
| Drainage opening | Water gets through here: a culvert through an embankment, or a watercourse through a false divide. | A line |
| Excluded ground | This is not real ground: leave it out of the drainage analysis. Catchments end where it starts. | An area |
A drainage correction belongs to the terrain, not to one line. Every line on that terrain is worked out with it, so you draw it once.
A drainage correction changes only where catchments say water goes. It never changes the terrain itself, and never the terrain a flood model runs on.
Where to find them¶
Open a line in Hydrology, Catchments, and open Setup. Under Drainage corrections is every correction stored with the line's terrain: its kind, what it is (the note typed with it, if any) and who drew it. With none it reads None.
While the page is open the corrections are drawn on the map: a drainage barrier in dark red, a drainage opening as a blue dashed line, excluded ground in grey. The legend's Barrier, Opening and Excluded ground entries turn each off and on (see the legend).
A project editor can draw and remove corrections. Nothing can be changed while the line is running.
Draw a drainage barrier or a drainage opening¶
- In Setup, under Drainage corrections, click Draw barrier or Draw opening.
- If you like, type What it is (optional), for example
A railway embankmentorA culvert under the road. - Click along the barrier or opening on the map and double-click to finish. Cancel stops without saving.
The correction is stored with the terrain as soon as you finish.
- Draw a drainage barrier right across the place water must not pass, and a little beyond it on each side, so water cannot go round its ends.
- Draw a drainage opening along the way water really goes: from the ground where it is held, through the embankment or divide, to the lower ground beyond. Water runs along it to its lower end, whichever way you draw it.
- Where an opening crosses a barrier, the opening wins.
To take a correction away, click Remove beside it.
After a correction¶
Adding, changing or removing a correction puts the terrain's drainage analysis out of date. Nothing on a line changes until it is run again:
- each line on the terrain run before the change carries the notice Drainage corrections changed since this run., with a Run again button;
- a notice says how many lines on the terrain were run before these corrections, for example 2 lines predate these corrections. Run them again.;
- the next run works the drainage analysis out again, so it takes longer than usual.
Warnings that name their fix¶
To let water out of a hollow, the drainage analysis cuts a way through the ground by the cheapest route, however far it has to go, and fills what it cannot cut. Most cuts and fills are small. A big one can decide where a catchment's water goes, so a line warns about it and names the fix:
- A cut that brings water in, close to the catchment's boundary or deeper than the terrain is expected to need. The warning reads: CH (chainage): analysis cut (depth) m deep over (length) m to bring in (area). Draw a barrier if water cannot pass.
- A cut that sends water away, next to the catchment: CH (chainage): analysis cut (depth) m deep over (length) m and sends (area) away. Draw an opening if it comes here.
- A deep fill in the catchment: water there spills over the hollow's lowest rim. CH (chainage): analysis filled a hollow (depth) m deep over (area). Draw an opening if it drains elsewhere.
The cut or fill is drawn on the map: a cut is a red line down the flow, a fill is a green area. The legend's Cut and Fill entries turn them off and on. Put the pointer on the warning and its cut or fill is drawn heavier. Zoom to on the warning frames it.
The figures depend on where the terrain came from. A terrain is expected to need cuts of up to 10 m on LiDAR and uploaded terrains, and up to 30 m on 30 m Copernicus terrain. A deeper cut is kept, not refused, and is warned about wherever it brings water into a catchment. Below that, a cut is reported when it is deep (half that figure: 5 m or 15 m) or long (1,000 m or more, and at least a fifth of that figure deep), and a fill when it is deeper than a quarter of it (2.5 m or 7.5 m). A catchment gets at most three warnings of each kind, the deepest first.
Beside each such warning is a button, Draw barrier or Draw opening. It frames the cut or fill on the map and starts the drawing. You still draw the line yourself: you know where the embankment or the culvert is, and the terrain does not. More than three of these warnings on a line fold into one row, (n) places where the analysis cut or filled ground.; click Show each to see them.
These warnings come from the terrain alone. They say where the analysis changed the ground a lot, not that it was wrong: many big cuts are real watercourses. Look at the place before you draw.
Excluded ground¶
Excluded ground is ground left out of the drainage analysis because it is not real ground. Most often it is the padding of triangles a survey export extrapolates out to the terrain's border. The terrain import check finds it and offers Leave out: see Extrapolated ground. Put back removes it again.
A catchment that reaches excluded ground stops there, and a warning says so: CH (chainage): catchment stops at excluded ground. It is not marked at least, because the excluded ground is not the edge of the terrain.
Agents¶
An AI agent connected through the Hydrata MCP server cannot
draw or remove a correction. With propose_drainage_correction it can
propose one: a drainage barrier, a drainage opening, or excluded ground
(including the ground the import check marked), with one or two sentences of
reason. A proposal changes nothing.
A proposal shows in Notices, under Agent, as, for example, Proposed drainage barrier by an agent for (who), with the agent's reason. Nothing changes until a person accepts it. It is drawn on the map with the other corrections, dashed and fainter. Click Accept to apply it, Reject to remove it, or Zoom to to see it. Only a person can accept or reject one.
The agent gives you a link that opens the map on a line of that terrain, opens Notices and highlights the proposal in the list and on the map.
Once accepted, the correction moves to the list in Setup and keeps where it came from: Proposed by an agent for (who), accepted by (who), (date).
What a correction does not do¶
- It does not change the terrain, the mesh, or any flood model. Corrections change only the catchments.
- It does not apply itself to lines already run. Each line uses it at its next run.
- It does not prove the catchments right. After a correction, look at the new catchments and their warnings again.