This repository contains the codes for the Geo-INQUIRE tool to compute the rainfall-induced landslide hazard over an area. This verison of the code can assume a constant 24-h rainfall acummulation over the entire area covered by the susceptibility map, or use a user-provided map with the 24h rainfall acummulations over the area covered by the susceptibility map.
Precipitation-induced landslide hazard is one of the services included in the GEO-INQUIRE Virtual Access to products enabling curiosity-driven science for geohazard and multi-risk assessment (see https://www.geo-inquire.eu/virtual-access/geohazard-and-multi-risk-assessment for details).
- Installation process: The landslide hazard tool requires to have installed python and Poetry.
- Software dependencies: Python version and dependecies are specified in the Poetry .toml file.
Input files must be saved (before running the hazard tool) in the ../Data/ folder:
- input_variables.csv: csv file where the mode and input rainfall can be specified.
- *_sus.tif : Tile of the susceptibility map over hazard will be computed. Must be downloaded from map repository.
- StdMaxDayRain.txt: Standard deviation of the maximum daily rainfall.
-
In place the tile of the susceptibiluty map covering the area you want to compute the hazard in the folder
./Tool-Hazard-Map/input. -
In the case of wanting to use a spatial-variable rainfall map place it in the folder the folder
./Tool-Hazard-Map/input. The map needs to be in ".tif" format, cover the area of the susceptibility map and use the WGS84 (EPSG: 4326) projection. -
Modify the
input_variables.csvexcel: 3.3. Select mode; "constant" if you desire to apply a constat user-specified rainfall acummulation over an area. "map" if you desire to use your own rainfall map. 3.4. In case of using the mode "constant" specify the 24 h rainfall acummulation in [mm] over the area. 3.5. In case of using teh mode "map" specify the name of the .tif file containing the rainfall map (without the file extension). -
The code you need to runn is stored in
./Tool-Hazard-Map/Codefolder -
Before you runn the code make sure you have activated the poetry enviroment:
poetry shell -
From the
./Tool-Hazard-Map/Codefolder in the terminal run:python Hazard.py -
The outpurs are stored in the
../Results/constant/folder.
Results from the Hazard Tool are saved in the following folder which is authomatically generated ../Results/constant/
- Rainfall Hazard: Rainfall hazard class in .tif format. Saved as:
./RainHazard/*_RainHazard.tif - Hazard map: in .tif format. Saved as:
./Hazard/*_Hazard.tif
23.04.2024
Work in a separate branch. Do a pull request to merge with main. Merging with main requires review.
