Skip to content
Martin20494Public

About

A package for estimating uncertainty in flood model outputs caused by square grid orientation and bathymetry estimation

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

167 Commits

Folders and files

Repository files navigation

FloodUnEs

Definition

A package for estimating uncertainty in outputs of LISFLOOD-FP flood model outputs caused by estimated river bathymetry and arbitrary conventions in grid alignment.

Authors

Martin Nguyen, Prof. Matthew D. Wilson, Dr. Emily M. Lane, Prof. James Brasington, and Dr. Rose A. Pearson

Overview

Numerous studies have extensively employed Monte Carlo-based methods to characterise uncertainty in flood modelling due to their simplicity and flexibility. However, these approaches are time-consuming and computationally extensive. Recognising the need for efficiency, machine learning has emerged as a promising alternative with comparable results. This paper introduces an advanced uncertainty estimation method for flood modelling, utilising the Bayes Neural Network with Bayes by Backprop (Blundell et al., 2015; Shridhar et al., 2019). The model aims to forecast variations in flood modelling predictions caused by uncertainty in the topographical and bathymetric processes, offering a more efficient and accurate approach to address the challenges posed by traditional Monte Carlo methods.

Installation

To install, you can create a conda environment using the provided environment.yaml file.

For Windows:

conda env create -f environment.yaml

For Linux:

module purge
module load Miniconda3/23.10.0-1
conda env create -f environment.yaml

Then, depending on the type of your machine, you can download cudatoolkit as instruction here and then PyTorch package from here. The author used these two lines for downloading cudatoolkit version 11.8.0 and PyTorch accordingly for both Windows and Linux.

conda install cuda -c nvidia/label/cuda-11.8.0
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

Description

We used the BNNBB approach to developed three models - Model 1, 2, and 3. The model 1 and 2 are used to predict the proportion of each pixel being flooded (the pF map) and the standard deviation of maximum flood depth (the sdMWD map). We only need four fundamental inputs - DEM, Roughness lengthness, Water depth, and Water surface elevation (produced from one-time running LISFLOOD model) to plug into the FloodUnEs for predictions. The architectures of these models are presented as pictures below:

Acknowledgement

This project is part of the NIWA-led national programme, "Reducing flood inundation hazard and risk across Aotearoa - New Zealand", funded by the Ministry for Business, Innovation and Employment (MBIE) Endeavour Programme. A PhD scholarship was provided from this programme to Martin Nguyen. The LISFLOOD-FP flood model was developed at the University of Bristol and is available here.

References

For scripts

[1] @danielkelshaw

[2] @JonOnEarth

[3] @kumar-shridhar

For ideas

[1] Blundell, C., Cornebise, J., Kavukcuoglu, K., & Wierstra, D. (2015). Weight uncertainty in neural networks. In International conference on machine learning (pp. 1613 - 1622)

[2] Shridhar, K., Laumann, F., & Linicki, M. (2019). A comprehensive guide to bayesian convolutional neural network with variational reference. arXiv preprint arXiv:1901.02731

Contacts

Github author: Martin Nguyen martinnguyen20494@gmail.com

About

A package for estimating uncertainty in flood model outputs caused by square grid orientation and bathymetry estimation

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages