Download
Flood the Bay for Windows · Windows 10 or 11, a DirectX 12 graphics card with 8 GB or more.
The simulator comes without maps. On first start it opens its Maps page and downloads the ones you pick.
See where the water goes before it gets there.
Flood the Bay is a free flood model of San Francisco Bay and the creeks of its watershed, built by a Coyote Creek neighbour. It replays real storms and king tides from the gauge records and shows, street by street, where water rises.
Where the model stands
Before the public release, the model has to reproduce real events from the measurements alone. Current status:
Figures from Saturday's calibration runs; they change as testing goes on.
Replay a past flood
Pick a date: the model pulls that day's rain gauges, creek gauges, reservoir levels and tides, and runs the storm forward.
Try a "what if"
Raise the bay, breach a levee, shut the storm drains, or fill the reservoirs, then compare with the real event.
Help check it
A photo with a time and a place tells us how high the water really was. That is how a model earns trust.
How it works
1 · The ground
Two-metre lidar elevations of the valley floor and the bay shore, with the levees, floodwalls and culverts that decide where water can pass. Hills come in as 400 m blocks.
2 · Compartments and links
The land is split into a few hundred thousand compartments, each knowing how much water it holds at every level. Links between them carry flow over the lowest crest along their shared edge, the way water spills over a levee or a road crown.
3 · Rain, soil and drains
Rain comes from the gauge records for past dates or the weather service forecast. The land cover decides how much runs off; some reaches the creeks at once, some seeps out of the soil over the next day. City storm drains carry street water to the creeks.
4 · Creeks, reservoirs and the bay
Reservoirs start at their measured storage; Anderson can release what was measured below the dam. At the shore the bay follows the NOAA tide stations.
5 · On the graphics card
Everything runs as compute shaders in Unreal Engine 5.8, written in C++. A three-day storm runs in minutes, so many "what ifs" can be tried in an afternoon.
6 · Checked against measurements
Every run is scored against the stream gauges, the reservoir levels, the reported flooded streets, and dated photos.
Maps
The simulator ships without maps; each map is a separate download, made from the inside of the simulator on its Maps page. Pick one and the app downloads it, checks every file, and puts it in its Data folder; a download that stops carries on where it left off. Start with the Bay Area overview, then add the area you care about in detail.
| Map | Covers | Download · on disk | How to get it |
|---|
Maps for simulator version 0.1.0. Each simulator version reads its own set, so an older copy keeps working while new maps are published.
What a map holds
The ground as compartments that hold water, the edges between them with the height of every 2 m strip, the creek channels, levees and culverts, reservoirs, gauges, roads and place names, and the pictures drawn underneath. "Detailed" maps cut the flat parts of their area into 40 m compartments on 2 m terrain, so streets and town creeks show properly; the overview keeps 400 m blocks there. More in the wiki.
Share a flood photo
Any storm, any year: high water on Coyote Creek, Guadalupe River, the bay shore, a flooded street or a king tide. The most useful photos show water against something we can measure — a fence, a step, a sign, a bridge pier — and come with the time they were taken.
Progress reports
How each part of the model was checked against measurements, run by run: what was tried, what it showed, and what changed because of it.
Progress reports › King tides
King tides, November 2026
Result: the model reproduces the November 24–26 king tides at the three bay tide stations checked, as a replay within 1 to 4 cm at the high tides, and as a forecast started before the first king tide within 7 cm. Two things made the difference: the friction on the bay floor, and carrying the bay's weather-driven offset from the tide table into the forecast.
What was tested
King tides are the year's highest astronomical tides. From November 24 to 26, 2026 they ran about 0.3 m above the NOAA tide table all week. The scenario King tides Nov 2026 starts on November 23 at noon and runs 72 hours on the Bay Area map with levees as built in 2025. The water level at the two open edges, the Golden Gate and Carquinez Strait, comes from NOAA's measurements; everything inside the bay is the model's own. Its levels are compared with NOAA's tide stations at Richmond (9414863), Alameda (9414750) and Redwood City (9414523), which were not fed in.
Targets
| Target | Status |
|---|---|
| Replay: high tides within 10 cm and 30 minutes at the bay stations | Met (run t07) |
| Forecast from before the peak, using only what is known at the start | Met (run t06) |
| More stations: Martinez or Port Chicago, and Coyote Creek (9414575) | Not started; 9414575 had no data for Nov 2026 |
| Shoreline flooding in the known spots, from King Tides Project photos | Not started |
| A second set of king tides without retuning: Dec 23–25, 2026 | Forecast to be run before the first high on Dec 23 |
The runs, in order
- t01, replay, bay floor roughness n = 0.035 (the map's original value). Richmond and Alameda close: error 4 and 6 cm overall, high tides within 3 cm but 10–35 minutes late. Redwood City poor: highs 7 cm short and 35 minutes late, lows 18–21 cm too high, 30 cm overall. The model damped the South Bay's tide, whose range is normally about twice the Golden Gate's.
- t02, forecast from the tide table only, starting Nov 24 at midnight, 10 hours before the first king tide. High tides came out 37–45 cm low everywhere: the bay was running about 0.3 m above the table that week, from weather and ocean conditions the table does not include.
- t03, forecast with the offset carried forward: the table plus 0.30 m, the average difference between measured and predicted over the 12 hours before the start. Highs −7 to −11 cm at Richmond and Alameda, −14 to −16 cm at Redwood City. Better, but the South Bay still lagged.
- Bay roughness replays (36 h) to fix the South Bay. n = 0.025: Redwood City error halved, 30 → 15 cm; highs +4 cm, lows right; Richmond and Alameda unchanged and on time. n = 0.020 went too far (Redwood City highs +12 cm, lows −14 cm). n = 0.028 gave slightly better highs but a worse overall fit. 0.025 was chosen and made the default. It does not affect the Coyote Creek flood runs.
- t06, forecast with the offset and n = 0.025: high tides Richmond −7 and −5 cm, Alameda −6 and −5 cm, Redwood City −4, 0 and −6 cm; timing −7 to +26 minutes. Forecast target met.
- t07, full 72-hour replay with n = 0.025: high tides Richmond +1 and +3 cm, Alameda +2 and +2 cm, Redwood City +1, +4 and +4 cm; overall error 6, 6 and 12 cm (Redwood City was 30 cm in t01). Replay target met.
What it taught us
The South Bay's tide depends on the bay floor's friction. Too much friction and the tide arriving from the Golden Gate loses its push before it reaches Redwood City and Alviso; the right value restores both the height and the timing there.
A forecast needs the bay's current offset, not just the tide table. Wind, low pressure, ocean warmth and river outflow can hold the whole bay tens of centimetres above the table for days. Measuring that offset over the last 12 hours and carrying it forward turned a 40 cm miss into a 5 cm one. Right Now forecasts in the simulator do this automatically.
Shoreline flooding is the next check. Matching the tide stations is necessary but not enough: the places that actually get wet, such as low trails, parking lots and roads along the shore, need photos taken at known times to compare with.
How you can help
The next king tides are December 23–25, 2026. A photo of water on a shoreline trail, road or parking lot, with the time it was taken, is exactly what this check needs. Share a flood photo.
Progress reports › Coyote Creek 2017
Coyote Creek flood, February 2017
Where it stands: the model now reproduces the 2017 flood at the gauges, at Rock Springs and at the photo spots, using only the rain, reservoir and tide records for those days. Flow at Hwy 237 is 87–99% of the measured volume and 93–96% of the measured peak, at the right hour; Rock Springs floods at the reported time and depth. The remaining target, reproducing other storms (January 2023, December 2022) with the same settings, is not met yet: those smaller storms show losses in Coyote Valley that the big 2017 flood hid.
Hours below count from noon on February 19, 2017. Run names (c01, x06, f01 …) are the labels in the project log.
The flood and what it is checked against
On February 21, 2017 Anderson Reservoir spilled, Coyote Creek overtopped its banks through San Jose, and Rock Springs, the William Street area and the Berryessa and Oakland Road neighbourhoods flooded. Valley Water's flood report (November 2017) and the City of San Jose's after-action report (March 2017) give the numbers used here:
| Measure | Value | Source |
|---|---|---|
| Peak water level times: Coyote Res, Anderson, Madrone, Edenvale, William St, Hwy 237 | 38.7, 43.0, 42.7, 49.0, 56.2, 56.3 h | Valley Water gauges |
| Peak flow below Anderson (Madrone) | 7,410 cfs (210 m³/s) | Valley Water report |
| Peak flow at Hwy 237 | 6,670 cfs (189 m³/s) at about 60 h | USGS / Valley Water |
| Rock Springs overtopped | about 8:30–9:30 am Feb 21 (44.5–45.5 h) | both reports |
| Water level at the Montague levee photo spot | about 9.0 m (±0.5) at 70 h, falling about 0.25 m from the peak | Harry Dole's photos, Feb 22 2017 |
Targets
| Target | Status |
|---|---|
| Peak times within about 2 hours at each gauge | Met: Edenvale +1.8 h, William St +0.3 h, Hwy 237 flow on the hour |
| Peak levels within 0.3 m | Met at the photo spot (9.25 m vs about 9.0); open at the Hwy 237 gauge, which reads about 1.4 m high for the same flow |
| Flow volume within 15% | Met: 87–99% at Hwy 237; Madrone peak 213 vs 210 m³/s |
| Flooding in the neighbourhoods that flooded | Met: Rock Springs streets about 0.5 m deep from 42–45 h; the Berryessa west bank overflows where the reports say it did |
| A second storm without retuning | Not met: Jan 2023 and Dec 2022 give too much water at Hwy 237 |
1 · First runs on the whole-bay map
- Baseline, with the Anderson and Coyote spillways set to their real crests and widths: the reservoirs rose about right, but the flood arrived 5–9 hours early everywhere.
- Hillslope travel time (rain on the hills takes hours to reach the creeks): timing improved from −2.3 to about −0.5 h, but peaks fell to 65–72%.
- Runoff by land cover (ESA WorldCover: roofs and paving shed more than woods) and a soil split (75% of runoff at once, as much again seeping out over 24 h): volume about right; saved as run m01.
- Roughness by land cover slowed the flood correctly but strangled Hwy 237 to 45–52% of the flow: the satellite map sees trees over the creek, so the channel itself was treated as woodland. Fix: a channel strip that keeps creek roughness in the lowest part of each crossing, with land cover only on banks and floodplain.
2 · A Coyote-only map, and a missing creek bed
- Coyote-only map cut from the detailed South Bay: everything draining to Coyote Creek at or below Hwy 237, its floodplain and the South Bay. 243,658 compartments; runs 7.4 times faster, results within an hour of the full map. Every test since has used it.
- Channel and roughness sweeps traded speed against volume, and the model's gauge rises were 2–3 times the measured ones. A water balance showed why: the 2020 county lidar is hydro-flattened, so the creek is a flat water surface, not a bed. The channel that carries the flood was missing.
- Repeatability fixed: two identical runs differed by up to 3 hours, because the soil step followed the screen's frame rate. It now runs on a fixed 60-second step; identical runs agree within a centimetre.
3 · Map modifications: building a 2017 terrain
The lidar was flown in April 2020 and also contains works built after the flood. Six versions of the Coyote terrain were built and tested:
| Version | Change | What it showed |
|---|---|---|
| 2017 wide | Creek bed burned in (20 m bed); the Rock Springs embankment built in December 2017 removed | Best timing and volume (x06) but Rock Springs only just wet |
| 2017 narrow | 8 m bed, closer to the real low-flow channel (field photos at Hellyer Park) | Water 0.3–0.4 m higher at Rock Springs and Montague; z11 adopted |
| d | Bed cut only where the lidar shows flattened water; National Levee Database floodwall tops added | Broken: empty map pixels turned into infinite heights below Anderson Dam |
| e | d with the empty-pixel fault fixed | Runs fast again; volume 80–83% |
| f (current) | e without the floodwalls, many of which were built after 2017 | All level peaks within 1.2 h, volume 90%, Rock Springs floods (f01) |
4 · Where the missing water at Hwy 237 went
- The flow at Hwy 237 levelled off at about 175 m³/s while the creek's measured flow kept rising to 189. Tests ruled out, one by one: the tidal reach below 237 (deepened 1–2 m, no change), the concrete channel at 237 (smoother, level 0.9 m lower but flow the same), water bypassing the gauge (gauge line widened to 2.5 km, no change), and culverts through the levees (57 closed, no change).
- The answer: the land behind the levees collected its own rain with nowhere to go. In reality storm drains and pump stations put that water into the creek above the gauge. The model got storm drains (each area drains to its nearest creek point at a set capacity, with flap gates that close when the creek is higher) and a pumped zone for the low ground near Hwy 237. Volume rose to 92–99%.
- West-bank overflow at Berryessa (Oakland Road, Mabury to US-101, Watson Park) matches the reports; that water runs north behind the levee to the pumped low ground by Hwy 237.
- Too much water reached Anderson, 2 hours early: the hills needed to soak up their first 15 mm of rain. With that, the Madrone peak is 213 m³/s against the reported 210, at the reported hour (run o01).
- Changes during a flood can now be scheduled in a scenario (a levee breach, an emergency berm, drains switched on or off at a given hour), for the levee cuts and berms crews made in 2017.
5 · Photos from the levee
- Harry Dole's photos from the Montague levee trail, taken at 10:06–10:30 on February 22, 2017 (about 70 h), give the only water level between the gauges. The target changed as the photos were read more carefully: 10.3 m, then 11.1 m once the levee crest height was checked, then about 9.0 m from the people standing on the far bank for scale.
- The corridor between Montague and Hwy 237 holds two channels: Coyote Creek on the east and a grassy diversion channel on the west, joining just above the gauge. Giving that leveed corridor a smooth floodway roughness (n 0.04) brought the photo spot to 9.25 m at 69 h and lifted the flow at 237 to 99% (run c01).
- A water line on an oak in _HFD0837 shows the level had fallen about 0.25 m from the peak by 10:26; the model falls only 0.06–0.10 m there. Still to trace.
- Field photos in November 2026 at Hellyer Park, Rock Springs, Montague–Tasman, the Tasman bridge and the Hwy 237 gauge fixed channel widths, bank heights and the gauge setting.
6 · Second storms: January 2023 and December 2022
- With the 2017 settings untouched, both later storms sent far too much water to Hwy 237 (Jan 2023: 191% of the volume; Dec 2022: 385%). Anderson was drawn down for its seismic retrofit, so the model now releases what was measured below the dam.
- NASA's soil-moisture model (NLDAS-2) did not tell the three dates apart and made 2017 far too dry: not used.
- The Edenvale gauge showed the excess starts in Coyote Valley, where the creek loses water into its gravels and Valley Water's recharge ponds. A losing-reach (recharge) setting fixed Edenvale for Jan 2023.
- Most of the remaining excess is the soil seep, water that comes back out of the ground for a day after the rain. On city land storm drains carry it away instead; a separate seep share for flat land keeps 2017 within targets (87–94%) and brings Jan 2023 to 100–120% of the volume.
- The conflict left: the Coyote Valley loss that the 2023 storms need costs 2017 about a quarter of its flow. The likely reason is groundwater: full after the very wet January 2017, low after the 2020–22 drought. A run grid is testing how much loss each storm needs, to tie it to something measured before each storm.
What carried over to the whole model
Storm drains and pumped areas, timed flood events, the channel strip, reach-by-reach roughness, hillslope travel and hill soil loss, the recharge setting and the separate city-land seep are now settings any scenario can use, on any map. The terrain lessons (a hydro-flattened lidar needs its creek beds cut in; post-flood works must come out for a replay) apply to every creek in the Bay Area.
How you can help
Photos of high water on Coyote Creek from 2017, 2023 or any storm, with the time they were taken, add checks where no gauge stands. Share a flood photo.
Credits
Flood the Bay is built by Harry Dole, who lives beside Coyote Creek near Hwy 237, with Claude (Anthropic) as programming and research partner. It stands on public data from many agencies.
| Source | What the model uses |
|---|
Photo contributors
Contributors are listed here once their photos are in.
Contact
Questions, corrections, a storm you remember, or an agency interested in the model: send a note.