An end-to-end dynamic flood simulation.
Project description
Dynamic Flood Simulations
Created in collaboration with Northeastern University
Overview
This end-to-end dynamic flood simulation is intended for use with the Analytics workflow in UVDAT (Urban Visualization and Data Analysis Toolkit). This module consists of three parts: downscaling prediction, hydrological prediction, and hydrodynamic prediction.
Explanation
First, an AI downscaling model uses regional climate projections to determine future local precipitation conditions, such as the intensity of extreme rainstorms. These extreme precipitation levels are fed into a hydrological model, which uses precipitation and evapotranspiration to determine runoff and discharge. Finally, a hydrodynamic model uses discharge to map flood depth over time.
This is a proof of concept for the Charles River in Boston that could be translated to other rivers and cities. The user selects the inputs described below, and the output is a flood simulation, represented as a multiframe stacked GeoTIFF raster, a time-varying map of flood depth with one frame per hour for 24 hours.
Inputs
-
Time Period: the 20 year time period in which to predict a flood. Options are "2031-2050" and "2041-2060" (the former is the default).
-
Annual Probability: the probability that a flood of this magnitude will occur in any given year. This value must be greater than 0 and less than 1. The default is 0.04, which represents a 1 in 25 year flood.
-
Hydrograph: a list of proportions that sum to 1; these represent fractions of the total rainfall volume per timestep. This may also be specified as Hydrograph Name, where options include "short_charles" and "long_charles", which represent premade hydrograph data. The former is the default.
-
Potential Evapotranspiration Percentile: Select the percentile value for potential evapotranspiration
-
Soil Moisture Percentile: Select the percentile value for soil moisture
-
Ground Water Percentile: Select the percentile value for ground water
-
Initial Condition Set: Initial conditions "001", "002", and "003" start real-world emissions from year 1850 with the climate state from the 1001st, 1021st, and 1041st year of a pre-industrial control simulation. Since Earth's climate undergoes multi-year and multi-decadal cycles, the different initializations reveal the range of possible climates in real-world years 2031 and beyond.
Installation
pip install uvdat-flood-sim
Example usage
To run a flood simulation with default inputs:
python -m uvdat_flood_sim
To see the help menu explaining how to use arguments to specify input values:
python -m uvdat_flood_sim --help
Viewing Results
By default, results will be displayed with a matplotlib animation. This animation is saved in the outputs folder as animation.gif. Results are also saved in the outputs folder as a multiframe geospatial tiff called flood_simulation.tif, which can be added to UVDAT for visualization.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uvdat_flood_sim-1.0.4.tar.gz.
File metadata
- Download URL: uvdat_flood_sim-1.0.4.tar.gz
- Upload date:
- Size: 29.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68d2dcad5ced7cca465dc122771e3452859bc8dbab29b1e523f8183d47b18e17
|
|
| MD5 |
5ccad7f17f3f68164221f7cc611644a6
|
|
| BLAKE2b-256 |
32678a3c4c596c00717a939d8ad1cacfa6892023b3551222d50be9f64eea6461
|
Provenance
The following attestation bundles were made for uvdat_flood_sim-1.0.4.tar.gz:
Publisher:
release.yml on OpenGeoscience/uvdat-flood-sim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uvdat_flood_sim-1.0.4.tar.gz -
Subject digest:
68d2dcad5ced7cca465dc122771e3452859bc8dbab29b1e523f8183d47b18e17 - Sigstore transparency entry: 1029630379
- Sigstore integration time:
-
Permalink:
OpenGeoscience/uvdat-flood-sim@9fe5d0981961232e11c05936dcd2010092602157 -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/OpenGeoscience
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9fe5d0981961232e11c05936dcd2010092602157 -
Trigger Event:
release
-
Statement type:
File details
Details for the file uvdat_flood_sim-1.0.4-py3-none-any.whl.
File metadata
- Download URL: uvdat_flood_sim-1.0.4-py3-none-any.whl
- Upload date:
- Size: 29.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5b36d967ca318c0d0442f7c43258fa20fe5b00c64e14c8820523281116e8a55
|
|
| MD5 |
a5700974694f1eb553693adde1213a26
|
|
| BLAKE2b-256 |
de27713ff2ffa1285f48b68d83dc492cbebf9ff37329f5b4546d262cf0971c93
|
Provenance
The following attestation bundles were made for uvdat_flood_sim-1.0.4-py3-none-any.whl:
Publisher:
release.yml on OpenGeoscience/uvdat-flood-sim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uvdat_flood_sim-1.0.4-py3-none-any.whl -
Subject digest:
e5b36d967ca318c0d0442f7c43258fa20fe5b00c64e14c8820523281116e8a55 - Sigstore transparency entry: 1029630431
- Sigstore integration time:
-
Permalink:
OpenGeoscience/uvdat-flood-sim@9fe5d0981961232e11c05936dcd2010092602157 -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/OpenGeoscience
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9fe5d0981961232e11c05936dcd2010092602157 -
Trigger Event:
release
-
Statement type: