How kratzert/rivretrieve-python works
RivRetrieve is a Python library that unifies access to streamflow observations from country-specific providers. The principal workflow is to choose a provider fetcher, request a gauge, variable, and date range, and receive standardized tabular data; the README demonstrates this with the UK Environment Agency fetcher. Country modules implement distinct provider-specific retrieval and parsing, supported by a shared fetcher interface and common constants/utilities. The graph retains the core country modules listed in the source index. Some fetchers and their provider connections were not excerpted, so those relationships are not inferred.
Main entry points: utils.py Shared utilities · base.py Fetcher interface · constants.py Data conventions · uk_ea.py UK EA fetcher
Components 23
Shared interface
- Fetcher interface
rivretrieve/base.py - Shared utilities
rivretrieve/utils.py - Data conventions
rivretrieve/constants.py
European fetchers
- UK EA fetcher
rivretrieve/uk_ea.py - UK NRFA fetcher
rivretrieve/uk_nrfa.py - France fetcher
rivretrieve/france.py - Berlin fetcher
rivretrieve/germany_berlin.py - Czech fetcher
rivretrieve/czech.py - Poland fetcher
rivretrieve/poland.py - Portugal fetcher
rivretrieve/portugal.py - Spain fetcher
rivretrieve/spain.py - Slovenia fetcher
rivretrieve/slovenia.py - Norway fetcher
rivretrieve/norway.py - Lithuania fetcher
rivretrieve/lithuania.py
Asia-Pacific fetchers
- Japan fetcher
rivretrieve/japan.py - Australia fetcher
rivretrieve/australia.py
Americas and Africa
- Brazil fetcher
rivretrieve/brazil.py - Canada fetcher
rivretrieve/canada.py - Chile fetcher
rivretrieve/chile.py - South Africa fetcher
rivretrieve/southafrica.py - USA fetcher
rivretrieve/usa.py
Other components
- Library user
- Standardized data
Connections 48
- Library user → UK EA fetcher: requests data
README.md - UK EA fetcher → Standardized data: returns data
README.md - Australia fetcher → Fetcher interface: imports interface
rivretrieve/australia.py - Brazil fetcher → Fetcher interface: imports interface
rivretrieve/brazil.py - Canada fetcher → Fetcher interface: imports interface
rivretrieve/canada.py - Chile fetcher → Fetcher interface: imports interface
rivretrieve/chile.py - Czech fetcher → Fetcher interface: imports interface
rivretrieve/czech.py - France fetcher → Fetcher interface: imports interface
rivretrieve/france.py - Berlin fetcher → Fetcher interface: imports interface
rivretrieve/germany_berlin.py - Japan fetcher → Fetcher interface: imports interface
rivretrieve/japan.py - Lithuania fetcher → Fetcher interface: imports interface
rivretrieve/lithuania.py - Norway fetcher → Fetcher interface: imports interface
rivretrieve/norway.py - Poland fetcher → Fetcher interface: imports interface
rivretrieve/poland.py - Portugal fetcher → Fetcher interface: imports interface
rivretrieve/portugal.py - Slovenia fetcher → Fetcher interface: imports interface
rivretrieve/slovenia.py - South Africa fetcher → Fetcher interface: imports interface
rivretrieve/southafrica.py - Spain fetcher → Fetcher interface: imports interface
rivretrieve/spain.py - UK EA fetcher → Fetcher interface: imports interface
rivretrieve/uk_ea.py - UK NRFA fetcher → Fetcher interface: imports interface
rivretrieve/uk_nrfa.py - USA fetcher → Fetcher interface: imports interface
rivretrieve/usa.py - Australia fetcher → Shared utilities: uses utilities
rivretrieve/australia.py - Brazil fetcher → Shared utilities: uses utilities
rivretrieve/brazil.py - Canada fetcher → Shared utilities: uses utilities
rivretrieve/canada.py - Chile fetcher → Shared utilities: uses utilities
rivretrieve/chile.py - Czech fetcher → Shared utilities: uses utilities
rivretrieve/czech.py - France fetcher → Shared utilities: uses utilities
rivretrieve/france.py - Berlin fetcher → Shared utilities: uses utilities
rivretrieve/germany_berlin.py - Japan fetcher → Shared utilities: uses utilities
rivretrieve/japan.py - Lithuania fetcher → Shared utilities: uses utilities
rivretrieve/lithuania.py - Norway fetcher → Shared utilities: uses utilities
rivretrieve/norway.py - Poland fetcher → Shared utilities: uses utilities
rivretrieve/poland.py - Portugal fetcher → Shared utilities: uses utilities
rivretrieve/portugal.py - Slovenia fetcher → Shared utilities: uses utilities
rivretrieve/slovenia.py - South Africa fetcher → Shared utilities: uses utilities
rivretrieve/southafrica.py - Spain fetcher → Shared utilities: uses utilities
rivretrieve/spain.py - UK EA fetcher → Shared utilities: uses utilities
rivretrieve/uk_ea.py - UK NRFA fetcher → Shared utilities: uses utilities
rivretrieve/uk_nrfa.py - USA fetcher → Shared utilities: uses utilities
rivretrieve/usa.py - Shared utilities → Data conventions: uses conventions
rivretrieve/utils.py - Brazil fetcher → Data conventions: uses conventions
rivretrieve/brazil.py - Canada fetcher → Data conventions: uses conventions
rivretrieve/canada.py - Czech fetcher → Data conventions: uses conventions
rivretrieve/czech.py - Japan fetcher → Data conventions: uses conventions
rivretrieve/japan.py - Norway fetcher → Data conventions: uses conventions
rivretrieve/norway.py - Poland fetcher → Data conventions: uses conventions
rivretrieve/poland.py - Portugal fetcher → Data conventions: uses conventions
rivretrieve/portugal.py - South Africa fetcher → Data conventions: uses conventions
rivretrieve/southafrica.py - Spain fetcher → Data conventions: uses conventions
rivretrieve/spain.py