Skip to content

test(streamflow): pin GEOGLOWS_RETRO citation/licence and NWIS pitfall pointer (DEMO-1 finding, fix already in 0.2.10) - #23

Merged
galib9690 merged 1 commit into
mainfrom
fix/geoglows-citation-licence
Nov 13, 2026
Merged

galib9690 merged 1 commit into
mainfrom
fix/geoglows-citation-licence

Conversation

@galib9690

Copy link
Copy Markdown
Member

Finding already fixed on main

The review asked for the GEOGLOWS_RETRO citation ("Ashby et al. (2023)") and licence line ("No account, no token, no licence acceptance", no attribution) to be corrected, and the dangling GRDC_STREAMFLOW pointer removed. origin/main already has all three (#20, released in 0.2.10): Hales et al., J. Flood Risk Manag., doi:10.1111/jfr3.12859; CC BY 4.0 with attribution required; the NWIS pitfall names GRDC-Caravan. The findings file was written against a stale local checkout. I made no registry edit.

What this PR adds

  • tests/test_streamflow_citation_licence.py (4 offline tests) so the text cannot regress; all 4 fail on the pre-docs: correct GEOGLOWS_RETRO citation/licence; fix dangling GRDC_STREAMFLOW pointer #20 registry (checked against e94c10e^). One walks every product's common_pitfalls and fails if a *_STREAMFLOW / *_RETRO / *_FLOOD token does not resolve to a registered product.
  • sources/direct_api.py docstring no longer lists "GRDC monthly streamflow (Phase 4)" as if built.
  • CHANGELOG Unreleased entry.
  • scripts/gen_product_tables.py --check: OK (57 products, 19 variables); generated tables carry no citation/licence text, so nothing to regenerate.

Full offline suite (pytest tests/ -m "not live"): 1008 passed, 56 deselected.

🤖 Generated with Claude Code

…tfall pointer; fix direct_api docstring

The citation/licence/pointer fixes shipped in 0.2.10 (#20); this adds the regression tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@galib9690
galib9690 merged commit c36767f into main Nov 13, 2026
10 checks passed
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.

2 participants