Source: the Research Library catalog, ResearchLibrary/markdown/research-table-catalog.md (read 2026-11-17, 97 tables and views in research). That catalog is generated by scripts/table-catalog.sh from scripts/table-catalog-notes.json; any table added for the simulator should get an entry there so Ask a Question knows about it.
Conventions to keep in mind:
Daily POR tables are date + value (one series per table, named <station>_<parameter>_por).
Day-of-water-year averages are month, day, x (1–365) and y, with no date column. y is int in some tables and double in others.
hourly_* tables without _por hold the current day only.
Elevations are feet, flows cfs, SWE inches, temperatures °F (sonde tables use °C).
Bighorn Lake / Yellowtail Dam (core of the mass balance)
Need
Table(s)
Stage-storage
bhr_capacity (acre-feet by elevation), bhr_afterbay_capacity
bhr_in_por, bhr_in_por_avg, bhr_in30avg (30-yr average, current + next WY), hourly_in
Gains
bhr_gain_por, bhr_gain_por_avg. Reclamation's gain also takes out the Heart Mountain Canal draw from Buffalo Bill, so inflow − gain runs 400–900 cfs above Boysen + Buffalo Bill river releases May–Oct
Boysen and Buffalo Bill releases
boyr_qd_por (Boysen), bbr_qriv_por (Buffalo Bill river release)
Upstream capacity tables for Boysen, Buffalo Bill and Bull Lake. Doug will supply them.
Release history for the upstream reservoirs: boyr_qd_por (Boysen mean daily release) and bbr_qriv_por (Buffalo Bill mean daily river release), both from 1967-10-01 (Doug, 2026-11-28). The simulator's Boysen + Buffalo Bill release now comes from these.
Kane and Lovell flow history. In research as usgs_kane_por (06279500, from 1928) and usgs_lovell_por (06285100, from 1966), daily date + value, current to the latest day (checked 2026-11-28). These are the main inflow gauges to Bighorn Lake, not a stand-in for the Boysen and Buffalo Bill releases (Doug, 2026-11-28). Not used by the simulator yet.
Yellowstone flows below the confluence for Corps mode: usgs_tullock_por, usgs_forsyth_por, usgs_miles_city_por, usgs_glendive_por (from 2002 only) and usgs_sidney_por, with NWS flows and travel times in data/yellowstone-gauges.json. Used by Corps mode (design doc section 12).
Historical Bighorn Lake forecasts 1967–2026 in data/forecasts-yellowtail.json (from ops/extract-aop-forecasts.py, the Reclamation AOP reports and the 2010 workbook). Could become a bhr_forecast table later. WY2026 is from Doug's monthly plans.
Weather and runoff forecasts: entered by the user in the app, or downloaded via API. No table needed until the API sources are chosen.
Operating criteria (flood-control space by date, min / max release, ramp rates). Doug will provide them.
Ecological thresholds: mostly tied to the operating criteria, so define them alongside those.
Scenario and run storage: not needed. Doug (2026-11-24): nothing is saved; runs live in the browser and are printed.
Catalog note for bhr_vt_por: the Research Library catalog still says VT is unconfirmed. Update scripts/table-catalog-notes.json to "Total daily energy generation (MWh)" and rebuild.
Proposed new tables (draft, prefix sim_ for app-owned tables)
Table
Holds
boyr_capacity, bbr_capacity
Stage-storage for upstream reservoirs, same shape as bhr_capacity
sim_operating_criteria
Rule curves and limits by water-year day: flood-control elevation, min / max release, ramp rates
sim_bio_thresholds
Named ecological thresholds (parameter, value, unit, season, source)
Dropped on 2026-11-24 (scenarios are not saved): sim_scenario, sim_scenario_input, sim_run_daily.