Skip to content

feat: QHH baseline Step1-3 regression pass#27

Merged
DankerMu merged 1 commit into
mainfrom
feature/issue-21-qhh-baseline-regression
Feb 9, 2026
Merged

feat: QHH baseline Step1-3 regression pass#27
DankerMu merged 1 commit into
mainfrom
feature/issue-21-qhh-baseline-regression

Conversation

@DankerMu
Copy link
Copy Markdown
Owner

@DankerMu DankerMu commented Feb 9, 2026

Summary

Closes #21. QHH baseline end-to-end regression verification (Step1-Step3) with the sf/terra spatial stack.

Changes

Verification Results

Metric Value
Mesh cells 4812
River segments 1633
Watershed area 29613.7 km²
Forcing stations 386
Time range 2017-2018

Known Differences

All differences are cosmetic or negligible:

  1. 4 empty geometries filtered from stream shapefile (sf preserves them, sp cannot)
  2. Length computation uses sp::SpatialLinesLengths instead of rgeos::gLength (< 1e-10 difference)
  3. Spatial intersection via sf::st_intersects instead of rgeos::gIntersects (same GEOS backend)

AutoSHUD PRs

- Update AutoSHUD submodule to dbf7b6c (PRs #6-#10: complete
  sf/terra migration, rgdal/rgeos removal)
- Add docs/regression-qhh.md with run environment, artifacts,
  summary statistics, and known differences documentation

QHH baseline verified: 4812 cells, 1633 rivers, 386 forcing
stations, 29614 km² watershed area.

Closes #21

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@DankerMu
Copy link
Copy Markdown
Owner Author

DankerMu commented Feb 9, 2026

  • CI: OpenSpec Validate + Python Smoke passed.
  • AutoSHUD submodule: updated to dbf7b6c and it matches DankerMu/AutoSHUD master HEAD.
  • docs/regression-qhh.md: includes environment, run commands, key artifacts, summary statistics, and known differences.
  • Diff contains only the submodule gitlink + docs; no secrets or large data.
  • PR commit references issue [SHUD-NC] 跑通 QHH baseline(sf/terra 版本)并记录回归对比/容差 #21.

@DankerMu DankerMu merged commit 3b2fbe8 into main Feb 9, 2026
5 checks passed
@DankerMu DankerMu deleted the feature/issue-21-qhh-baseline-regression branch February 9, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SHUD-NC] 跑通 QHH baseline(sf/terra 版本)并记录回归对比/容差

1 participant