Skip to content

Commit

Permalink
update notebooks
Browse files Browse the repository at this point in the history
- hide cross section figure cell
- add trailing semi colons to suppress output
- remove last cell linking to next nb
  • Loading branch information
dbrakenhoff committed Feb 14, 2024
1 parent d9ac02d commit e813936
Show file tree
Hide file tree
Showing 15 changed files with 177 additions and 218 deletions.
27 changes: 8 additions & 19 deletions docs/04pumpingtests/0_synthetic_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,7 @@
"plt.legend()\n",
"plt.xlabel(\"time (d)\")\n",
"plt.ylabel(\"drawdown (m)\")\n",
"fig.suptitle(\"Drawdown model and observations with noise: $\\sigma$ = 0.02\")\n",
"plt.show()"
"fig.title(\"Drawdown model and observations with noise: $\\sigma$ = 0.02\");"
]
},
{
Expand Down Expand Up @@ -369,8 +368,7 @@
"plt.legend()\n",
"plt.xlabel(\"time (d)\")\n",
"plt.ylabel(\"drawdown (m)\")\n",
"fig.suptitle(\"Drawdown model and observations with noise: $\\sigma$ = 0.05\")\n",
"plt.show()"
"fig.title(\"Drawdown model and observations with noise: $\\sigma$ = 0.05\");"
]
},
{
Expand Down Expand Up @@ -584,7 +582,7 @@
"plt.title(\n",
" \"Ttim analysis with synthetic data, Calibrated model with $\\sigma$ = 0.02 errors at 30 m.\"\n",
")\n",
"plt.legend()"
"plt.legend();"
]
},
{
Expand Down Expand Up @@ -744,7 +742,7 @@
"plt.xlabel(\"time (d)\")\n",
"plt.ylabel(\"drawdown (m)\")\n",
"plt.title(\"ttim analysis with synthetic data, sig=0.02 errors at 90 m.\")\n",
"plt.legend(loc=\"best\")"
"plt.legend(loc=\"best\");"
]
},
{
Expand Down Expand Up @@ -920,7 +918,7 @@
"plt.xlabel(\"time (d)\")\n",
"plt.ylabel(\"drawdown (m)\")\n",
"plt.title(\"ttim analysis with synthetic data without errors.\")\n",
"plt.legend()"
"plt.legend();"
]
},
{
Expand Down Expand Up @@ -1073,7 +1071,7 @@
"plt.xlabel(\"time (d)\")\n",
"plt.ylabel(\"drawdown (m)\")\n",
"plt.title(\"ttim analysis with synthetic data and errors with sig=0.02\")\n",
"plt.legend()"
"plt.legend();"
]
},
{
Expand Down Expand Up @@ -1226,7 +1224,7 @@
"plt.xlabel(\"time (d)\")\n",
"plt.ylabel(\"drawdown (m)\")\n",
"plt.title(\"ttim analysis with synthetic data and errors with sig=0.05\")\n",
"plt.legend()"
"plt.legend();"
]
},
{
Expand All @@ -1252,17 +1250,8 @@
"* Initiated a TTim model instance using the `Model` class\n",
"* Sampled observation data from the model and defined the synthetic data by adding noise.\n",
"* Calibrated the model with the `Calibrate` class using one and two calibration wells\n",
"* Inspected the calibration performance\n",
"\n",
"Next Example:\n",
"\n",
"* Pumping test analysis of a confined aquifer: [Example 1 - Pumping Test of Confined Aquifer](confined1_oude_korendijk.ipynb)\n"
"* Inspected the calibration performance"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": []
}
],
"metadata": {
Expand Down
8 changes: 5 additions & 3 deletions docs/04pumpingtests/confined1_oude_korendijk.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"cell_type": "code",
"execution_count": 1,
"metadata": {
"tags": []
"tags": [
"hide-input"
]
},
"outputs": [
{
Expand Down Expand Up @@ -145,7 +147,7 @@
"ax.text(x=30, y=0.75, s=\"P30\", fontsize=\"large\")\n",
"ax.text(x=90, y=0.75, s=\"P90\", fontsize=\"large\")\n",
"ax.set_xlim([-10, 100])\n",
"ax.set_ylim([-25, 3])"
"ax.set_ylim([-25, 3]);"
]
},
{
Expand Down Expand Up @@ -1686,7 +1688,7 @@
" label=name,\n",
" )\n",
"plt.legend()\n",
"plt.suptitle(\"Error bar plot of calibrated hydraulic conductivities\")\n",
"plt.title(\"Error bar plot of calibrated hydraulic conductivities\")\n",
"plt.ylabel(\"K [m/d]\")\n",
"plt.xlabel(\"Calibration Dataset\")\n",
"plt.grid()"
Expand Down
30 changes: 16 additions & 14 deletions docs/04pumpingtests/confined2_grindley.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
"jupyter": {
"source_hidden": true
},
"tags": []
"tags": [
"hide-input"
]
},
"outputs": [
{
Expand Down Expand Up @@ -138,7 +140,7 @@
"ax.set_ylim([-20, 3])\n",
"ax.set_xlabel(\"Distance [ft]\")\n",
"ax.set_ylabel(\"Relative height [ft]\")\n",
"ax.set_title(\"Conceptual Model - Grindley Example\")"
"ax.set_title(\"Conceptual Model - Grindley Example\");"
]
},
{
Expand Down Expand Up @@ -448,8 +450,8 @@
"plt.semilogx(t1, h1, \".\", label=\"obs well 1\") # Plotting Observed points\n",
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"drawdown [m]\")\n",
"plt.suptitle(\"Model Prediction vs Observations - Calibrated Model 1\")\n",
"plt.legend()"
"plt.title(\"Model Prediction vs Observations - Calibrated Model 1\")\n",
"plt.legend();"
]
},
{
Expand Down Expand Up @@ -482,10 +484,10 @@
"plt.semilogx(t2, h2, \".\", label=\"well 3\") # Plotting Observed points\n",
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"drawdown [m]\")\n",
"plt.suptitle(\n",
"plt.title(\n",
" \"Model Prediction vs Observations - Calibrated Model 1, Results in the Pumping Well\"\n",
")\n",
"plt.legend()"
"plt.legend();"
]
},
{
Expand Down Expand Up @@ -588,8 +590,8 @@
"plt.semilogx(t2, h2, \".\", label=\"well 3 observations\")\n",
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"drawdown [m]\")\n",
"plt.suptitle(\"Model Prediction vs Observations - Calibration 2\")\n",
"plt.legend()"
"plt.title(\"Model Prediction vs Observations - Calibration 2\")\n",
"plt.legend();"
]
},
{
Expand Down Expand Up @@ -791,8 +793,8 @@
"plt.semilogx(t2, h2, \".\", label=\"well3\")\n",
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"drawdown [m]\")\n",
"plt.suptitle(\"Model Prediction vs Observations - Calibration 3\")\n",
"plt.legend()"
"plt.title(\"Model Prediction vs Observations - Calibration 3\")\n",
"plt.legend();"
]
},
{
Expand Down Expand Up @@ -1059,8 +1061,8 @@
"plt.semilogx(t2, h2, \".\", label=\"well3\")\n",
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"drawdown [m]\")\n",
"plt.suptitle(\"Model Prediction vs Observations - Calibration 4\")\n",
"plt.legend()"
"plt.title(\"Model Prediction vs Observations - Calibration 4\")\n",
"plt.legend();"
]
},
{
Expand Down Expand Up @@ -1549,10 +1551,10 @@
" markersize=12,\n",
")\n",
"# plt.legend()\n",
"plt.suptitle(\"Error bar plot of calibrated hydraulic conductivities\")\n",
"plt.title(\"Error bar plot of calibrated hydraulic conductivities\")\n",
"plt.ylabel(\"K [m/d]\")\n",
"plt.ylim([36, 40])\n",
"plt.xlabel(\"Model\")"
"plt.xlabel(\"Model\");"
]
},
{
Expand Down
14 changes: 8 additions & 6 deletions docs/04pumpingtests/confined3_sioux.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
"jupyter": {
"source_hidden": true
},
"tags": []
"tags": [
"hide-input"
]
},
"outputs": [
{
Expand Down Expand Up @@ -161,7 +163,7 @@
"ax.text(x=400, y=0.75, s=\"P400\", fontsize=\"large\")\n",
"ax.set_xlim([-50, 450])\n",
"ax.set_ylim([-55, 3])\n",
"ax.set_title(\"Conceptual Model - Sioux Example\")"
"ax.set_title(\"Conceptual Model - Sioux Example\");"
]
},
{
Expand Down Expand Up @@ -458,7 +460,7 @@
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"drawdown [m]\")\n",
"plt.legend()\n",
"plt.suptitle(\"Calibration Results vs Observations - Model 1\")"
"plt.title(\"Calibration Results vs Observations - Model 1\");"
]
},
{
Expand Down Expand Up @@ -860,7 +862,7 @@
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"drawdown [m]\")\n",
"plt.legend()\n",
"plt.suptitle(\"Model Calibration Results - Model 2\")"
"plt.title(\"Model Calibration Results - Model 2\");"
]
},
{
Expand Down Expand Up @@ -1115,10 +1117,10 @@
" markersize=12,\n",
")\n",
"# plt.legend()\n",
"plt.suptitle(\"Error bar plot of calibrated hydraulic conductivities\")\n",
"plt.title(\"Error bar plot of calibrated hydraulic conductivities\")\n",
"plt.ylabel(\"K [m/d]\")\n",
"plt.ylim([278, 289])\n",
"plt.xlabel(\"Model\")"
"plt.xlabel(\"Model\");"
]
},
{
Expand Down
22 changes: 12 additions & 10 deletions docs/04pumpingtests/confined4_schroth.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"cell_type": "code",
"execution_count": 14,
"metadata": {
"tags": []
"tags": [
"hide-input"
]
},
"outputs": [
{
Expand Down Expand Up @@ -163,7 +165,7 @@
"ax.set_ylim([-55, 3])\n",
"ax.set_xlabel(\"Distance [m]\")\n",
"ax.set_ylabel(\"Relative height [m]\")\n",
"ax.set_title(\"Conceptual Model - Schroth Example\")"
"ax.set_title(\"Conceptual Model - Schroth Example\");"
]
},
{
Expand Down Expand Up @@ -452,7 +454,7 @@
"plt.semilogx(t2, hm2_0[-1], label=\"ttim model - obs_well\")\n",
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"head [m]\")\n",
"plt.legend()"
"plt.legend();"
]
},
{
Expand Down Expand Up @@ -704,7 +706,7 @@
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"drawdown [m]\")\n",
"plt.legend()\n",
"plt.suptitle(\"Model Results - One Aquifer + Well Parameters\")"
"plt.title(\"Model Results - One Aquifer + Well Parameters\");"
]
},
{
Expand Down Expand Up @@ -1049,7 +1051,7 @@
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"drawdown [m]\")\n",
"plt.legend()\n",
"plt.suptitle(\"Model Results - Two Aquifer Model\")"
"plt.title(\"Model Results - Two Aquifer Model\");"
]
},
{
Expand Down Expand Up @@ -1392,8 +1394,8 @@
"plt.semilogx(t2, hm2_3[-1], label=\"ttim model - observation well\")\n",
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"drawdown [m]\")\n",
"plt.suptitle(\"Model Results - Two Aquifers + Well Parameters\")\n",
"plt.legend()"
"plt.title(\"Model Results - Two Aquifers + Well Parameters\")\n",
"plt.legend();"
]
},
{
Expand Down Expand Up @@ -1648,8 +1650,8 @@
"plt.semilogx(t2, hm2_4[-1], label=\"ttim model - observation well\")\n",
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"drawdown [m]\")\n",
"plt.suptitle(\"Model Results - Two Aquifer Model + Well Parameters\")\n",
"plt.legend()"
"plt.title(\"Model Results - Two Aquifer Model + Well Parameters\")\n",
"plt.legend();"
]
},
{
Expand Down Expand Up @@ -1898,7 +1900,7 @@
")\n",
"\n",
"plt.legend()\n",
"plt.suptitle(\"Error bar plot of calibrated hydraulic conductivities\")\n",
"plt.title(\"Error bar plot of calibrated hydraulic conductivities\")\n",
"plt.ylabel(\"K [m/d]\")\n",
"# plt.ylim([278,289])\n",
"plt.xlabel(\"Model\")"
Expand Down
14 changes: 7 additions & 7 deletions docs/04pumpingtests/confined5_nevada.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
"jupyter": {
"source_hidden": true
},
"tags": []
"tags": [
"hide-input"
]
},
"outputs": [
{
Expand Down Expand Up @@ -146,7 +148,6 @@
" ax.set_xlabel(\"Distance [m]\")\n",
" ax.set_ylabel(\"Relative height [m]\")\n",
" ax.set_title(\"Conceptual Model - Nevada Example\")\n",
" plt.show()\n",
"\n",
"\n",
"conc_confined5()"
Expand Down Expand Up @@ -621,9 +622,8 @@
"plt.semilogx(t2, hm2[-1], label=\"TTim UE-25a#1\")\n",
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"drawdown [m]\")\n",
"plt.suptitle(\"Model Results - Simulation 1\")\n",
"plt.legend()\n",
"plt.show()"
"plt.title(\"Model Results - Simulation 1\")\n",
"plt.legend();"
]
},
{
Expand Down Expand Up @@ -890,7 +890,7 @@
"plt.semilogx(t2, ht2[-1], label=\"TTim UE-25a#1\")\n",
"plt.xlabel(\"time [d]\")\n",
"plt.ylabel(\"drawdown [m]\")\n",
"plt.suptitle(\"Model Results - Simulation 1\")\n",
"plt.title(\"Model Results - Simulation 1\")\n",
"plt.legend()\n",
"plt.show()"
]
Expand Down Expand Up @@ -1136,7 +1136,7 @@
")\n",
"\n",
"plt.legend()\n",
"plt.suptitle(\"Error bar plot of calibrated hydraulic conductivities\")\n",
"plt.title(\"Error bar plot of calibrated hydraulic conductivities\")\n",
"plt.ylabel(\"K [m/d]\")\n",
"# plt.ylim([278,289])\n",
"plt.xlabel(\"Model\")"
Expand Down
47 changes: 21 additions & 26 deletions docs/04pumpingtests/leaky1_dalem.ipynb

Large diffs are not rendered by default.

37 changes: 16 additions & 21 deletions docs/04pumpingtests/leaky2_hardixveld.ipynb

Large diffs are not rendered by default.

27 changes: 11 additions & 16 deletions docs/04pumpingtests/leaky3_texashill.ipynb

Large diffs are not rendered by default.

23 changes: 9 additions & 14 deletions docs/04pumpingtests/slug1_pratt_county.ipynb

Large diffs are not rendered by default.

27 changes: 11 additions & 16 deletions docs/04pumpingtests/slug2_falling_head.ipynb

Large diffs are not rendered by default.

27 changes: 11 additions & 16 deletions docs/04pumpingtests/slug3_multiwell.ipynb

Large diffs are not rendered by default.

20 changes: 11 additions & 9 deletions docs/04pumpingtests/slug4_dawsonville.ipynb

Large diffs are not rendered by default.

41 changes: 18 additions & 23 deletions docs/04pumpingtests/unconfined1_vennebulten.ipynb

Large diffs are not rendered by default.

31 changes: 13 additions & 18 deletions docs/04pumpingtests/unconfined2_moench.ipynb

Large diffs are not rendered by default.

0 comments on commit e813936

Please sign in to comment.