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

DOI

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

Identifier
DOI https://doi.org/10.16904/envidat.240
Metadata Access https://www.envidat.ch/api/action/package_show?id=6fe790e2-d008-4dd5-a7c8-2a7849d05596
Provenance
Creator Jacob, Hirschberg, ORCID logo
Publisher EnviDat
Publication Year 2021
Funding Reference WSL CCAMM,
Rights other-undefined; Other (Specified in the description)
OpenAccess true
Contact envidat(at)wsl.ch
Representation
Language English
Resource Type Dataset
Version 1.0
Discipline Environmental Sciences
Spatial Coverage (7.574W, 46.250S, 7.663E, 46.335N); Switzerland