wolfhece 2.2.38__py3-none-any.whl → 2.2.39__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wolfhece/Coordinates_operations.py +5 -0
- wolfhece/GraphNotebook.py +72 -1
- wolfhece/GraphProfile.py +1 -1
- wolfhece/MulticriteriAnalysis.py +1579 -0
- wolfhece/PandasGrid.py +62 -1
- wolfhece/PyCrosssections.py +194 -43
- wolfhece/PyDraw.py +891 -73
- wolfhece/PyGui.py +913 -72
- wolfhece/PyGuiHydrology.py +528 -74
- wolfhece/PyPalette.py +26 -4
- wolfhece/PyParams.py +33 -0
- wolfhece/PyPictures.py +2 -2
- wolfhece/PyVertex.py +25 -0
- wolfhece/PyVertexvectors.py +94 -28
- wolfhece/PyWMS.py +52 -36
- wolfhece/acceptability/acceptability.py +15 -8
- wolfhece/acceptability/acceptability_gui.py +507 -360
- wolfhece/acceptability/func.py +80 -183
- wolfhece/apps/version.py +1 -1
- wolfhece/compare_series.py +480 -0
- wolfhece/drawing_obj.py +12 -1
- wolfhece/hydrology/Catchment.py +228 -162
- wolfhece/hydrology/Internal_variables.py +43 -2
- wolfhece/hydrology/Models_characteristics.py +69 -67
- wolfhece/hydrology/Optimisation.py +893 -182
- wolfhece/hydrology/PyWatershed.py +267 -165
- wolfhece/hydrology/SubBasin.py +185 -140
- wolfhece/hydrology/cst_exchanges.py +76 -1
- wolfhece/hydrology/forcedexchanges.py +413 -49
- wolfhece/hydrology/read.py +65 -5
- wolfhece/hydrometry/kiwis.py +14 -7
- wolfhece/insyde_be/INBE_func.py +746 -0
- wolfhece/insyde_be/INBE_gui.py +1776 -0
- wolfhece/insyde_be/__init__.py +3 -0
- wolfhece/interpolating_raster.py +366 -0
- wolfhece/irm_alaro.py +1457 -0
- wolfhece/irm_qdf.py +889 -57
- wolfhece/lifewatch.py +6 -3
- wolfhece/picc.py +124 -8
- wolfhece/pyLandUseFlanders.py +146 -0
- wolfhece/pydownloader.py +2 -1
- wolfhece/pywalous.py +225 -31
- wolfhece/toolshydrology_dll.py +149 -0
- wolfhece/wolf_array.py +63 -25
- {wolfhece-2.2.38.dist-info → wolfhece-2.2.39.dist-info}/METADATA +3 -1
- {wolfhece-2.2.38.dist-info → wolfhece-2.2.39.dist-info}/RECORD +49 -40
- {wolfhece-2.2.38.dist-info → wolfhece-2.2.39.dist-info}/WHEEL +0 -0
- {wolfhece-2.2.38.dist-info → wolfhece-2.2.39.dist-info}/entry_points.txt +0 -0
- {wolfhece-2.2.38.dist-info → wolfhece-2.2.39.dist-info}/top_level.txt +0 -0
@@ -8,23 +8,23 @@ VHM_VAR = iv.Group_to_Activate(
|
|
8
8
|
iv.Param_to_Activate(
|
9
9
|
key="x", group="Internal variables to save", file="soil",
|
10
10
|
all_variables=[
|
11
|
-
iv.Internal_Variable(name=f"%xu", file="xu", type_of_var=iv.FRAC_VAR, linked_param=None),
|
12
|
-
iv.Internal_Variable(name=f"%xof", file="xof", type_of_var=iv.FRAC_VAR, linked_param=None),
|
13
|
-
iv.Internal_Variable(name=f"%xif", file="xif", type_of_var=iv.FRAC_VAR, linked_param=None),
|
14
|
-
iv.Internal_Variable(name=f"%xbf", file="xbf", type_of_var=iv.FRAC_VAR, linked_param=None),
|
11
|
+
iv.Internal_Variable(name=f"%xu", file="xu", type_of_var=iv.FRAC_VAR, linked_param=None, id=cste.iv_VHM_xu),
|
12
|
+
iv.Internal_Variable(name=f"%xof", file="xof", type_of_var=iv.FRAC_VAR, linked_param=None, id=cste.iv_VHM_xof),
|
13
|
+
iv.Internal_Variable(name=f"%xif", file="xif", type_of_var=iv.FRAC_VAR, linked_param=None, id=cste.iv_VHM_xif),
|
14
|
+
iv.Internal_Variable(name=f"%xbf", file="xbf", type_of_var=iv.FRAC_VAR, linked_param=None, id=cste.iv_VHM_xbf),
|
15
15
|
]),
|
16
16
|
iv.Param_to_Activate(
|
17
17
|
key="U", group="Internal variables to save", file="soil",
|
18
18
|
all_variables=[
|
19
19
|
iv.Internal_Variable(name="U", file="U", type_of_var=iv.IV_VAR,
|
20
|
-
linked_param=cste.exchange_parameters_VHM_Umax)
|
20
|
+
linked_param=cste.exchange_parameters_VHM_Umax, id=cste.iv_VHM_U)
|
21
21
|
]),
|
22
22
|
iv.Param_to_Activate(
|
23
23
|
key=None, group=None, file="",
|
24
24
|
all_variables=[
|
25
|
-
iv.Internal_Variable(name="q_of", file="of", type_of_var=iv.DEFAULT_VAR, linked_param=None),
|
26
|
-
iv.Internal_Variable(name="q_if", file="if", type_of_var=iv.DEFAULT_VAR, linked_param=None),
|
27
|
-
iv.Internal_Variable(name="q_bf", file="bf", type_of_var=iv.DEFAULT_VAR, linked_param=None),
|
25
|
+
iv.Internal_Variable(name="q_of", file="of", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_VHM_qof),
|
26
|
+
iv.Internal_Variable(name="q_if", file="if", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_VHM_qif),
|
27
|
+
iv.Internal_Variable(name="q_bf", file="bf", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_VHM_qbf),
|
28
28
|
])
|
29
29
|
])
|
30
30
|
|
@@ -35,26 +35,26 @@ UHDIST_LINBF_VAR = iv.Group_to_Activate(
|
|
35
35
|
iv.Param_to_Activate(
|
36
36
|
key="x", group="Internal variables to save", file="soil",
|
37
37
|
all_variables=[
|
38
|
-
iv.Internal_Variable(name=f"% xif", file="x", type_of_var=iv.FRAC_VAR, linked_param=None)
|
38
|
+
iv.Internal_Variable(name=f"% xif", file="x", type_of_var=iv.FRAC_VAR, linked_param=None, id=cste.iv_2layers_linBF_xif),
|
39
39
|
]),
|
40
40
|
iv.Param_to_Activate(
|
41
41
|
key="U", group="Internal variables to save", file="soil",
|
42
42
|
all_variables=[
|
43
43
|
iv.Internal_Variable(name=f"%U", file="U", type_of_var=iv.IV_VAR,
|
44
|
-
linked_param=cste.exchange_parameters_Dist_Soil_Umax)
|
44
|
+
linked_param=cste.exchange_parameters_Dist_Soil_Umax, id=cste.iv_2layers_linBF_U)
|
45
45
|
]),
|
46
46
|
iv.Param_to_Activate(
|
47
47
|
key="Reservoir", group="Internal variables to save", file="soil",
|
48
48
|
all_variables=[
|
49
|
-
iv.Internal_Variable(name=f"% xp", file="xp", type_of_var=iv.FRAC_VAR, linked_param=None),
|
49
|
+
iv.Internal_Variable(name=f"% xp", file="xp", type_of_var=iv.FRAC_VAR, linked_param=None, id=cste.iv_2layers_linBF_xp),
|
50
50
|
iv.Internal_Variable(name=f"S", file="S", type_of_var=iv.IV_VAR,
|
51
|
-
linked_param=cste.exchange_parameters_Dist_RS_Hs)
|
51
|
+
linked_param=cste.exchange_parameters_Dist_RS_Hs, id=cste.iv_2layers_linBF_S),
|
52
52
|
]),
|
53
53
|
iv.Param_to_Activate(
|
54
54
|
key=None, group=None, file="",
|
55
55
|
all_variables=[
|
56
|
-
iv.Internal_Variable(name="q_of", file="of", type_of_var=iv.DEFAULT_VAR, linked_param=None),
|
57
|
-
iv.Internal_Variable(name="q_if", file="if", type_of_var=iv.DEFAULT_VAR, linked_param=None)
|
56
|
+
iv.Internal_Variable(name="q_of", file="of", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_2layers_linBF_qof),
|
57
|
+
iv.Internal_Variable(name="q_if", file="if", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_2layers_linBF_qif),
|
58
58
|
])
|
59
59
|
]
|
60
60
|
)
|
@@ -67,33 +67,33 @@ HBV_VAR = iv.Group_to_Activate(
|
|
67
67
|
key="U", group="Internal variables to save", file="soil",
|
68
68
|
all_variables=[
|
69
69
|
iv.Internal_Variable(name="U", file="U", type_of_var=iv.IV_VAR,
|
70
|
-
linked_param=cste.exchange_parameters_HBV_FC),
|
70
|
+
linked_param=cste.exchange_parameters_HBV_FC, id=cste.iv_HBV_U),
|
71
71
|
]),
|
72
72
|
iv.Param_to_Activate(
|
73
73
|
key="Q out", group="Internal variables to save", file="soil",
|
74
74
|
all_variables=[
|
75
|
-
iv.Internal_Variable(name="q recharge", file="qrech", type_of_var=iv.OUT_VAR, linked_param=None),
|
76
|
-
iv.Internal_Variable(name="q capillary", file="qcap", type_of_var=iv.OUT_VAR, linked_param=None),
|
77
|
-
iv.Internal_Variable(name="Evapotranspiration", file="etr", type_of_var=iv.OUT_VAR, linked_param=None)
|
75
|
+
iv.Internal_Variable(name="q recharge", file="qrech", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_HBV_qrech),
|
76
|
+
iv.Internal_Variable(name="q capillary", file="qcap", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_HBV_soil_qcap),
|
77
|
+
iv.Internal_Variable(name="Evapotranspiration", file="etr", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_HBV_etr),
|
78
78
|
]),
|
79
79
|
iv.Param_to_Activate(
|
80
80
|
key="Su", group="Internal variables to save", file="UZ",
|
81
81
|
all_variables=[
|
82
82
|
iv.Internal_Variable(name="Su", file="Su", type_of_var=iv.IV_VAR,
|
83
|
-
linked_param=cste.exchange_parameters_HBV_SUmax)
|
83
|
+
linked_param=cste.exchange_parameters_HBV_SUmax, id=cste.iv_HBV_Su),
|
84
84
|
]),
|
85
85
|
iv.Param_to_Activate(
|
86
86
|
key="Q out", group="Internal variables to save", file="UZ",
|
87
87
|
all_variables=[
|
88
|
-
iv.Internal_Variable(name="q_of", file="qr", type_of_var=iv.FINAL_OUT_VAR, linked_param=None),
|
89
|
-
iv.Internal_Variable(name="q_if", file="qif", type_of_var=iv.FINAL_OUT_VAR, linked_param=None),
|
90
|
-
iv.Internal_Variable(name="q percolation", file="qperc", type_of_var=iv.OUT_VAR, linked_param=None),
|
91
|
-
iv.Internal_Variable(name="q cap UZ", file="qcap", type_of_var=iv.OUT_VAR, linked_param=None)
|
88
|
+
iv.Internal_Variable(name="q_of", file="qr", type_of_var=iv.FINAL_OUT_VAR, linked_param=None, id=cste.iv_HBV_qr),
|
89
|
+
iv.Internal_Variable(name="q_if", file="qif", type_of_var=iv.FINAL_OUT_VAR, linked_param=None, id=cste.iv_HBV_qif),
|
90
|
+
iv.Internal_Variable(name="q percolation", file="qperc", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_HBV_qperc),
|
91
|
+
iv.Internal_Variable(name="q cap UZ", file="qcap", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_HBV_UZ_qcap),
|
92
92
|
]),
|
93
93
|
iv.Param_to_Activate(
|
94
94
|
key=None, group=None, file="",
|
95
95
|
all_variables=[
|
96
|
-
iv.Internal_Variable(name="q_bf", file="bf", type_of_var=iv.DEFAULT_VAR, linked_param=None)
|
96
|
+
iv.Internal_Variable(name="q_bf", file="bf", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_HBV_qbf),
|
97
97
|
])
|
98
98
|
]
|
99
99
|
)
|
@@ -105,58 +105,59 @@ SACSMA_VAR = iv.Group_to_Activate(
|
|
105
105
|
key="IV", group="Internal variables to save", file="UZ",
|
106
106
|
all_variables=[
|
107
107
|
iv.Internal_Variable(name="C_UZ_TW", file="Ctw", type_of_var=iv.IV_VAR,
|
108
|
-
linked_param=cste.exchange_parameters_SAC_M_UZ_TW),
|
108
|
+
linked_param=cste.exchange_parameters_SAC_M_UZ_TW, id=cste.iv_SACSMA_CUZTW),
|
109
109
|
iv.Internal_Variable(name="C_UZ_FW", file="Cfw", type_of_var=iv.IV_VAR,
|
110
|
-
linked_param=cste.exchange_parameters_SAC_M_UZ_FW),
|
111
|
-
iv.Internal_Variable(name="C_Adimp", file="Cadimp", type_of_var=iv.IV_VAR,
|
110
|
+
linked_param=cste.exchange_parameters_SAC_M_UZ_FW, id=cste.iv_SACSMA_CUZFW),
|
111
|
+
iv.Internal_Variable(name="C_Adimp", file="Cadimp", type_of_var=iv.IV_VAR,
|
112
|
+
linked_param=None, id=cste.iv_SACSMA_CADIMP),
|
112
113
|
]),
|
113
114
|
iv.Param_to_Activate(
|
114
115
|
key="Q out", group="Internal variables to save", file="UZ",
|
115
116
|
all_variables=[
|
116
|
-
iv.Internal_Variable(name="E1", file="e1", type_of_var=iv.OUT_VAR, linked_param=None),
|
117
|
-
iv.Internal_Variable(name="E2", file="e2", type_of_var=iv.OUT_VAR, linked_param=None),
|
118
|
-
iv.Internal_Variable(name="E5", file="e5", type_of_var=iv.OUT_VAR, linked_param=None),
|
119
|
-
iv.Internal_Variable(name="q_ft", file="qft", type_of_var=iv.OUT_VAR, linked_param=None),
|
120
|
-
iv.Internal_Variable(name="q_tf", file="qtf", type_of_var=iv.OUT_VAR, linked_param=None),
|
121
|
-
iv.Internal_Variable(name="q_if", file="qif", type_of_var=iv.OUT_VAR, linked_param=None),
|
122
|
-
iv.Internal_Variable(name="q_perc", file="qperc", type_of_var=iv.OUT_VAR, linked_param=None),
|
123
|
-
iv.Internal_Variable(name="q_sr", file="qsr", type_of_var=iv.OUT_VAR, linked_param=None),
|
124
|
-
iv.Internal_Variable(name="q_in Adimp", file="qinadimp", type_of_var=iv.OUT_VAR, linked_param=None),
|
125
|
-
iv.Internal_Variable(name="q_dr Adimp", file="qdr", type_of_var=iv.OUT_VAR, linked_param=None)
|
117
|
+
iv.Internal_Variable(name="E1", file="e1", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_SACSMA_e1),
|
118
|
+
iv.Internal_Variable(name="E2", file="e2", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_SACSMA_e2),
|
119
|
+
iv.Internal_Variable(name="E5", file="e5", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_SACSMA_e5),
|
120
|
+
iv.Internal_Variable(name="q_ft", file="qft", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
121
|
+
iv.Internal_Variable(name="q_tf", file="qtf", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
122
|
+
iv.Internal_Variable(name="q_if", file="qif", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_SACSMA_qqif),
|
123
|
+
iv.Internal_Variable(name="q_perc", file="qperc", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
124
|
+
iv.Internal_Variable(name="q_sr", file="qsr", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_SACSMA_qqsr),
|
125
|
+
iv.Internal_Variable(name="q_in Adimp", file="qinadimp", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
126
|
+
iv.Internal_Variable(name="q_dr Adimp", file="qdr", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_SACSMA_qqdr),
|
126
127
|
]),
|
127
128
|
iv.Param_to_Activate(
|
128
129
|
key="IV", group="Internal variables to save", file="LZ",
|
129
130
|
all_variables=[
|
130
131
|
iv.Internal_Variable(name="C_LZ_TW", file="Ctw", type_of_var=iv.IV_VAR,
|
131
|
-
linked_param=cste.exchange_parameters_SAC_M_LZ_TW),
|
132
|
+
linked_param=cste.exchange_parameters_SAC_M_LZ_TW, id=cste.iv_SACSMA_CLZTW),
|
132
133
|
iv.Internal_Variable(name="C_LZ_FP", file="Cfp", type_of_var=iv.IV_VAR,
|
133
|
-
linked_param=cste.exchange_parameters_SAC_M_LZ_FP),
|
134
|
+
linked_param=cste.exchange_parameters_SAC_M_LZ_FP, id=cste.iv_SACSMA_CLZFP),
|
134
135
|
iv.Internal_Variable(name="C_LZ_FS", file="Cfs", type_of_var=iv.IV_VAR,
|
135
|
-
linked_param=cste.exchange_parameters_SAC_M_LZ_FS)
|
136
|
+
linked_param=cste.exchange_parameters_SAC_M_LZ_FS, id=cste.iv_SACSMA_CLZFS),
|
136
137
|
]),
|
137
138
|
iv.Param_to_Activate(
|
138
139
|
key="Q out", group="Internal variables to save", file="LZ",
|
139
140
|
all_variables=[
|
140
|
-
iv.Internal_Variable(name="E3", file="e3", type_of_var=iv.OUT_VAR, linked_param=None),
|
141
|
-
iv.Internal_Variable(name="q_fp", file="qfp", type_of_var=iv.OUT_VAR, linked_param=None),
|
142
|
-
iv.Internal_Variable(name="q_fs", file="qfs", type_of_var=iv.OUT_VAR, linked_param=None),
|
143
|
-
iv.Internal_Variable(name="q_in tw", file="qintw", type_of_var=iv.OUT_VAR, linked_param=None),
|
144
|
-
iv.Internal_Variable(name="q_in fp", file="qinfp", type_of_var=iv.OUT_VAR, linked_param=None),
|
145
|
-
iv.Internal_Variable(name="q_in fs", file="qinfs", type_of_var=iv.OUT_VAR, linked_param=None),
|
146
|
-
iv.Internal_Variable(name="q_out tw", file="qouttw", type_of_var=iv.OUT_VAR, linked_param=None),
|
147
|
-
iv.Internal_Variable(name="q_out fp", file="qoutfp", type_of_var=iv.OUT_VAR, linked_param=None),
|
148
|
-
iv.Internal_Variable(name="q_out fs", file="qoutfs", type_of_var=iv.OUT_VAR, linked_param=None),
|
141
|
+
iv.Internal_Variable(name="E3", file="e3", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_SACSMA_e3),
|
142
|
+
iv.Internal_Variable(name="q_fp", file="qfp", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
143
|
+
iv.Internal_Variable(name="q_fs", file="qfs", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
144
|
+
iv.Internal_Variable(name="q_in tw", file="qintw", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
145
|
+
iv.Internal_Variable(name="q_in fp", file="qinfp", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
146
|
+
iv.Internal_Variable(name="q_in fs", file="qinfs", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
147
|
+
iv.Internal_Variable(name="q_out tw", file="qouttw", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
148
|
+
iv.Internal_Variable(name="q_out fp", file="qoutfp", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
149
|
+
iv.Internal_Variable(name="q_out fs", file="qoutfs", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
149
150
|
]),
|
150
151
|
iv.Param_to_Activate(
|
151
152
|
key=None, group=None, file="out",
|
152
153
|
all_variables=[
|
153
|
-
iv.Internal_Variable(name="E_tot", file="Etot", type_of_var=iv.DEFAULT_VAR, linked_param=None),
|
154
|
-
iv.Internal_Variable(name="Q_of", file="Qof", type_of_var=iv.DEFAULT_VAR, linked_param=None),
|
155
|
-
iv.Internal_Variable(name="Q_if", file="Qif", type_of_var=iv.DEFAULT_VAR, linked_param=None),
|
156
|
-
iv.Internal_Variable(name="Q_bf", file="Qbf", type_of_var=iv.DEFAULT_VAR, linked_param=None),
|
157
|
-
iv.Internal_Variable(name="Q_subbf", file="Qsubbf", type_of_var=iv.DEFAULT_VAR, linked_param=None),
|
158
|
-
iv.Internal_Variable(name="Q_surf", file="Qsurf", type_of_var=iv.DEFAULT_VAR, linked_param=None),
|
159
|
-
iv.Internal_Variable(name="Q_base", file="Qbase", type_of_var=iv.DEFAULT_VAR, linked_param=None)
|
154
|
+
iv.Internal_Variable(name="E_tot", file="Etot", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_SACSMA_etot),
|
155
|
+
iv.Internal_Variable(name="Q_of", file="Qof", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_SACSMA_qof),
|
156
|
+
iv.Internal_Variable(name="Q_if", file="Qif", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_SACSMA_qif),
|
157
|
+
iv.Internal_Variable(name="Q_bf", file="Qbf", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_SACSMA_qbf),
|
158
|
+
iv.Internal_Variable(name="Q_subbf", file="Qsubbf", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_SACSMA_qsubbf),
|
159
|
+
iv.Internal_Variable(name="Q_surf", file="Qsurf", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_SACSMA_qsurf),
|
160
|
+
iv.Internal_Variable(name="Q_base", file="Qbase", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_SACSMA_qbase),
|
160
161
|
])
|
161
162
|
]
|
162
163
|
)
|
@@ -168,34 +169,34 @@ NAM_VAR = iv.Group_to_Activate(
|
|
168
169
|
key="U", group="Internal variables to save", file="SS",
|
169
170
|
all_variables=[
|
170
171
|
iv.Internal_Variable(name="U", file="U", type_of_var=iv.IV_VAR,
|
171
|
-
linked_param=cste.exchange_parameters_NAM_UMAX),
|
172
|
+
linked_param=cste.exchange_parameters_NAM_UMAX, id=cste.iv_NAM_U),
|
172
173
|
]),
|
173
174
|
iv.Param_to_Activate(
|
174
175
|
key="Q out", group="Internal variables to save", file="SS",
|
175
176
|
all_variables=[
|
176
|
-
iv.Internal_Variable(name="qqof", file="qof", type_of_var=iv.OUT_VAR, linked_param=None),
|
177
|
-
iv.Internal_Variable(name="qqif", file="qif", type_of_var=iv.OUT_VAR, linked_param=None),
|
177
|
+
iv.Internal_Variable(name="qqof", file="qof", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
178
|
+
iv.Internal_Variable(name="qqif", file="qif", type_of_var=iv.OUT_VAR, linked_param=None, id=None),
|
178
179
|
# iv.Internal_Variable(name="q_infil", file="qinfil", type_of_var=iv.OUT_VAR),
|
179
|
-
iv.Internal_Variable(name="Ea", file="ea", type_of_var=iv.OUT_VAR, linked_param=None),
|
180
|
+
iv.Internal_Variable(name="Ea", file="ea", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_NAM_ea),
|
180
181
|
]),
|
181
182
|
iv.Param_to_Activate(
|
182
183
|
key="IV", group="Internal variables to save", file="RZ",
|
183
184
|
all_variables=[
|
184
185
|
iv.Internal_Variable(name="L", file="L", type_of_var=iv.IV_VAR,
|
185
|
-
linked_param=cste.exchange_parameters_NAM_LMAX),
|
186
|
+
linked_param=cste.exchange_parameters_NAM_LMAX, id=cste.iv_NAM_L),
|
186
187
|
]),
|
187
188
|
iv.Param_to_Activate(
|
188
189
|
key="Q out", group="Internal variables to save", file="RZ",
|
189
190
|
all_variables=[
|
190
|
-
iv.Internal_Variable(name="E_rz", file="erz", type_of_var=iv.OUT_VAR, linked_param=None),
|
191
|
-
iv.Internal_Variable(name="q_g", file="qg", type_of_var=iv.OUT_VAR, linked_param=None),
|
191
|
+
iv.Internal_Variable(name="E_rz", file="erz", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_NAM_erz),
|
192
|
+
iv.Internal_Variable(name="q_g", file="qg", type_of_var=iv.OUT_VAR, linked_param=None, id=cste.iv_NAM_qg),
|
192
193
|
]),
|
193
194
|
iv.Param_to_Activate(
|
194
195
|
key=None, group=None, file="",
|
195
196
|
all_variables=[
|
196
|
-
iv.Internal_Variable(name="q_of", file="OF", type_of_var=iv.DEFAULT_VAR, linked_param=None),
|
197
|
-
iv.Internal_Variable(name="q_if", file="IF", type_of_var=iv.DEFAULT_VAR, linked_param=None),
|
198
|
-
iv.Internal_Variable(name="q_bf", file="BF", type_of_var=iv.DEFAULT_VAR, linked_param=None)
|
197
|
+
iv.Internal_Variable(name="q_of", file="OF", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_NAM_qof),
|
198
|
+
iv.Internal_Variable(name="q_if", file="IF", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_NAM_qif),
|
199
|
+
iv.Internal_Variable(name="q_bf", file="BF", type_of_var=iv.DEFAULT_VAR, linked_param=None, id=cste.iv_NAM_qbf),
|
199
200
|
])
|
200
201
|
]
|
201
202
|
)
|
@@ -206,7 +207,8 @@ MODELS_VAR:dict[int, iv.Group_to_Activate] = {
|
|
206
207
|
cst.tom_2layers_linIF: UHDIST_LINBF_VAR,
|
207
208
|
cst.tom_HBV: HBV_VAR,
|
208
209
|
cst.tom_SAC_SMA: SACSMA_VAR,
|
209
|
-
cst.tom_NAM: NAM_VAR
|
210
|
+
cst.tom_NAM: NAM_VAR,
|
211
|
+
cst.tom_SAC_SMA_LROF: SACSMA_VAR
|
210
212
|
}
|
211
213
|
|
212
214
|
if __name__ == "__main__":
|