Climate Change: Simple, Serious, Solvable › Models and Data
Rainfall Is Not Water Supply: A Watershed in a Warmer World
Rain and snow fall on a watershed. Snow waits for spring. The soil soaks up what it can, plants and warm air draw water back out, and what's left runs down to the river. Warm the air, keep the rain and snow the same, and watch what happens to the river.
- 1991–2020
- Warmer
| 1991–2020 | Warmer | |
|---|---|---|
| Precipitation, P | ||
| Evapotranspiration, E | ||
| Runoff to the river, R | ||
| Evaporative demand | ||
| The deepest snowpack | ||
| The month with the most runoff | ||
| Months with the soil less than half full |
The same rain and snow, less river. Warmer air pulls harder on the water in the soil and in plants, so less is left to run off. And more of the winter's precipitation falls as rain instead of waiting as snow.
This is a very simple model. It's the US Geological Survey's monthly water balance: a few steps a month. The About tab has every one.
About this model
A watershed is all the land that drains to one river. Chapter 8 of the book follows the water through one: P − E = R + ΔS. Precipitation, P, minus evapotranspiration, E, the water that evaporates or passes through plants, equals runoff, R, plus the change in stored water, ΔS, in snow and soil. This page does that sum month by month, with the US Geological Survey's monthly water-balance model, for three real watersheds.
On the page as it opens, it's the Merced River above Yosemite Valley in California, fed by Sierra Nevada snow, warmed by 3 °C with the same rain and snow. The river's yearly runoff falls from 369 to 341 mm, its biggest month moves from May to April, the deepest snowpack shrinks from 514 to 220 mm, and the soil is less than half full for 3 months of the year instead of none.
How to use this page
Choose a watershed: one fed by mountain snow, one fed by rain in a humid climate, and one in Mediterranean hills with wet winters and dry summers. Each starts from its average climate of 1991–2020. Then choose the warming, from 0 to 6 °C, added to every month, and the change in rain and snow, from −30% to +30%, applied to every month. The page opens with 3 °C of warming and no change in rain and snow.
The three graphs show the twelve months: the snowpack, the water in the soil, and the runoff to the river. Gray is 1991–2020 and red is the warmer climate. The first table sums up the year, and the second gives the warmer year month by month. "Back to where the page opened" puts everything back. The address in your browser changes as you work, so you can bookmark a view or send it to someone. Nothing is sent anywhere as you work.
This page is part of the website for Climate Change: Simple, Serious, Solvable, an open textbook by Scott Denning. It goes with Chapter 8, "Future Climate Change", sections 8.3 to 8.5.
The equations
You don't need any of this to use the page. But each month is a few short steps, and you can follow one with a calculator. Water is in millimeters: a millimeter of water over the whole watershed.
The model answers one question: if the air warms, how much of the rain and snow still reaches the river, and when?
Each month starts with its average temperature, T, and its precipitation, P. The model runs the same year thirty times, so the snow and soil settle into their usual cycle, and shows the last.
1. Rain or snow?
Above Tr = 3.3 °C everything falls as rain. Below Ts everything falls as snow: −1 °C for a watershed above 1,000 m and −10 °C for one below. In between, the share that falls as snow is
A twentieth of the rain runs straight off to the river. The snow joins the snowpack.
2. How much snow melts?
A share of the snowpack melts, more in warmer months, but never more than half of it in one month:
The rest of the rain and the meltwater together, W, soak into the soil.
3. How thirsty is the air?
The evaporative demand, Ep, is the most water that could evaporate and pass through plants in a month if the ground never ran dry. Hamon's formula gets it from the temperature and the length of the day:
in millimeters a month, where d is the number of days in the month and D is the hours of daylight, in units of 12. The air's thirst comes in through ρ (rho), which stands for the most water vapor warm air can hold:
It grows by about 6% for each degree of warming. That's the heart of Chapter 8's point: warmer air pulls harder on the water in soil and plants.
4. What does the soil do?
The soil holds up to C = 150 mm. In a month when W is more than the demand, plants and the air take all they want, E = Ep, and the rest fills the soil. What the full soil can't hold waits to run off. In a month when W is less, plants and the air take all of W and draw more from the soil, less as it dries:
where S is the water in the soil at the start of the month. Then E = W + G.
5. How much reaches the river?
Half of the water waiting to run off, X, reaches the river each month, with the twentieth of the rain, r, that ran straight off:
Over a whole year the books balance, as in Chapter 8:
The page's year is a settled one, so its ΔS is zero: every millimeter of P leaves as E or R.
Where the equations stop
- Temperature alone drives the demand. Hamon's formula raises the demand about 6% for each degree. Fuller methods count wind, sunshine and humidity too, and a study of 13 climate models found the demand rising by a percentage in the low tens over a century of high emissions. So this page probably makes warming dry the land somewhat faster than it would.
- Plants that save water. With more CO₂ in the air, plants open their pores less and lose less water. In the climate models, that almost cancels the extra pull of warmer, drier air on the water in plants and soil (Yang and others, 2019). A model like this one leaves it out, so it makes warming dry the land too much. One common drought index, worked out this way, shows drought stress growing over more than 70% of the world's land; the climate models' own water balance shows it over 37% (Swann and others, 2016). This page shows the bookkeeping and the timing well, but not how much drier the land will get. For that, see the climate models' own water balance.
- Average months. Real rain comes in storms, and heavier ones in a warmer climate. Every month here gets its average, so the page leaves out floods and the runoff from a cloudburst.
- No groundwater, dams or irrigation. The soil's 150 mm is the only storage below ground, and nothing is pumped or held behind a dam.
- The same change every month. Real warming and real changes in rain and snow differ by season.
- Slow melting. At most half the snowpack melts in a month, so snow lingers on the Merced into summer longer than it really does.
A worked example
Choose the Merced and set the warming to 0. Look at May in the month-by-month table. It started with 504.55 mm of snow and a full soil. May averages 3.7 °C, and 32 mm of precipitation fell.
- Rain or snow (step 1). 3.7 °C is above 3.3, so all 32 mm is rain. A twentieth of it, 1.6 mm, runs straight off.
- Melt (step 2). m = 0.5 × (3.7 + 1) ÷ (3.3 + 1) = 0.55, more than the limit, so half the snowpack melts: 504.55 ÷ 2 = 252.28 mm. So W = 32 − 1.6 + 252.28 = 282.68 mm.
- Demand (step 3). In the middle of May at the Merced, the day lasts 14.03 hours, so D = 1.1695. ρ = 4.95 × e0.062 × 3.7 ÷ 100 = 4.95 × 1.2578 ÷ 100 = 0.06226. Ep = 13.97 × 31 × 1.16952 × 0.06226 = 36.88 mm.
- The soil (step 4). W is more than the demand, so E = 36.88 mm, and the soil, already full, can't take the other 282.68 − 36.88 = 245.80 mm. It waits to run off, with 0.77 mm left from April: 246.57 mm.
- The river (step 5). R = 1.6 + 0.5 × 246.57 = 124.88 mm.
The table says May's runoff is 124.9 mm, the biggest month of the year.
See the equations at work
- Snow becomes rain. On the Merced with 3 °C of warming, the deepest snowpack falls from 514 to 220 mm. More of the winter's precipitation falls as rain and runs off in winter, and the river's biggest month comes in April instead of May (steps 1 and 2).
- A thirstier summer. On the French Broad, which gets almost no snow, 3 °C of warming still cuts the yearly runoff from 828 to 689 mm, because the demand rises from 677 to 816 mm (step 3). Add 10% to the rain and snow, and the runoff is back to 840 mm.
- Already dry. In the Sierra Morena hills, the demand is almost twice the rain and snow, so plants and the air take nearly everything and only 24 mm a year reaches the streams. With 3 °C of warming and 10% less rain, the soil is less than half full in all 12 months (step 4).
Where the data come from
Each watershed's months are the average of 1991–2020 over the TerraClimate grid squares inside it: the middle of the average daily high and low, and the precipitation. TerraClimate is free to use (CC0).
Abatzoglou, J. T., S. Z. Dobrowski, S. A. Parks, and K. C. Hegewisch (2018). TerraClimate, a high-resolution global dataset of monthly climate and climatic water balance from 1958–2015. Scientific Data, 5, 170191. doi:10.1038/sdata.2017.191
The model, its usual numbers and Hamon's formula are from the US Geological Survey's report:
McCabe, G. J., and S. L. Markstrom (2007). A Monthly Water-Balance Model Driven by a Graphical User Interface. US Geological Survey Open-File Report 2007-1088. doi:10.3133/ofr20071088
The length of the day uses the Sun's angle through the year from:
Cooper, P. I. (1969). The absorption of radiation in solar stills. Solar Energy, 12, 333–346. doi:10.1016/0038-092X(69)90047-4
How plants' response to CO₂ changes the picture:
Swann, A. L. S., F. M. Hoffman, C. D. Koven, and J. T. Randerson (2016). Plant responses to increasing CO₂ reduce estimates of climate impacts on drought severity. Proceedings of the National Academy of Sciences, 113, 10019–10024. doi:10.1073/pnas.1604581113
Yang, Y., M. L. Roderick, S. Zhang, T. R. McVicar, and R. J. Donohue (2019). Hydrologic implications of vegetation response to elevated CO₂ in climate projections. Nature Climate Change, 9, 44–48. doi:10.1038/s41558-018-0361-0
How much the demand rises with warming, in fuller methods:
Scheff, J., and D. M. W. Frierson (2014). Scaling potential evapotranspiration with greenhouse warming. Journal of Climate, 27, 1539–1558. doi:10.1175/JCLI-D-13-00233.1
How it was checked
- The code, against a second copy. The tests have the steps written out a second time, in another programming language, and compare every month at many settings.
- Water, every month. In every month, what falls equals what evaporates, runs off and changes in storage, and over the settled year the storage ends where it started.
- Against measurements. The model's runoff is compared, loosely, with TerraClimate's own water balance and with the US Geological Survey's river gauges on the Merced and the French Broad. It gets the timing of the Merced's spring flood and the French Broad's winter-high, summer-low pattern. Its totals are less certain, because TerraClimate's precipitation is too low in high mountains: the Merced's gauge measures almost as much runoff as TerraClimate's precipitation.
- This tab, against the model. Every equation above is tried with the model's numbers, the worked example is done again from the rounded numbers a calculator would use, and each number in the text is worked out again from the model.
The code
The code is small enough to read. Two files do all the work, and they use no outside software. The comments in model.js use the same step numbers and letters as the equations above.
model.js is the science: the five steps, month by month, and the watersheds' climates.
app.js is the page: the controls, the graphs and the tables.
To keep a copy, save model.js or app.js.
All of the model's code is on GitHub, at github.com/airscottdenning/climate-models. You're free to use it, change it and teach with it.
Credits
By Scott Denning, for Climate Change: Simple, Serious, Solvable. The model is the US Geological Survey's. Claude, from Anthropic, wrote it to run in your browser and checked it against the book.