[site]#
The catchment a project models, declared once for every key that needs it.
site[table] · optional · 4 user keys- Start a file:
hmp config template --modules site(download it), thenhmp check file.toml. Minimal file
Connections found in the code (1)
- The code says
sites.bind:...: no bind line names the site; write [sites.bind] "site.name" = "<column>".
name = "nancon"Name of the catchment: letters, digits and underscores, case kept. required example value
- Path
site.name- More
It is the identity of the site inside the workspace, the value of the site column of the index and of every exported table. A real catchment (geographic.catchment.kind from_outlet_coord, from_polyg_shp or dem) is refused without it. The dash is reserved: it separates the site from the recipe in a case id.
- Accepted
- string
- Example
"nancon"
# label = "Le Nançon à Lécousse"Readable name of the catchment, shown in reports, figure footers and tables. example value
- Path
site.label- More
Free text; unset, the name is shown.
- Accepted
- string
- Example
"Le Nançon à Lécousse"
# gauge = "J0014010"Station that measures the catchment, written once for every key that names it. example value
- Path
site.gauge- More
A station source of [data.hydrometry], [data.recharge] or [data.runoff] (custom chronicles or hubeau) with no station_ids reads this station; a station_ids that leaves it out is refused by name. [metrics] station and a point output's observes default to it. Unset, a run that loads exactly one discharge station takes that station as its gauge and writes it in its manifest.
- Accepted
- string
- Example
"J0014010"
# uri = "hubeau:J0014010"Identifier of the catchment in a public registry, written hubeau:<station code> or bdtopage:<code>. example value
- Path
site.uri- More
It is the only key that names the same catchment in two workspaces.
- Accepted
- string
- Example
"hubeau:J0014010"
[site] name = "nancon" # label = "Le Nançon à Lécousse" # gauge = "J0014010" # uri = "hubeau:J0014010"
site.name name “nancon” Name of the catchment: letters, digits and underscores, case kept. It is the identity of the site inside the workspace, the value of the site column of the index and of every exported table. A real catchment (geographic.catchment.kind from_outlet_coord, from_polyg_shp or dem) is refused without it. The dash is reserved: it separates the site from the recipe in a case id. site.label label not set “Le Nançon à Lécousse” Readable name of the catchment, shown in reports, figure footers and tables. Free text; unset, the name is shown. site.gauge gauge not set “J0014010” Station that measures the catchment, written once for every key that names it. A station source of [data.hydrometry], [data.recharge] or [data.runoff] (custom chronicles or hubeau) with no station_ids reads this station; a station_ids that leaves it out is refused by name. [metrics] station and a point output’s observes default to it. Unset, a run that loads exactly one discharge station takes that station as its gauge and writes it in its manifest. site.uri uri not set “hubeau:J0014010” Identifier of the catchment in a public registry, written hubeau:<station code> or bdtopage:<code>. It is the only key that names the same catchment in two workspaces.