Skip to content

Commit 766b16e

Browse files
committed
updates to the workshop run, refinement still needed
1 parent 20a837e commit 766b16e

File tree

5 files changed

+523
-240
lines changed

5 files changed

+523
-240
lines changed

book/tutorials_examples/6_Africa/2a_calibrate_HBV_montecarlo.ipynb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -868,14 +868,6 @@
868868
"\n",
869869
"!rm -rf hbvlocal_*"
870870
]
871-
},
872-
{
873-
"cell_type": "code",
874-
"execution_count": null,
875-
"id": "2c723575-aebe-477e-bcbc-6bec51fe7d4e",
876-
"metadata": {},
877-
"outputs": [],
878-
"source": []
879871
}
880872
],
881873
"metadata": {

book/tutorials_examples/6_Africa/2b_calibrate_HBV_SCE.ipynb

Lines changed: 49 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,29 @@
191191
" <span style=\"color: #008000; text-decoration-color: #008000\">'path_ERA5'</span>: <span style=\"color: #008000; text-decoration-color: #008000\">'/home/mmelotto/my_data/workshop_africa/forcing_data/AF_1491830.0/ERA5'</span>,\n",
192192
" <span style=\"color: #008000; text-decoration-color: #008000\">'path_CMIP6'</span>: <span style=\"color: #008000; text-decoration-color: #008000\">'/home/mmelotto/my_data/workshop_africa/forcing_data/AF_1491830.0/CMIP6'</span>,\n",
193193
" <span style=\"color: #008000; text-decoration-color: #008000\">'path_output'</span>: <span style=\"color: #008000; text-decoration-color: #008000\">'/home/mmelotto/my_data/workshop_africa/output_data/AF_1491830.0'</span>,\n",
194-
" <span style=\"color: #008000; text-decoration-color: #008000\">'hbv_parameters'</span>: <span style=\"font-weight: bold\">[</span><span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">10.0</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.87</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">592.0</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">1.4</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.3</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">1.0</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.09</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.01</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.001</span><span style=\"font-weight: bold\">]</span>\n",
194+
" <span style=\"color: #008000; text-decoration-color: #008000\">'hbv_parameters'</span>: <span style=\"font-weight: bold\">[</span><span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">10.0</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.87</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">592.0</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">1.4</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.3</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">1.0</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.09</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.01</span>, <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.001</span><span style=\"font-weight: bold\">]</span>,\n",
195+
" <span style=\"color: #008000; text-decoration-color: #008000\">'SCE_calibration_parameters'</span>: <span style=\"font-weight: bold\">[</span>\n",
196+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">6.586012553845907</span>,\n",
197+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">1.0</span>,\n",
198+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">557.8536779504233</span>,\n",
199+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">2.939688843608312</span>,\n",
200+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.001</span>,\n",
201+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">1.0</span>,\n",
202+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.1</span>,\n",
203+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.00024827990873074545</span>,\n",
204+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">3.2087728977063117</span>\n",
205+
" <span style=\"font-weight: bold\">]</span>,\n",
206+
" <span style=\"color: #008000; text-decoration-color: #008000\">'monte_carlo_calibration_parameters'</span>: <span style=\"font-weight: bold\">[</span>\n",
207+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">2.2809924457194377</span>,\n",
208+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.8237298558744328</span>,\n",
209+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">464.7470066408867</span>,\n",
210+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">1.5984658697300798</span>,\n",
211+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.29785129445020814</span>,\n",
212+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">1.1825488171931156</span>,\n",
213+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.07487754017358864</span>,\n",
214+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">0.008908532718571173</span>,\n",
215+
" <span style=\"color: #008080; text-decoration-color: #008080; font-weight: bold\">5.605800944680686</span>\n",
216+
" <span style=\"font-weight: bold\">]</span>\n",
195217
"<span style=\"font-weight: bold\">}</span>\n",
196218
"</pre>\n"
197219
],
@@ -211,7 +233,29 @@
211233
" \u001b[32m'path_ERA5'\u001b[0m: \u001b[32m'/home/mmelotto/my_data/workshop_africa/forcing_data/AF_1491830.0/ERA5'\u001b[0m,\n",
212234
" \u001b[32m'path_CMIP6'\u001b[0m: \u001b[32m'/home/mmelotto/my_data/workshop_africa/forcing_data/AF_1491830.0/CMIP6'\u001b[0m,\n",
213235
" \u001b[32m'path_output'\u001b[0m: \u001b[32m'/home/mmelotto/my_data/workshop_africa/output_data/AF_1491830.0'\u001b[0m,\n",
214-
" \u001b[32m'hbv_parameters'\u001b[0m: \u001b[1m[\u001b[0m\u001b[1;36m10.0\u001b[0m, \u001b[1;36m0.87\u001b[0m, \u001b[1;36m592.0\u001b[0m, \u001b[1;36m1.4\u001b[0m, \u001b[1;36m0.3\u001b[0m, \u001b[1;36m1.0\u001b[0m, \u001b[1;36m0.09\u001b[0m, \u001b[1;36m0.01\u001b[0m, \u001b[1;36m0.001\u001b[0m\u001b[1m]\u001b[0m\n",
236+
" \u001b[32m'hbv_parameters'\u001b[0m: \u001b[1m[\u001b[0m\u001b[1;36m10.0\u001b[0m, \u001b[1;36m0.87\u001b[0m, \u001b[1;36m592.0\u001b[0m, \u001b[1;36m1.4\u001b[0m, \u001b[1;36m0.3\u001b[0m, \u001b[1;36m1.0\u001b[0m, \u001b[1;36m0.09\u001b[0m, \u001b[1;36m0.01\u001b[0m, \u001b[1;36m0.001\u001b[0m\u001b[1m]\u001b[0m,\n",
237+
" \u001b[32m'SCE_calibration_parameters'\u001b[0m: \u001b[1m[\u001b[0m\n",
238+
" \u001b[1;36m6.586012553845907\u001b[0m,\n",
239+
" \u001b[1;36m1.0\u001b[0m,\n",
240+
" \u001b[1;36m557.8536779504233\u001b[0m,\n",
241+
" \u001b[1;36m2.939688843608312\u001b[0m,\n",
242+
" \u001b[1;36m0.001\u001b[0m,\n",
243+
" \u001b[1;36m1.0\u001b[0m,\n",
244+
" \u001b[1;36m0.1\u001b[0m,\n",
245+
" \u001b[1;36m0.00024827990873074545\u001b[0m,\n",
246+
" \u001b[1;36m3.2087728977063117\u001b[0m\n",
247+
" \u001b[1m]\u001b[0m,\n",
248+
" \u001b[32m'monte_carlo_calibration_parameters'\u001b[0m: \u001b[1m[\u001b[0m\n",
249+
" \u001b[1;36m2.2809924457194377\u001b[0m,\n",
250+
" \u001b[1;36m0.8237298558744328\u001b[0m,\n",
251+
" \u001b[1;36m464.7470066408867\u001b[0m,\n",
252+
" \u001b[1;36m1.5984658697300798\u001b[0m,\n",
253+
" \u001b[1;36m0.29785129445020814\u001b[0m,\n",
254+
" \u001b[1;36m1.1825488171931156\u001b[0m,\n",
255+
" \u001b[1;36m0.07487754017358864\u001b[0m,\n",
256+
" \u001b[1;36m0.008908532718571173\u001b[0m,\n",
257+
" \u001b[1;36m5.605800944680686\u001b[0m\n",
258+
" \u001b[1m]\u001b[0m\n",
215259
"\u001b[1m}\u001b[0m\n"
216260
]
217261
},
@@ -845,20 +889,14 @@
845889
"cell_type": "code",
846890
"execution_count": null,
847891
"id": "9815a3f9-a171-474f-9b4d-07cfac39f21a",
848-
"metadata": {},
892+
"metadata": {
893+
"scrolled": true
894+
},
849895
"outputs": [],
850896
"source": [
851897
"# Re-install correct numpy for ESMVAlTool\n",
852898
"!pip install esmvaltool"
853899
]
854-
},
855-
{
856-
"cell_type": "code",
857-
"execution_count": null,
858-
"id": "0ca1d5e9-3b8b-46c4-8006-aa60a33f7567",
859-
"metadata": {},
860-
"outputs": [],
861-
"source": []
862900
}
863901
],
864902
"metadata": {

0 commit comments

Comments
 (0)