You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user_guide/8_using_sgu_wells.ipynb
+5-40Lines changed: 5 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -4,19 +4,7 @@
4
4
"cell_type": "markdown",
5
5
"id": "0f0cc3fb-4041-4c96-a87e-c6464a51a4d3",
6
6
"metadata": {},
7
-
"source": [
8
-
"# Using SGU wells\n",
9
-
"\n",
10
-
"This notebook demonstrates the use of the python package `sgu-client` and how to integrate with `gwrefpy`. The package is installed along with `gwrefpy` if recommened add-ons are included: `pip install \"gwrefpy[recommended]\"`\n",
11
-
"\n",
12
-
"The Geological Survey of Sweden (SGU) serves an API for their groundwater monitoring network. A Python implementation of an API client has been developed in [`sgu-client`](https://github.com/officialankan/sgu-client) which makes getting observed groundwater levels from SGU into Python a breeze. \n",
13
-
"\n",
14
-
"\n",
15
-
"\n",
16
-
"```{note}\n",
17
-
"The `sgu-client` package is not affiliated with, supported or endorsed by SGU.\n",
18
-
"```"
19
-
]
7
+
"source": "# Using SGU wells\n\nThis notebook demonstrates the use of the python package `sgu-client` and how to integrate with `gwrefpy`. The package is installed along with `gwrefpy` if recommended add-ons are included: `pip install \"gwrefpy[recommended]\"`\n\nThe Geological Survey of Sweden (SGU) serves an API for their groundwater monitoring network. A Python implementation of an API client has been developed in [`sgu-client`](https://github.com/officialankan/sgu-client) which makes getting observed groundwater levels from SGU into Python a breeze. \n\n\n\n```{note}\nThe `sgu-client` package is not affiliated with, supported or endorsed by SGU.\n```"
20
8
},
21
9
{
22
10
"cell_type": "code",
@@ -45,16 +33,7 @@
45
33
"cell_type": "markdown",
46
34
"id": "fed96e2d-5a13-4522-a9ce-9274f1fa30d7",
47
35
"metadata": {},
48
-
"source": [
49
-
"## Getting observed groundwater levels\n",
50
-
"\n",
51
-
"This basic example will show how to fetch observed groundwater levels. For more options, please refer to [these docs](https://github.com/officialankan/sgu-client?tab=readme-ov-file#observed-groundwater-levels).\n",
52
-
"\n",
53
-
"Below, we wrangle the data in two steps:\n",
54
-
"\n",
55
-
"1. remove the UTC timezone from the fetched timeseries to achieve compatability with the example model we will load later,\n",
56
-
"2. resample to daily medians to align the frequency with that of the example model we will load later"
57
-
]
36
+
"source": "## Getting observed groundwater levels\n\nThis basic example will show how to fetch observed groundwater levels. For more options, please refer to [these docs](https://github.com/officialankan/sgu-client?tab=readme-ov-file#observed-groundwater-levels).\n\nBelow, we wrangle the data in two steps:\n\n1. remove the UTC timezone from the fetched timeseries to achieve compatibility with the example model we will load later,\n2. resample to daily medians to align the frequency with that of the example model we will load later"
58
37
},
59
38
{
60
39
"cell_type": "code",
@@ -330,19 +309,7 @@
330
309
"cell_type": "markdown",
331
310
"id": "1ba49a2e-e227-4558-82a0-7e8489a3695c",
332
311
"metadata": {},
333
-
"source": [
334
-
"## Fitting to modeled groundwater levels\n",
335
-
"\n",
336
-
"SGU serves an API for accessing modeled groundwater levels. Let's explore how we can integrate it with `gwrefpy`. \n",
337
-
"\n",
338
-
"More examples on fetching modeled groundwater levels can be found [here](https://github.com/officialankan/sgu-client?tab=readme-ov-file#modeled-groundwater-levels).\n",
339
-
"\n",
340
-
"Below, we first get the metadata for the monitoring well *4_3* to retrieve its coordinates. We use that to get modeled groundwater levels at the site. Lastly, we get the observed levels which we will need for the fitting.\n",
341
-
"\n",
342
-
"```{note}\n",
343
-
"The example below assumes we are interested in modeled **minor resources** (i.e. shallow or fast responding groundwater systems). To use this in production, the user should make sure to now the modeling workflow and the associated uncertainties related to SGUs modeled groundwater levels.\n",
344
-
"```"
345
-
]
312
+
"source": "## Fitting to modeled groundwater levels\n\nSGU serves an API for accessing modeled groundwater levels. Let's explore how we can integrate it with `gwrefpy`. \n\nMore examples on fetching modeled groundwater levels can be found [here](https://github.com/officialankan/sgu-client?tab=readme-ov-file#modeled-groundwater-levels).\n\nBelow, we first get the metadata for the monitoring well *4_3* to retrieve its coordinates. We use that to get modeled groundwater levels at the site. Lastly, we get the observed levels which we will need for the fitting.\n\n```{note}\nThe example below assumes we are interested in modeled **minor resources** (i.e. shallow or fast responding groundwater systems). For real-world applications, users should familiarize themselves with SGU's modeling methodology and the associated uncertainties of the modeled groundwater levels.\n```"
346
313
},
347
314
{
348
315
"cell_type": "code",
@@ -370,9 +337,7 @@
370
337
"cell_type": "markdown",
371
338
"id": "ee8d43a6-4869-48a1-b85b-529a1182bd4c",
372
339
"metadata": {},
373
-
"source": [
374
-
"Below, we create a model and add the observed levels as a observation well and the modeled levels as a reference well."
375
-
]
340
+
"source": "Below, we create a model and add the observed levels as an observation well and the modeled levels as a reference well."
0 commit comments