[data.hydrometry]#
Top-level hydrometry configuration.
data.hydrometry[table] · optional · 12 user keys, 8 dev or expert
Connections found in the code (2)
- Read when
data.typeslists"hydrometry". - The code says
data.volume_closure:[data.volume_closure] cannot compute F: .... It closes the volume against the one gauge at the outlet: load one station under [data.hydrometry], or write factor = <number> to skip the gauge.
# date_start = "2019-01-01"Start of the data window (ISO date, e.g. '2019-01-01'). example value
- Path
data.hydrometry.date_start- More
Optional: when neither bound is declared, the loader inherits [simulation.time].start_datetime, or [overview].date_start in overview mode. Declare it only to fetch a window WIDER than the simulation, typically a cache shared by several runs. Must be declared together with date_end.
- Accepted
- string
- Example
"2019-01-01"
# date_end = "2025-12-31"End of the data window (ISO date, e.g. '2025-12-31'). example value
- Path
data.hydrometry.date_end- More
Optional: when neither bound is declared, the loader inherits [simulation.time].end_datetime, or [overview].date_end in overview mode. Declare it only to fetch a window WIDER than the simulation, typically a cache shared by several runs. Must be declared together with date_start.
- Accepted
- string
- Example
"2025-12-31"
[data.hydrometry] # date_start = "2019-01-01" # date_end = "2025-12-31"
data.hydrometry.date_start date_start not set “2019-01-01” Start of the data window (ISO date, e.g. ‘2019-01-01’). Optional: when neither bound is declared, the loader inherits [simulation.time].start_datetime, or [overview].date_start in overview mode. Declare it only to fetch a window WIDER than the simulation, typically a cache shared by several runs. Must be declared together with date_end. data.hydrometry.date_end date_end not set “2025-12-31” End of the data window (ISO date, e.g. ‘2025-12-31’). Optional: when neither bound is declared, the loader inherits [simulation.time].end_datetime, or [overview].date_end in overview mode. Declare it only to fetch a window WIDER than the simulation, typically a cache shared by several runs. Must be declared together with date_start.
[[data.hydrometry.sources]]#
Configuration for one hydrometry data source.
Repeat the table: one [[data.hydrometry.sources]] block per item.
# station_ids = ‹list of string›Station identifiers to select, whether stations are read from a custom source or fetched from an API source such as Hub'Eau. varies by site
- Path
data.hydrometry.sources.station_ids- More
For a station source of hydrometry, recharge or runoff, unset means the station of the section (data.<variable>.station, else [site] gauge), and a list that leaves that station out is refused. A file source that writes no path reads the folder of its variable in the workspace, data/<variable>/.
- Accepted
- list of string
- Varies by site
- yes: in a project of many sites, bind it to a column with
sites.bindor set it in a per-site overlay; a literal value is refused
# force_refresh = falseDownload this source again instead of reading the cache.
- Path
data.hydrometry.sources.force_refresh- Accepted
- true | false
# mask_path = ‹path›Optional SHP/GPKG/GeoJSON/TIF mask to spatially filter stations or clip gridded sources. varies by site
- Path
data.hydrometry.sources.mask_path- Accepted
- path
- Varies by site
- yes: in a project of many sites, bind it to a column with
sites.bindor set it in a per-site overlay; a literal value is refused
# source_unit = ‹string›Optional source unit for custom gridded .nc/.tif inputs.
- Path
data.hydrometry.sources.source_unit- More
When omitted for NetCDF, units are inferred from variable metadata.
- Accepted
- string
# col_datetime = "datetime"Name of the column that holds the dates in your chronicle CSV files.
- Path
data.hydrometry.sources.col_datetime- Accepted
- string
# col_value = "value"Name of the column that holds the values in your chronicle CSV files.
- Path
data.hydrometry.sources.col_value- Accepted
- string
# source = "hubeau"Data provider: 'file' for user files, or the id of a source registered for the hydrometry section, such as 'hubeau' for the Hub'Eau API.
- Path
data.hydrometry.sources.source- Accepted
- string
# path = ‹path›Folder of chronicle CSVs and their location file, or one chronicle CSV read with the location file of its folder. varies by site
- Path
data.hydrometry.sources.path- Accepted
- path
- Varies by site
- yes: in a project of many sites, bind it to a column with
sites.bindor set it in a per-site overlay; a literal value is refused - Workspace file
workspace:<name>readsdata/hydrometry/<name>of the workspace, andworkspace:.the folder itself
# product = "QmnJ"Hub'Eau variable code (e.g. 'QmnJ', 'QmM', 'HIXnJ').
- Path
data.hydrometry.sources.product- Accepted
- string
# max_stations = ‹integer›Maximum number of Hub'Eau stations to KEEP. - > 0
- Path
data.hydrometry.sources.max_stations- More
Stations that return no observation in the window do not count against it, so a preview run over a larger territory gets this many stations carrying data, not this many tried.
- Accepted
- integer
- Valid range
- > 0 (refused outside)
- Unit
- -
# fallback_search_radius_km = ‹number›Maximum search radius (km) used to find a fallback station when no observation is available inside the requested bbox. km > 0 dev
- Path
data.hydrometry.sources.fallback_search_radius_km- Accepted
- number
- Valid range
- > 0 (refused outside)
- Unit
- km
# extent = ‹"watershed" | "study_area"›Retrieve on the project extent rather than on this source's own filters. dev
- Path
data.hydrometry.sources.extent- More
Only whether it is SET matters to the loaders; the two literals are not told apart, and a standard project run clips on the delineated watershed either way, through the mask the loader fills in. Declared at DEV level for that reason: a project run neither needs it nor changes with it.
- Values
"watershed"no explanation"study_area"no explanation
- Accepted
- "watershed" | "study_area"
# col_id = "id"Column name for the station identifier in location files. dev
- Path
data.hydrometry.sources.col_id- Accepted
- string
# col_x = "x"Column name for the X coordinate in location files. dev
- Path
data.hydrometry.sources.col_x- Accepted
- string
# col_y = "y"Column name for the Y coordinate in location files. dev
- Path
data.hydrometry.sources.col_y- Accepted
- string
# col_crs = "crs"Column name for the CRS in location files. dev
- Path
data.hydrometry.sources.col_crs- Accepted
- string
# default_crs = "EPSG:4326"Default CRS used when a location file omits the CRS column. dev
- Path
data.hydrometry.sources.default_crs- Accepted
- string
# require_observations = trueDrop stations whose declared service period does not overlap the requested window, before downloading them. dev
- Path
data.hydrometry.sources.require_observations- More
It is a metadata filter: a station that overlaps but returns nothing is dropped after its download instead, and the run says which ones.
- Accepted
- true | false
[[data.hydrometry.sources]] # station_ids = <list of string> # force_refresh = false # mask_path = <path> # source_unit = <string> # col_datetime = "datetime" # col_value = "value" # source = "hubeau" # path = <path> # product = "QmnJ" # max_stations = <integer>
data.hydrometry.sources.fallback_search_radius_km fallback_search_radius_km not set km Maximum search radius (km) used to find a fallback station when no observation is available inside the requested bbox. data.hydrometry.sources.station_ids station_ids not set Station identifiers to select, whether stations are read from a custom source or fetched from an API source such as Hub’Eau. For a station source of hydrometry, recharge or runoff, unset means the station of the section (data.<variable>.station, else [site] gauge), and a list that leaves that station out is refused. A file source that writes no path reads the folder of its variable in the workspace, data/<variable>/. data.hydrometry.sources.extent extent not set watershed study_area Retrieve on the project extent rather than on this source’s own filters. Only whether it is SET matters to the loaders; the two literals are not told apart, and a standard project run clips on the delineated watershed either way, through the mask the loader fills in. Declared at DEV level for that reason: a project run neither needs it nor changes with it. data.hydrometry.sources.force_refresh force_refresh false Download this source again instead of reading the cache. data.hydrometry.sources.mask_path mask_path not set Optional SHP/GPKG/GeoJSON/TIF mask to spatially filter stations or clip gridded sources. data.hydrometry.sources.source_unit source_unit not set Optional source unit for custom gridded .nc/.tif inputs. When omitted for NetCDF, units are inferred from variable metadata. data.hydrometry.sources.col_id col_id “id” Column name for the station identifier in location files. data.hydrometry.sources.col_x col_x “x” Column name for the X coordinate in location files. data.hydrometry.sources.col_y col_y “y” Column name for the Y coordinate in location files. data.hydrometry.sources.col_crs col_crs “crs” Column name for the CRS in location files. data.hydrometry.sources.col_datetime col_datetime “datetime” Name of the column that holds the dates in your chronicle CSV files. data.hydrometry.sources.col_value col_value “value” Name of the column that holds the values in your chronicle CSV files. data.hydrometry.sources.default_crs default_crs “EPSG:4326” Default CRS used when a location file omits the CRS column. data.hydrometry.sources.source source “hubeau” Data provider: ‘file’ for user files, or the id of a source registered for the hydrometry section, such as ‘hubeau’ for the Hub’Eau API. data.hydrometry.sources.path path not set Folder of chronicle CSVs and their location file, or one chronicle CSV read with the location file of its folder. data.hydrometry.sources.product product “QmnJ” Hub’Eau variable code (e.g. ‘QmnJ’, ‘QmM’, ‘HIXnJ’). data.hydrometry.sources.require_observations require_observations true Drop stations whose declared service period does not overlap the requested window, before downloading them. It is a metadata filter: a station that overlaps but returns nothing is dropped after its download instead, and the run says which ones. data.hydrometry.sources.max_stations max_stations not set - Maximum number of Hub’Eau stations to KEEP. Stations that return no observation in the window do not count against it, so a preview run over a larger territory gets this many stations carrying data, not this many tried.