All posts
tutorial6 min read

See how streamflow is changing in your watersheds

A step-by-step walkthrough of the streamflow trend and forecast analysis on Pennsylvania's 54 watersheds, with what it's good for and what to do once you have results.

Cairn

How much water do your watersheds produce, is that changing, and what should you expect next year? This tutorial walks through the analysis that answers those three questions.

We use a real run: Pennsylvania, split into its 54 HUC8 watersheds, with monthly data from 1958 to 2025. Every number and screenshot below comes from that run.

A map of Pennsylvania's 54 watersheds colored by runoff trend since 1958: six in solid blue, the rest striped blue or striped orange.

Solid blue: runoff rose significantly. Stripes: no significant change, leaning up (blue) or down (orange).

What it's good for

  • Deciding where to look first. See which watersheds show a steady change and which don't, before you spend on a detailed study.
  • Planning around the seasons. See which months usually bring the most runoff in each watershed, for scheduling sampling, maintenance or outreach.
  • Comparing watersheds. See which ones behave alike, so you know where one plan or one monitoring site can stand in for several.
  • Backing up a grant application or a report. Every finding comes with its data source, its method and files anyone can check.

It is not for flood risk, single storms or exact amounts. Runoff here comes from a climate dataset, not from stream gauges.

What you need

A Cairn project with at least one area, such as a state or a watershed. The data is public and already loaded, so there is nothing to upload.

1. Choose the analysis

Open your project and choose Run an analysis. Analyses are grouped by what they do; choose Streamflow trend and forecast under Trends and forecasts.

The Run an analysis page: a list with Streamflow trend and forecast under Trends and forecasts, and Stream buffers under Detection and mapping.

2. Set it up

The set-up page: Pennsylvania checked, split into 54 HUC8 watersheds, with time series clustering and the 12-month forecast turned on.

Three choices matter:

  • Areas. Check the areas to include. A project can hold several.
  • Units. Each area is split into smaller watersheds so you can see where change is happening. Cairn suggests one level down: a state splits into HUC8 watersheds, a HUC8 into HUC10s. Smaller units show more detail but rest on fewer data cells, and Cairn warns you when a unit covers too few.
  • Full or clipped watersheds. A watershed that crosses your area's edge can be kept whole or cut at the edge. Keep it whole for streamflow, since water doesn't stop at a state line.

The forecast takes most of a run's time. Leave it on unless you have hundreds of units.

Choose Run analysis.

3. Watch it run

The run log shows each step in plain words as it happens. This run took 2 minutes.

The run log with all seven steps done, from Load units to Save results.

What the steps do:

  1. Load units. Here: 54 HUC8 watersheds from the USGS Watershed Boundary Dataset.
  2. Read climate data. TerraClimate, monthly, January 1958 to December 2025: runoff, precipitation, evapotranspiration and maximum temperature.
  3. Average per unit. Every month, for every watershed. A data cell on the edge counts only for the part inside.
  4. Trend test. Is there a steady rise or fall over the 68 years?
  5. Patterns. Which watersheds have behaved alike?
  6. Forecast. Monthly runoff for the next 12 months, tested on months the model never saw.
  7. Save results. Files in open formats.

4. Read the results

Choose View results. The page starts with one sentence, the finding, then shows the evidence behind it.

The headline finding: streamflow rose significantly in 6 of 54 watersheds since 1958, with a median trend of +0.22 mm per month each decade.

Trend

The trend map: 6 watersheds in solid blue for a significant increase, 39 striped blue and 9 striped orange for no significant change, above a table of trends for runoff, precipitation, evapotranspiration and max temperature.

Solid colors mean a significant trend: a steady rise or fall that is unlikely to be chance. Stripes mean the watershed leaned one way, but not clearly enough to call.

In this run, runoff rose significantly in 6 of 54 watersheds and fell significantly in none. The other 48 show no clear trend. That is a finding too: for most of the state, the data doesn't support saying streamflow has changed.

The table below the map runs the same test on the other variables. Precipitation rose significantly in 16 watersheds, evapotranspiration in 44 and maximum temperature in 7. The table shows what changed alongside runoff. It doesn't say what caused what.

Use Choose a watershed to see any single watershed's numbers.

Patterns

The patterns map: a southern group of 28 watersheds that peaks in March and a northern group of 26 that peaks in April, with each group's typical year and its representative watershed's yearly runoff.

Cairn groups watersheds whose monthly runoff has risen and fallen in similar ways. Here it found two groups. In one, 28 watersheds, runoff usually peaks in March at about 69 mm. In the other, 26 watersheds, it peaks in April at about 102 mm.

Each group has a representative: the watershed closest to the group's average. Here those are Lower Susquehanna-Swatara and Sinnemahoning.

Forecast

The forecast for March 2026: a map of forecast runoff by watershed, a chart for the Youghiogheny showing 96 mm with a 90% range of 66 to 127, and an accuracy summary with a typical error of 24 mm per month.

The forecast gives monthly runoff for the next 12 months in each watershed, with a 90% range. Step through the months or press Play.

Read the accuracy box before you use a number. Each model was tested on the last 160 months, which it never saw while training. In this run the typical error was 24 mm per month, against an average month's runoff of 28 mm. So the forecast is useful for timing, such as which months run high, and rough for amounts.

5. What to do next

  • Check it against what you know. Pick a watershed you know well and see if the trend and the seasonal peak look right. Where there is a USGS stream gauge, compare. Runoff here is modeled from climate data, so a gauge is the better record of what a stream actually did.
  • Zoom in. If one watershed stands out, add it to the project as its own area and run again with smaller units, HUC10 or HUC12, to see where inside it the change is.
  • Share the evidence, not only the headline. Under Downloads, take the results by watershed (CSV, GeoJSON or GeoParquet), the full monthly series, and the run details file, which records the method, the data version and a checksum for every file. Send the run log along with it: it shows each step and its settings.
  • Say what it is. When you quote a result, name the data (TerraClimate, 1958 to 2025) and the test, and keep "significant" and "no clear trend" apart. The 48 watersheds with no clear trend are not 48 watersheds where nothing is happening.
  • Use the timing. The typical-year charts and the forecast show when runoff usually runs high. That can inform when to schedule sampling or inspections, with the accuracy box in mind.
  • Look at the ground. Streamflow tells you how much water there is, not what the stream corridor looks like. For a watershed you care about, the stream buffers analysis maps tree canopy along its banks and builds a planting list.

What to keep in mind

  • Modeled, not measured. Runoff comes from a climate dataset based on weather records. It is not gauge data.
  • Small watersheds. A unit covering only a few data cells rests on little data. Cairn flags these as lower confidence.
  • Forecast amounts are rough. Use the range, not the single number.
  • Significance has a threshold. Trends are called significant at p < 0.05. A watershed just short of that line is not different in kind from one just past it.