Skip to content

Commit

Permalink
Merge pull request #240 from ArtesiaWater/dev
Browse files Browse the repository at this point in the history
New minor release 0.12.3
  • Loading branch information
OnnoEbbens authored Sep 23, 2024
2 parents a8c22c9 + f02849d commit 9850536
Show file tree
Hide file tree
Showing 18 changed files with 1,755 additions and 118 deletions.
5 changes: 1 addition & 4 deletions examples/01_groundwater_observations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@
"metadata": {},
"outputs": [],
"source": [
"import hydropandas as hpd\n",
"\n",
"import logging\n",
"from IPython.display import HTML\n",
"\n",
"import logging"
"import hydropandas as hpd"
]
},
{
Expand Down
18 changes: 9 additions & 9 deletions examples/02_knmi_observations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
"metadata": {},
"outputs": [],
"source": [
"import hydropandas as hpd\n",
"from hydropandas.io import knmi\n",
"from IPython.display import display\n",
"import logging\n",
"\n",
"import pandas as pd\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"import pandas as pd\n",
"from IPython.display import display\n",
"from scipy.interpolate import NearestNDInterpolator, RBFInterpolator\n",
"from tqdm.auto import tqdm\n",
"from scipy.interpolate import RBFInterpolator, NearestNDInterpolator\n",
"\n",
"import logging"
"import hydropandas as hpd\n",
"from hydropandas.io import knmi"
]
},
{
Expand Down Expand Up @@ -114,7 +114,7 @@
"print(f\"name: {o.name}\")\n",
"print(f\"x,y: {(o.x, o.y)}\")\n",
"print(f\"station: {o.station}\")\n",
"print(f\"unit\", o.unit)\n",
"print(\"unit\", o.unit)\n",
"print(\"metadata:\")\n",
"for key, item in o.meta.items():\n",
" print(f\" {key}: {item}\")"
Expand Down Expand Up @@ -650,7 +650,7 @@
"\n",
" ax[\"A\"].set_title(f\"Interpolation: {kernel}\")\n",
" ax[\"A\"].pcolormesh(grid[0], grid[1], val_rbf, vmin=vmin, vmax=vmax)\n",
" ax[\"B\"].set_title(f\"Interpolation: Nearest\")\n",
" ax[\"B\"].set_title(\"Interpolation: Nearest\")\n",
" ax[\"B\"].pcolormesh(grid[0], grid[1], val_nea, vmin=vmin, vmax=vmax)\n",
" ax[\"A\"].scatter(*coor.T, c=val, s=100, ec=\"k\", vmin=vmin, vmax=vmax)\n",
" p = ax[\"B\"].scatter(*coor.T, c=val, s=100, ec=\"k\", vmin=vmin, vmax=vmax)\n",
Expand Down
4 changes: 1 addition & 3 deletions examples/03_hydropandas_and_pastas.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@
}
],
"source": [
"import hydropandas as hpd\n",
"import pastas as ps\n",
"import pastastore as pst\n",
"\n",
"import logging\n",
"import hydropandas as hpd\n",
"\n",
"ps.set_log_level(\"ERROR\")\n",
"hpd.util.get_color_logger(\"INFO\")\n",
Expand Down
3 changes: 1 addition & 2 deletions examples/04_merging_observations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@
"source": [
"import numpy as np\n",
"import pandas as pd\n",
"import hydropandas as hpd\n",
"from IPython.display import display\n",
"\n",
"import logging\n",
"import hydropandas as hpd\n",
"\n",
"hpd.util.get_color_logger(\"INFO\");"
]
Expand Down
7 changes: 2 additions & 5 deletions examples/05_bronhouderportaal_bro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,9 @@
"metadata": {},
"outputs": [],
"source": [
"import hydropandas as hpd\n",
"import pandas as pd\n",
"\n",
"import logging\n",
"from IPython.display import HTML\n",
"\n",
"import pandas as pd"
"import hydropandas as hpd"
]
},
{
Expand Down
5 changes: 1 addition & 4 deletions examples/06_lizard.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@
"metadata": {},
"outputs": [],
"source": [
"import logging\n",
"from IPython.display import HTML\n",
"\n",
"import pastas as ps\n",
"import pandas as pd\n",
"\n",
"import hydropandas as hpd"
]
},
Expand Down
Loading

0 comments on commit 9850536

Please sign in to comment.