Source code for: Evaluating methods for debris-flow prediction based on rainfall in an Alpine catchment

This is the source code to compute rainfall thresholds for debris flows or landslides following Hirschberg et al. (2021).

How to install and run the example

Pyhton has to be installed to run the codes. To make sure it works correctly, it is easiest to install Anaconda and create an environment with the right packages from the yml-file. To this end, in a command-line interpreter, change the working directory to where you saved this project and run the following:

$ conda env create -f environment.yml

$ conda activate thresholds or $ source activate thresholds

To run an example:

$ python run_example()

It will save a dat-file and a figure as Fig. 7 in Hirschberg et al. (2021), where more information can be found.

License

GNU General Public License v3.0

Funding Information:

This work was supported by:
  • WSL CCAMM

Related Datasets

  • McArdell, Brian W.; Hirschberg, Jacob (2020). Debris-flow volumes at the Illgraben 2000-2017. EnviDat. doi:10.16904/envidat.173.

Related Publications

  • Hirschberg J., Badoux A., McArdell B.W., Leonarduzzi E., Molnar P. (2021) Evaluating methods for debris-flow prediction based on rainfall in an Alpine catchment. Nat. Hazards Earth Syst. Sci. 21(9), 2773-2789. doi.org/10.5194/nhess-21-2773-2021

Citation:

Hirschberg, Jacob (2021). Source code for: Evaluating methods for debris-flow prediction based on rainfall in an Alpine catchment. EnviDat. doi:10.16904/envidat.240.

DataCite ISO 19139 GCMD DIF README.txt BibTex RIS

Data and Resources

Metadata

Field Values
DOI 10.16904/envidat.240
Publication State Published
Authors
  • Email: jacob.hirschbergfoo(at)wsl.ch ORCID: https://orcid.org/0000-0002-0348-7921 Given Name: Jacob Family Name: Hirschberg Affiliation: WSL
Contact Person Given Name: Jacob Family Name: Hirschberg Email: jacob.hirschbergfoo(at)wsl.ch Affiliation: WSL ORCID: https://orcid.org/0000-0002-0348-7921
Subtitles
Publication Publisher: EnviDat Year: 2021
Dates
  • Type: Created Date: 2021-08-17
Version 1.0
Type dataset
General Type Dataset
Language English
Location Switzerland
Content License Other (Specified in the description)
Last Updated March 14, 2022, 09:55 (UTC)
Created August 17, 2021, 07:01 (UTC)