AGENT SKILL

hydrological-modeling

Catchment hydrology modeling — water balance, rainfall-runoff models, calibration, and flood estimation.

License 许可
MIT
所属仓库
TanNhatCMS/jarvis
最近更新
2026-11-07
Stars
★ 0
Forks
1

01 前言 Front Matter

name
hydrological-modeling
category
scientific
description
Catchment hydrology modeling — water balance, rainfall-runoff models, calibration, and flood estimation.

03 SKILL.md 正文

Overview

Hydrological models turn rainfall into river flow, enabling flood forecasting, water-resources planning, and climate-impact assessment. This skill covers the water-balance foundation, choosing model complexity (lumped vs distributed), calibration and validation discipline, and flood- frequency estimation — the practices that separate a useful model from a curve-fitting exercise.

When to use

  • Building a rainfall-runoff model for a gauged or ungauged catchment
  • Forecasting floods or designing flood defenses (design hydrographs)
  • Assessing water availability under climate change or land-use change
  • Calibrating a model without overfitting to one wet period
  • Reviewing a hydrological study: checking data, calibration, and uncertainty

Core concepts

  • Water balance: P = Q + ET + ΔS — precipitation equals runoff plus evapotranspiration plus storage change; check closure before modeling anything.

  • Runoff generation: infiltration-excess (Hortonian) vs saturation-excess (Dunne) mechanisms — the dominant process depends on soils, climate, and scale; the model structure should reflect it.

  • Model complexity ladder: empirical (rational method, SCS curve number) → conceptual lumped (HBV, GR4J, SAC-SMA) → distributed physically-based (SWAT, VIC, ParFlow). More physics ≠ better predictions without data to constrain it.

  • Equifinality: many parameter sets fit the calibration period equally well (Beven's concept) — the "best" parameters are an illusion; ensembles of behavioral sets are honest.

  • NSE and friends: Nash–Sutcliffe efficiency, KGE (Kling–Gupta, better-behaved), bias, and flow-duration-curve matching — evaluate across metrics, because NSE rewards fitting peaks and ignores low flows.

  • Ungauged basins: regionalization (transfer parameters from similar gauged catchments) — the PUB (Predictions in Ungauged Basins) problem; expect wider uncertainty and say so.

  • Baseflow separation: the slow groundwater component vs quick stormflow — digital filters or conductivity-based separation; baseflow index characterizes catchment storage behavior independent of any model.

  • Snow as storage: degree-day vs energy-balance melt models — in snow-dominated catchments, the snow module (not the runoff module) usually controls forecast skill; get precipitation phase and melt timing right first.

  • Human interventions: reservoirs, abstractions, irrigation return flows, urbanization — "natural" models applied to managed catchments fail; represent operations explicitly or model the managed system.

Practical workflow

1. Prepare forcing and observations

  1. Assemble precipitation (gauges, radar, satellite — bias-correct gridded products against gauges), temperature (for ET/snow), and discharge with rating-curve documentation.
  2. Check data quality: double-mass curves for gauge consistency, rating-curve extrapolation flags for floods (the peaks you care about are the least measured).
  3. Delineate the catchment from a DEM; verify the area against published values — a wrong area corrupts every specific-discharge number.

2. Choose and set up the model

  1. Start simple (GR4J/HBV): 4–10 parameters, fast to calibrate, often competitive with complex models on discharge alone.
  2. Match structure to purpose: flood peaks need good routing and timestep; water resources need credible ET and groundwater; water quality needs the distributed machinery.
  3. Set plausible parameter ranges from the literature and catchment descriptors — unconstrained calibration finds absurd optima.

3. Calibrate and validate honestly

  1. Split-sample: calibrate on one period, validate on another with different hydroclimatic character (wet vs dry) — differential split-sample testing for climate-change applications.
  2. Use multi-objective evaluation: NSE/KGE plus bias, plus signatures (runoff ratio, baseflow index, flow-duration curve) — a model can hit NSE=0.8 with the wrong internal processes.
  3. Keep an ensemble of behavioral parameter sets (GLUE-style) rather than a single optimum; propagate to prediction intervals.
  4. Validate against independent data: internal states (soil moisture, snow, groundwater levels) where available — right answers for the right reasons.

4. Flood estimation

  1. For design floods: fit flood-frequency distributions (GEV/LP3) to annual maxima with at least 20–30 years of data; report confidence intervals.
  2. For ungauged sites: regional flood-frequency analysis (index-flood method) pooling similar catchments.
  3. Never quote a 100-year flood from a 12-year record without enormous, explicit uncertainty.

5. Model an ungauged catchment (PUB approach)

  1. Assemble catchment descriptors: area, slope, soils, geology, land cover, climate indices — the basis for regionalization.
  2. Transfer parameters from donor catchments by spatial proximity or physical similarity (regression of parameters on descriptors); use ensembles of donors, not one.
  3. Validate against any available data — even short records, spot measurements, or regionalized flow statistics — and widen uncertainty honestly; PUB predictions are screening-level.

6. Quick-reference checklist

  • [ ] Water balance checked (P = Q + ET + ΔS) before modeling
  • [ ] Catchment area verified against published values
  • [ ] Rating-curve high-flow uncertainty acknowledged
  • [ ] Calibration AND validation on hydroclimatically different periods
  • [ ] Multiple metrics used (KGE, bias, signatures) — not NSE alone
  • [ ] Parameter ensemble kept (equifinality), not a single optimum
  • [ ] Internal states validated where data exist (soil moisture, snow, groundwater)
  • [ ] Design floods reported with confidence intervals

Common pitfalls

  • Calibrating on the only wet decade: parameters tuned to wet conditions fail in droughts — test across hydroclimatic contrasts.
  • NSE tunnel vision: great peaks, terrible baseflow and water balance — use KGE and signature metrics alongside.
  • Ignoring the rating curve: discharge "observations" at high flow are extrapolations of a curve fit at low flow — the calibration target is itself uncertain.
  • Overparameterized distributed models: 200 parameters on one discharge series is fitting noise — constrain with multiple data types or simplify.
  • Stationarity assumption: land-use change and climate trends break calibrated relationships — re-validate periodically.
  • Single "best" parameter set: equifinality means the optimum is arbitrary — ensembles and prediction intervals are the honest product.
  • Calibrating to bad discharge data: rating-curve extrapolation errors at high flows mean you're fitting the model to the rating curve's fantasy — inspect the rating and its high-flow uncertainty first.
  • Ignoring water management: calibrating a natural-flow model on regulated flows bakes operations into "physical" parameters — separate the human signal before modeling the natural one.

04 同仓库更多 Skills

TanNhatCMS
TanNhatCMS/jarvis

web-scrape

Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open/fetch fails on JS-heavy pages, or when you need clean markdown/structured extraction from a site. Requires FIRECRAWL_API_KEY.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

design-taste-frontend

tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML/CSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, "AI-made", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

test-driven-development

Use when implementing any feature or bugfix, before writing implementation code

★ 0
TanNhatCMS
TanNhatCMS/jarvis

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

★ 0
TanNhatCMS
TanNhatCMS/jarvis

requesting-code-review

Use when completing tasks, implementing major features, or before merging to verify work meets requirements

★ 0
TanNhatCMS
TanNhatCMS/jarvis

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).

★ 0