Get alerted when a river rises fast
By Tobias Müller. Published .
Fall brings heavy rain to British Columbia’s coast. This can flood many communities, especially when strong winds and king tides coincide. Understanding how quickly our environment changes is crucial in a world where weather events are becoming more extreme.
Even with the right data, automated alerts based on a fixed limit can trigger too late. By the time the river crosses a limit, such as “water level above 4 m”, much of the rapid rise may already be over. A better signal is how quickly the level changes. This walkthrough shows how to watch the rate of rise on a public Water Survey of Canada gauge with Warnspot.
Warnspot calls this an alert rule: a rule that watches your data and messages the people you choose. Warnspot also provides official warnings by authorities, such as weather warnings and evacuation orders. For other alert types, see Threshold alerts without alert fatigue.
Pick the gauge
This example uses the Water Survey of Canada hydrometric gauge TSOLUM RIVER NEAR COURTENAY,
station 08HB011, at 49.706, -125.011 in the Comox Valley. The river drains an area of 264 km².
The gauge reports stream level in metres and stream discharge in cubic metres per second. It
measures every 5 minutes, and new readings reach Warnspot about once an hour. For a full setup
around one site, with a location and several data sources, see Monitoring conditions during a field campaign.
Open Data sources and search for the station by name. Open its page and look at the chart for the last few weeks. Note two things:
- The usual level between storms.
- How fast the level increased.

The screenshot was taken on 25 November 2026, during a flood. From 22 to 24 November, the sensor reported water levels rising from about 0.9 m to about 3.9 m. The fastest part of that rise was about 0.14 m per hour, measured over three hours. We use both numbers to guide the settings below. You can find similar data for many other public gauges in Canada on our site.
Create the alert rule
Open Alert rules, click Create alert rule, and build the rule:
- In step 1, choose Data source. Search for the gauge and select the Stream level parameter.
- In step 2, open More options and turn on Rate of change.
- Set Window (min) to
180. Warnspot fits a straight line through the readings of the last three hours and measures its slope. - Set Change per hour to the rise you want to hear about. A value of
0.1means 0.1 m of rise per hour. That is below the fastest rise in the chart above. Treat this number as a starting point and adjust it as you see more data. - Set the direction to Increasing.
- Set Only when the level is past (optional) to a level well above the level between storms.
For this gauge,
1.5is well above the usual 0.8 to 0.9 m. This value is the minimum level.
The form also asks for a Threshold in step 2. Enter any value, such as 1. Warnspot does not
use the Comparison or the Threshold while Rate of change is on. Severity still sets
how serious each event is.

The window is three hours because the readings arrive in batches, about once an hour. Between two batches, a 30-minute window often contains no readings, and Warnspot needs at least two to measure a rate.
Why set a minimum level
A river can change quickly at a low level and still be no cause for concern. A minimum level removes these cases. With it set, the alert rule triggers only when the rate is above your limit. The latest reading must also be at or above the minimum level.
The minimum level decides only the first trigger. Once the alert rule triggers, it stays active based on the rate alone. It resets when the rate falls to half of Change per hour or less. This keeps one storm from sending a trigger and a reset every time the rate crosses the limit.
With these settings, the rule would have triggered on the evening of 23 November, at about 2.2 m. The river kept rising for about 15 more hours, to 3.7 m. By the time of the screenshot, the level had peaked at about 3.9 m, so a rule with a fixed limit of 4 m had not triggered.
Choose who gets the message
By default, an alert rule reaches the account owner. For a storm response, you can add the people who should act or be informed. A recipient list is a named list of people to alert. Open Recipient lists, click Create recipient list, and add the email addresses. Also add a push topic that people subscribe to in the ntfy app. Then attach the recipient list to the alert rule. The ntfy app is free and open source, and works on Android, iOS, and desktop.
What this does not do
Note: Treat the alert rule as one input. It does not replace official warnings.
- The data is provisional. The Water Survey of Canada can revise provisional readings later.
- Readings reach Warnspot about once an hour, so an alert can lag the river by an hour or more. The rule measures the rise over the whole window, so a short burst counts less than a steady climb.
- The rule watches one gauge. It cannot tell you what happens upstream, on a smaller creek, or at a site without a gauge.
For flood decisions, follow the advisories from the BC River Forecast Centre and the warnings from Environment and Climate Change Canada. They have the forecasts and the local knowledge that a rate rule does not.
What you have now
One alert rule watches the rate of rise at the gauge, ignores quick changes at low water, and messages the people who need to move. It reacts to how the river behaves, not only to where it stands.
The same rule works in the other direction. A river that drops fast can strand young fish in side channels and on gravel bars. To hear about a fast fall, create a second alert rule with the direction set to Decreasing. A crew can then go and check for stranded fish. In that rule, Only when the level is past sets a maximum level. The rule triggers only when the level is at or below it. Leave the field blank to hear about a fall at any level.
Set up your own gauge
Create an account to start your free 14-day trial and add your first alert rule, or contact us about connecting your own sensors. The trial needs no credit card. To see how the pieces fit together, read How Warnspot works first.