Read-only mirror of https://github.com/foen-admin-ch/groundwater-extreme-analysis — Swiss Federal Office for the Environment FOEN. Issues & pull requests at the source.
  • Jupyter Notebook 99.9%
  • R 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-12-15 13:01:35 +01:00
.renku renkulab.io: config set interactive.default_url 2024-12-16 07:31:46 +00:00
data Upload New File 2024-10-09 14:06:27 +00:00
notebooks fix typos 2025-04-29 14:35:07 +00:00
workflows renkulab.io: init BAFU Grundwasser Extremwertanalyse 2024-10-09 13:49:43 +00:00
.dockerignore renkulab.io: init BAFU Grundwasser Extremwertanalyse 2024-10-09 13:49:43 +00:00
.gitignore renkulab.io: init BAFU Grundwasser Extremwertanalyse 2024-10-09 13:49:43 +00:00
.gitlab-ci.yml renkulab.io: init BAFU Grundwasser Extremwertanalyse 2024-10-09 13:49:43 +00:00
.renkulfsignore renkulab.io: init BAFU Grundwasser Extremwertanalyse 2024-10-09 13:49:43 +00:00
bafu-grundwasser-extremwertanalyse.Rproj renkulab.io: init BAFU Grundwasser Extremwertanalyse 2024-10-09 13:49:43 +00:00
Dockerfile renkulab.io: init BAFU Grundwasser Extremwertanalyse 2024-10-09 13:49:43 +00:00
environment.yml renkulab.io: init BAFU Grundwasser Extremwertanalyse 2024-10-09 13:49:43 +00:00
install.R add block shifting in example 4 2024-12-04 09:51:20 +00:00
README.md Update README.md 2025-12-15 10:43:17 +01:00
requirements.txt renkulab.io: init BAFU Grundwasser Extremwertanalyse 2024-10-09 13:49:43 +00:00

Estimation of Return Periods of the Groundwater Level

Introduction

The guidelines for the estimation of return periods of the groundwater level have been commissioned by the Federal Office for the Environment (FOEN) to provide a standardized procedure for estimating retrun perdiods of groundwater level through statistical analysis. Specifically, the report (LINK) offers a comprehensive explanation, accessible to non-experts, of the principles and requirements underlying the statistical estimation of expected yearly maximum values. Accompanying this explanation are four case studies that illustrate the analysis of groundwater level time series in Switzerland. These four examples, that can be found in this project, provide a step-by-step guide to obtaining the desired estimates, as well as a quantification of their associated uncertainties, using the R programming language. We also provide a “short” version of the examples 2 and 4, where the guidelines are applied on only the last five years of data and one “minima” version of Example 3, where we analyze minima instead of maxima to illustrate that the proposed guidelines apply in a very similar way.

The examples take the form of Jupyter Notebooks that allow to alternate between code and corresponding explanations. They give step by step instructions on real data provided by the FOEN. These notebooks can directly be accessed here.

Running Notebooks using Renkulab

The simplest way to run the notebooks is to use Renkulab. This service allows to run and reproduce the results without having to setup your own environment.

Once logged into the platform Renku, the user can execute the notebooks using a computing environment provided by the platform called a session. From the project page, simply click on the “Launch” button to start a JupyterLab environment that will allow you to run the notebooks without having to worry about installing any software and/or packages.

For a detailed presentation of Renkulabs functionalities, extensive tutorials are available here.

Running Notebooks on a local machine

It is also possible to download the notebooks and run the example directly on a local computer. On the GitHub of the project, click on “Code”, scroll down to “Download ZIP” to download the files on your own machine. RenkuLab being a publicly available platform, this method should be preferred when trying to run the notebooks on new, non-public, data. Running the notebook on a local machine necessitates installing Jupyter Notebooks with the R kernel (instructions for Jupyter and the R kernel) and installing all the necessary R packages whose list can be found in the install.R file.