[data.precipitation]#
Top-level precipitation configuration.
data.precipitation[table] · optional · 14 user keys, 6 dev or expert
Connections found in the code (2)
- Read when
data.typeslists"precipitation". - The code says
flow.sinks_sources.recharge.soil:[flow.sinks_sources.recharge.soil] fills the soil with daily precipitation, and no [data.precipitation] section says where to read it: add a [[data.precipitation.sources]] block, for example source = "sim2" with extent = "watershed".
# date_start = "2019-01-01"Start of the data window (ISO date, e.g. '2019-01-01'). example value
- Path
data.precipitation.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.precipitation.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.precipitation] # date_start = "2019-01-01" # date_end = "2025-12-31"
data.precipitation.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.precipitation.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.precipitation.sources]]#
Configuration for one precipitation data source.
Repeat the table: one [[data.precipitation.sources]] block per item.
Connections found in the code (1)
- The code says
flow.sinks_sources.recharge.soil:[flow.sinks_sources.recharge.soil] fills the soil with daily precipitation, and no [data.precipitation] section says where to read it: add a [[data.precipitation.sources]] block, for example source = "sim2" with extent = "watershed".
source = ‹string›Data provider: 'custom' for user CSV files, or the id of a source registered for the precipitation section, such as 'sim2' for the SIM2 EDR API and 'explore2' for a local DRIAS Explore2 NetCDF (no network). required
- Path
data.precipitation.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.precipitation.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.precipitation.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.precipitation.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.precipitation.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.precipitation.sources.col_datetime- Accepted
- string
# col_value = "value"Name of the column that holds the values in your chronicle CSV files.
- Path
data.precipitation.sources.col_value- Accepted
- string
# url = ‹string›Remote URL of the one file this source reads.
- Path
data.precipitation.sources.url- Accepted
- string
# sha256 = ‹string›SHA256 checksum pinning the downloaded file, 64 hexadecimal digits.
- Path
data.precipitation.sources.sha256- Accepted
- string
# license = ‹string›Licence of the downloaded file, written to its sidecar.
- Path
data.precipitation.sources.license- More
Unset means undetermined.
- Accepted
- string
# components = ["total"]Precipitation components: 'liquid' (rain), 'solid' (snow), 'total' (sum of both). at least 1 item
- Path
data.precipitation.sources.components- Accepted
- list of "liquid" | "solid" | "total"
- Valid range
- at least 1 item (refused outside)
# 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.precipitation.sources.path- More
For source = 'explore2', the local DRIAS Explore2 NetCDF to read.
- 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/precipitation/<name>of the workspace, andworkspace:.the folder itself
# extent = ‹"watershed" | "study_area"›Retrieve on the project extent rather than on this source's own filters. dev
- Path
data.precipitation.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.precipitation.sources.col_id- Accepted
- string
# col_x = "x"Column name for the X coordinate in location files. dev
- Path
data.precipitation.sources.col_x- Accepted
- string
# col_y = "y"Column name for the Y coordinate in location files. dev
- Path
data.precipitation.sources.col_y- Accepted
- string
# col_crs = "crs"Column name for the CRS in location files. dev
- Path
data.precipitation.sources.col_crs- Accepted
- string
# default_crs = "EPSG:4326"Default CRS used when a location file omits the CRS column. dev
- Path
data.precipitation.sources.default_crs- Accepted
- string
[[data.precipitation.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> # components = ["total"] # path = <path>
data.precipitation.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.precipitation.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.precipitation.sources.force_refresh force_refresh false Download this source again instead of reading the cache. data.precipitation.sources.mask_path mask_path not set Optional SHP/GPKG/GeoJSON/TIF mask to spatially filter stations or clip gridded sources. data.precipitation.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.precipitation.sources.col_id col_id “id” Column name for the station identifier in location files. data.precipitation.sources.col_x col_x “x” Column name for the X coordinate in location files. data.precipitation.sources.col_y col_y “y” Column name for the Y coordinate in location files. data.precipitation.sources.col_crs col_crs “crs” Column name for the CRS in location files. data.precipitation.sources.col_datetime col_datetime “datetime” Name of the column that holds the dates in your chronicle CSV files. data.precipitation.sources.col_value col_value “value” Name of the column that holds the values in your chronicle CSV files. data.precipitation.sources.default_crs default_crs “EPSG:4326” Default CRS used when a location file omits the CRS column. data.precipitation.sources.url url not set Remote URL of the one file this source reads. data.precipitation.sources.sha256 sha256 not set SHA256 checksum pinning the downloaded file, 64 hexadecimal digits. data.precipitation.sources.license license not set Licence of the downloaded file, written to its sidecar. Unset means undetermined. data.precipitation.sources.source source Data provider: ‘custom’ for user CSV files, or the id of a source registered for the precipitation section, such as ‘sim2’ for the SIM2 EDR API and ‘explore2’ for a local DRIAS Explore2 NetCDF (no network). data.precipitation.sources.components components [“total”] Precipitation components: ‘liquid’ (rain), ‘solid’ (snow), ‘total’ (sum of both). data.precipitation.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. For source = ‘explore2’, the local DRIAS Explore2 NetCDF to read.