Save a project's default comparison tolerance
set_comparison_toleranceConfigure the project-wide default tolerance (in metres) for comparing runs with flood observations, applied to future comparisons unless overridden.
Instructions
Save a project's default tolerance for comparing runs with flood observations.
Needs Editor (or above). Every later get_observation_comparison (and the map's
Compare with observations tab) uses it unless a tolerance is passed. Only
save it when the user asks to change the project's default; to show the
figures at another tolerance, pass tolerance to get_observation_comparison.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project ID | |
| tolerance_m | Yes | The project's default tolerance in metres (above 0 and at most 5; presets 0.15, 0.3, 0.4) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||