Exclude or include a flood observation in a run's comparison
set_observation_exclusionExclude a flood observation from one run's comparison—or include it again—by logging the user and required reason so the change survives recomputes and updates figures immediately.
Instructions
Exclude a flood observation from ONE run's comparison with observations, or include it again.
Needs Editor (or above) on the project. The exclusion is logged with the user
and reason (nothing is overwritten) and keyed on (run, layer, fid), so it
survives a recompute. The figures change at once: headline_after is the
run's headline with the change applied. To exclude, the user must give the
reason: if they have not, ASK them; do not make one up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fid | Yes | The observation's fid | |
| reason | No | WHY the engineer excludes it, in their words (required to exclude; never invent one — ask the user). Optional when including it again | |
| run_id | Yes | The run ID (a historic run) | |
| excluded | No | true to exclude (default), false to include it again | |
| layer_id | Yes | The flood observation layer id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||