@@ -55,29 +55,6 @@ def check_bounds(
5555- `units` (Iterable[int]): Optional. List of unit IDs to which the parameter change should be constrained.
5656- `conditions` (dict[str, list[str]]): Optional. Conditions to apply when changing the parameter.
5757 Supported keys include `'hsg'`, `'texture'`, `'plant'`, and `'landuse'`, each mapped to a list of allowed values.
58-
59- Example:
60- ```python
61- parameters = [
62- {
63- 'name': 'cn2',
64- 'change_type': 'pctchg',
65- 'value': 50,
66- },
67- {
68- 'name': 'perco',
69- 'change_type': 'absval',
70- 'value': 0.5,
71- 'conditions': {'hsg': ['A']}
72- },
73- {
74- 'name': 'bf_max',
75- 'change_type': 'absval',
76- 'value': 0.3,
77- 'units': range(1, 194)
78- }
79- ]
80- ```
8158'''
8259
8360BoundType : typing .TypeAlias = list [dict [str , typing .Any ]]
@@ -92,30 +69,4 @@ def check_bounds(
9269- `units` (Iterable[int]): Optional. List of unit IDs to which the parameter change should be constrained.
9370- `conditions` (dict[str, list[str]]): Optional. Conditions to apply when changing the parameter.
9471 Supported keys include `'hsg'`, `'texture'`, `'plant'`, and `'landuse'`, each mapped to a list of allowed values.
95-
96- Example:
97- ```python
98- parameters = [
99- {
100- 'name': 'cn2',
101- 'change_type': 'pctchg',
102- 'lower_bound': 25,
103- 'upper_bound': 75,
104- },
105- {
106- 'name': 'perco',
107- 'change_type': 'absval',
108- 'lower_bound': 0,
109- 'upper_bound': 1,
110- 'conditions': {'hsg': ['A']}
111- },
112- {
113- 'name': 'bf_max',
114- 'change_type': 'absval',
115- 'lower_bound': 0.1,
116- 'upper_bound': 2.0,
117- 'units': range(1, 194)
118- }
119- ]
120- ```
12172'''
0 commit comments