Skip to content

Commit

Permalink
Merge pull request #42 from Ouranosinc/a
Browse files Browse the repository at this point in the history
fix notebook 5 - take 2
  • Loading branch information
tlogan2000 committed Jan 27, 2022
2 parents 1999f9f + 8ef0248 commit 368a4e6
Show file tree
Hide file tree
Showing 26 changed files with 254,771 additions and 321,149 deletions.
26,389 changes: 12,636 additions & 13,753 deletions content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.html

Large diffs are not rendered by default.

26,321 changes: 12,563 additions & 13,758 deletions content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

25,954 changes: 12,399 additions & 13,555 deletions content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.html

Large diffs are not rendered by default.

44,980 changes: 14,765 additions & 30,215 deletions content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

26,271 changes: 12,522 additions & 13,749 deletions content/notebooks/hydrology/Extract_geographical_watershed_properties.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

25,753 changes: 12,283 additions & 13,470 deletions content/notebooks/hydrology/Hydrological_realtime_forecasting.html

Large diffs are not rendered by default.

51 changes: 39 additions & 12 deletions content/notebooks/hydrology/Hydrological_realtime_forecasting.ipynb

Large diffs are not rendered by default.

25,848 changes: 12,327 additions & 13,521 deletions content/notebooks/hydrology/Model_calibration.html

Large diffs are not rendered by default.

66 changes: 53 additions & 13 deletions content/notebooks/hydrology/Model_calibration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,19 @@
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"metadata": {
"execution": {
"iopub.execute_input": "2021-09-08T20:36:01.539755Z",
"iopub.status.busy": "2021-09-08T20:36:01.532741Z",
"iopub.status.idle": "2021-09-08T20:36:03.648774Z",
"shell.execute_reply": "2021-09-08T20:36:03.648395Z"
}
},
"outputs": [
{
"data": {
"text/plain": [
"'http://localhost:9099'"
"'http://0.0.0.0:9099'"
]
},
"execution_count": 1,
Expand All @@ -36,6 +43,7 @@
"from birdy import WPSClient\n",
"from matplotlib import pyplot as plt\n",
"from pandas.plotting import register_matplotlib_converters\n",
"\n",
"from ravenpy.utilities.testdata import get_file\n",
"\n",
"register_matplotlib_converters()\n",
Expand All @@ -51,7 +59,14 @@
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"metadata": {
"execution": {
"iopub.execute_input": "2021-09-08T20:36:03.654277Z",
"iopub.status.busy": "2021-09-08T20:36:03.653800Z",
"iopub.status.idle": "2021-09-08T20:36:04.861054Z",
"shell.execute_reply": "2021-09-08T20:36:04.860672Z"
}
},
"outputs": [],
"source": [
"# The model parameter boundaries. Can either be a string of comma separated values, a list, an array or a named tuple.\n",
Expand Down Expand Up @@ -88,12 +103,19 @@
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"metadata": {
"execution": {
"iopub.execute_input": "2021-09-08T20:36:04.866827Z",
"iopub.status.busy": "2021-09-08T20:36:04.865808Z",
"iopub.status.idle": "2021-09-08T20:36:04.869824Z",
"shell.execute_reply": "2021-09-08T20:36:04.869493Z"
}
},
"outputs": [
{
"data": {
"text/plain": [
"PosixPath('/home/lvu/.raven_testing_data/master/raven-gr4j-cemaneige/Salmon-River-Near-Prince-George_meteo_daily.nc')"
"PosixPath('/home/david/.raven_testing_data/master/raven-gr4j-cemaneige/Salmon-River-Near-Prince-George_meteo_daily.nc')"
]
},
"execution_count": 3,
Expand All @@ -116,6 +138,12 @@
"cell_type": "code",
"execution_count": 4,
"metadata": {
"execution": {
"iopub.execute_input": "2021-09-08T20:36:04.874485Z",
"iopub.status.busy": "2021-09-08T20:36:04.874118Z",
"iopub.status.idle": "2021-09-08T20:36:04.894707Z",
"shell.execute_reply": "2021-09-08T20:36:04.894265Z"
},
"pycharm": {
"name": "#%%\n"
}
Expand All @@ -125,7 +153,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"2.424726, 3.758972, 204.3856, 5.866946, 16.60408, 0.3728098\n"
"1.239022, 7.843634, 211.8366, 5.399504, 16.2756, 0.7699138\n"
]
}
],
Expand All @@ -146,7 +174,14 @@
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"metadata": {
"execution": {
"iopub.execute_input": "2021-09-08T20:36:04.900013Z",
"iopub.status.busy": "2021-09-08T20:36:04.899557Z",
"iopub.status.idle": "2021-09-08T20:36:05.374559Z",
"shell.execute_reply": "2021-09-08T20:36:05.374134Z"
}
},
"outputs": [],
"source": [
"# Call the model with the time series, model parameters and other configuration parameters\n",
Expand All @@ -164,19 +199,24 @@
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"metadata": {
"execution": {
"iopub.execute_input": "2021-09-08T20:36:05.378440Z",
"iopub.status.busy": "2021-09-08T20:36:05.377804Z",
"iopub.status.idle": "2021-09-08T20:36:05.381681Z",
"shell.execute_reply": "2021-09-08T20:36:05.380308Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"observed data series,filename,DIAG_NASH_SUTCLIFFE,DIAG_RMSE,\n",
"HYDROGRAPH_ALL,/tmp/pywps_process_4pqu99t6/Salmon-River-Near-Prince-George_meteo_daily.nc,0.50717,36.373,\n",
"HYDROGRAPH_ALL,/tmp/pywps_process_4pqu99t6/Salmon-River-Near-Prince-George_meteo_daily.nc,0.50717,36.373,\n",
"HYDROGRAPH_ALL,/tmp/pywps_process_1qwpir_j/input.nc,0.33486,42.2559,\n",
"\n",
"observed data series,filename,DIAG_NASH_SUTCLIFFE,DIAG_RMSE,\n",
"HYDROGRAPH_ALL,/tmp/pywps_process_a6pe0h5q/Salmon-River-Near-Prince-George_meteo_daily.nc,0.50717,36.373,\n",
"HYDROGRAPH_ALL,/tmp/pywps_process_a6pe0h5q/Salmon-River-Near-Prince-George_meteo_daily.nc,0.50717,36.373,\n",
"HYDROGRAPH_ALL,/tmp/pywps_process_s2qogcev/input.nc,0.334861,42.2559,\n",
"\n"
]
}
Expand Down Expand Up @@ -213,7 +253,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
"version": "3.9.6"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 368a4e6

Please sign in to comment.