[data.recharge]#
Top-level recharge configuration.
data.recharge[table] · optional · 17 user keys, 11 dev or expert
Connections found in the code (5)
- Read when
data.typeslists"recharge". - Same name
[flow.sinks_sources.recharge]Diffuse recharge, built when its table says enabled = true. - The code says
data.volume_closure:[data.volume_closure] cannot compute F: the loaded recharge holds no value. Check [data.recharge] and its period.
- The code says
simulation.time:[data.recharge] formula = "..." has no yearly value over ... to ...: .... Widen [simulation.time] to whole years.
- The code says
flow.sinks_sources.recharge.soil:[flow.sinks_sources.recharge.soil] computes the recharge from the precipitation and the ETP, and data.types also loads one from [data.recharge]: the model would receive one and ignore the other. Remove "recharge" from data.types to keep the soil reservoir (and write recharge__delete = true under [data] if a base file declares it), or remove [flow.sinks_sources.recharge.soil] to use the loaded rech
# date_start = "2019-01-01"Start of the data window (ISO date, e.g. '2019-01-01'). example value
- Path
data.recharge.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.recharge.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"
# station = "J301433001"Code of the chronicle this section reads in a station source, the <code> of <variable>_custom_<code>_<start>_<end>_<step>.csv in a folder of chronicles. varies by site example value
- Path
data.recharge.station- More
Unset, it is [site] gauge. A source whose station_ids leaves it out is refused. In a [sites] project a column of the site table can fill it.
- Accepted
- string
- Example
"J301433001"- 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
# formula = "turc"Compute a steady recharge from the yearly weather instead of loading a series: the formula runs on each complete calendar year of the run on the basin mean of [data.precipitation] (and of [data.temperature] for turc), and the run takes the mean over the years as its one rate. experimental example value
- Path
data.recharge.formula- More
Only a run with [flow] flow_regime = "steady" reads it. "turc" gives an effective rainfall, which the run takes whole as recharge, so the drains do the share a RIPE would do. Guttman and Zuckerman and Kessler were fitted on karsts.
- See
- data.precipitation, data.temperature
- Accepted
- string
- Example
"turc"
[data.recharge] # date_start = "2019-01-01" # date_end = "2025-12-31" # station = "J301433001" # formula = "turc"
data.recharge.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.recharge.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.recharge.station station not set “J301433001” Code of the chronicle this section reads in a station source, the <code> of <variable>_custom_<code>_<start>_<end>_<step>.csv in a folder of chronicles. Unset, it is [site] gauge. A source whose station_ids leaves it out is refused. In a [sites] project a column of the site table can fill it. data.recharge.formula formula not set turc Turc (1954) guttman_zuckerman Guttman and Zuckerman (1995) kessler Kessler (1967) “turc” Compute a steady recharge from the yearly weather instead of loading a series: the formula runs on each complete calendar year of the run on the basin mean of [data.precipitation] (and of [data.temperature] for turc), and the run takes the mean over the years as its one rate. Only a run with [flow] flow_regime = “steady” reads it. “turc” gives an effective rainfall, which the run takes whole as recharge, so the drains do the share a RIPE would do. Guttman and Zuckerman and Kessler were fitted on karsts.
[[data.recharge.sources]]#
Configuration for one recharge data source.
Repeat the table: one [[data.recharge.sources]] block per item.
source = ‹string›Data provider: 'custom' for user CSV files, or the id of a source registered for the recharge section, such as 'sim2' for the SIM2 EDR API and 'synthetic' for generated series. required
- Path
data.recharge.sources.source- Accepted
- string
# 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.recharge.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.recharge.sources.force_refresh- Accepted
- true | false
# mask_path = ‹path›SHP/GPKG/GeoJSON/TIF mask to spatially filter stations or clip grid. varies by site
- Path
data.recharge.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.recharge.sources.source_unit- More
If omitted for NetCDF, units are inferred from variable metadata when available.
- Accepted
- string
# col_datetime = "datetime"Name of the column that holds the dates in your chronicle CSV files.
- Path
data.recharge.sources.col_datetime- Accepted
- string
# col_value = "value"Name of the column that holds the values in your chronicle CSV files.
- Path
data.recharge.sources.col_value- Accepted
- string
# url = ‹string›Remote URL of the one file this source reads.
- Path
data.recharge.sources.url- Accepted
- string
# sha256 = ‹string›SHA256 checksum pinning the downloaded file, 64 hexadecimal digits.
- Path
data.recharge.sources.sha256- Accepted
- string
# license = ‹string›Licence of the downloaded file, written to its sidecar.
- Path
data.recharge.sources.license- More
Unset means undetermined.
- Accepted
- string
# path = ‹path›Folder of chronicle CSVs and their location file, one chronicle CSV read with the location file of its folder, or a single .nc/.tif file. varies by site
- Path
data.recharge.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/recharge/<name>of the workspace, andworkspace:.the folder itself
# values = ‹list of number›Recharge values in mm/day. mm/day
- Path
data.recharge.sources.values- More
Single value for constant, list for time-varying.
- Accepted
- list of number
- Unit
- mm/day
# start_date = ‹string›Start date for synthetic series (ISO format, e.g. '2020-01-01').
- Path
data.recharge.sources.start_date- Accepted
- string
# extent = ‹"watershed" | "study_area"›Retrieve on the project extent rather than on this source's own filters. dev
- Path
data.recharge.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.recharge.sources.col_id- Accepted
- string
# col_x = "x"Column name for the X coordinate in location files. dev
- Path
data.recharge.sources.col_x- Accepted
- string
# col_y = "y"Column name for the Y coordinate in location files. dev
- Path
data.recharge.sources.col_y- Accepted
- string
# col_crs = "crs"Column name for the CRS in location files. dev
- Path
data.recharge.sources.col_crs- Accepted
- string
# default_crs = "EPSG:4326"Default CRS used when a location file omits the CRS column. dev
- Path
data.recharge.sources.default_crs- Accepted
- string
# freq = ‹string›Frequency for synthetic series (e.g. 'D', 'ME', 'YE'). dev
- Path
data.recharge.sources.freq- Accepted
- string
# periods = ‹integer›Number of periods for synthetic series. - dev
- Path
data.recharge.sources.periods- Accepted
- integer
- Unit
- -
# amplitude = ‹number›Sinusoidal amplitude in mm/day (superimposed on values). mm/day expert
- Path
data.recharge.sources.amplitude- Accepted
- number
- Unit
- mm/day
# period_days = ‹integer›Period of the sinusoid in days, whatever freq is. day expert
- Path
data.recharge.sources.period_days- More
Each sample holds the mean of the wave over its own period.
- Accepted
- integer
- Unit
- day
# offset = ‹number›Added to the sinusoid, in mm/day. mm/day expert
- Path
data.recharge.sources.offset- More
Requires amplitude and period_days.
- Accepted
- number
- Unit
- mm/day
[[data.recharge.sources]] source = <string> # station_ids = <list of string> # force_refresh = false # mask_path = <path> # source_unit = <string> # col_datetime = "datetime" # col_value = "value" # url = <string> # sha256 = <string> # license = <string> # path = <path> # values = <list of number> # start_date = <string>
data.recharge.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.recharge.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.recharge.sources.force_refresh force_refresh false Download this source again instead of reading the cache. data.recharge.sources.mask_path mask_path not set SHP/GPKG/GeoJSON/TIF mask to spatially filter stations or clip grid. data.recharge.sources.source_unit source_unit not set Optional source unit for custom gridded .nc/.tif inputs. If omitted for NetCDF, units are inferred from variable metadata when available. data.recharge.sources.col_id col_id “id” Column name for the station identifier in location files. data.recharge.sources.col_x col_x “x” Column name for the X coordinate in location files. data.recharge.sources.col_y col_y “y” Column name for the Y coordinate in location files. data.recharge.sources.col_crs col_crs “crs” Column name for the CRS in location files. data.recharge.sources.col_datetime col_datetime “datetime” Name of the column that holds the dates in your chronicle CSV files. data.recharge.sources.col_value col_value “value” Name of the column that holds the values in your chronicle CSV files. data.recharge.sources.default_crs default_crs “EPSG:4326” Default CRS used when a location file omits the CRS column. data.recharge.sources.url url not set Remote URL of the one file this source reads. data.recharge.sources.sha256 sha256 not set SHA256 checksum pinning the downloaded file, 64 hexadecimal digits. data.recharge.sources.license license not set Licence of the downloaded file, written to its sidecar. Unset means undetermined. data.recharge.sources.source source Data provider: ‘custom’ for user CSV files, or the id of a source registered for the recharge section, such as ‘sim2’ for the SIM2 EDR API and ‘synthetic’ for generated series. data.recharge.sources.path path not set Folder of chronicle CSVs and their location file, one chronicle CSV read with the location file of its folder, or a single .nc/.tif file. data.recharge.sources.values values not set mm/day Recharge values in mm/day. Single value for constant, list for time-varying. data.recharge.sources.start_date start_date not set Start date for synthetic series (ISO format, e.g. ‘2020-01-01’). data.recharge.sources.freq freq not set Frequency for synthetic series (e.g. ‘D’, ‘ME’, ‘YE’). data.recharge.sources.periods periods not set - Number of periods for synthetic series. data.recharge.sources.amplitude amplitude not set mm/day Sinusoidal amplitude in mm/day (superimposed on values). data.recharge.sources.period_days period_days not set day Period of the sinusoid in days, whatever freq is. Each sample holds the mean of the wave over its own period. data.recharge.sources.offset offset not set mm/day Added to the sinusoid, in mm/day. Requires amplitude and period_days.