Skip to content

This repository contains the code for paper "Multivariate compound events drive historical floods and associated losses along the U.S. East and Gulf coasts"

License

Notifications You must be signed in to change notification settings

javedali99/Ali_et_al_2025_compound-flooding-impacts-usa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

disaster

Multivariate compound events drive historical floods and associated losses along the U.S. East and Gulf coasts


This repository contains Python scripts for data processing, analysis, impact assessment, clustering, spatial analysis, and visualization supporting the research paper: "Multivariate compound events drive historical floods and associated losses along the U.S. East and Gulf coasts", published in npj Natural Hazards.

The study investigates compound flood events caused by multiple flood drivers (e.g., storm surge, precipitation, river discharge, soil moisture, wave heights) across 203 coastal counties in the U.S. East and Gulf coasts from 1980 to 2018. We quantify compound flooding frequencies, identify dominant drivers, analyze regional patterns, and link these events to socio-economic losses (e.g., property and crop damage).


CITATIONS

  1. Ali, J. (2024). Analysis of historical socio-economic losses driven by multivariate compound flooding events (Version 1). Zenodo. https://doi.org/10.5281/zenodo.14510116
  1. Ali, J., Wahl, T., Morim, J. et al. Multivariate compound events drive historical floods and associated losses along the U.S. East and Gulf coasts. npj Nat. Hazards 2, 19 (2025). https://doi.org/10.1038/s44304-025-00076-5

Scripts Description

1. Data Preprocessing

These scripts process flood drivers datasets to prepare for analysis:

  • 1_storm-surge-data-prep.py: Prepares storm surge data, computes percentiles, and extracts maxima during hazard windows.
  • 2_precip-data-prep.py: Processes precipitation data, filters relevant time periods, and computes peak rainfall events.
  • 3_discharge-data-prep.py: Prepares river discharge data, resamples to daily maxima, and analyzes key hazard periods.
  • 4_soil-moisture-data-prep.py: Analyzes soil moisture data, calculates percentiles, and integrates with hazard data.
  • 5_wave-data-prep.py: Prepares wave height data, calculates percentiles, and identifies maxima during hazard windows.

2. Flood Impact Analysis

Scripts to combine and analyze flooding events and their socio-economic impacts:

  • 6_counties_flood_impact_analysis.py: Analyzes flood driver data at the county level and identifies significant compound events.
  • 10_create-drivers-contributions-columns-in-final-df.py: Computes contributions of each hydrometeorological driver to compound flood events.
  • 11_subset-final-df-csv.py: Filters the final dataset based on thresholds for compound flooding events and excludes irrelevant FIPS codes.

3. Visualization

Scripts to visualize the results of flood driver analysis:

  • 8_heatmaps_for_all_counties.py: Generates heatmaps to display driver contributions across all counties.
  • 9_piecharts_for_compound_events.py: Creates pie charts showing the contributions of each driver to flooding events for key counties.
  • 15_create-maps-for-spatial-distributions.py: Creates choropleth maps to visualize flood driver contributions and loss metrics across counties.
  • 16_barplot-state-level-ce.py: Produces bar plots highlighting the percentage of compound events and losses at the state level.

4. Clustering and Spatial Analysis

Scripts to identify spatial patterns and dominant flood drivers:

  • 12_hierarchical-clustering.py: Performs hierarchical clustering to group counties with similar compound flooding characteristics.
  • 13_visualize-clustering-results.py: Generates spatial maps to visualize clustering results.
  • 14_dominant-drivers-in-clusters.py: Summarizes the dominant flood drivers for each identified cluster using pie charts.

5. Loss Contribution Analysis

Scripts for detailed analysis of property and crop losses due to compound flooding:

  • 17_median-CF-losses-contributions.py: Computes median loss contributions for property and crop damage and generates maps to display the results.

About

This repository contains the code for paper "Multivariate compound events drive historical floods and associated losses along the U.S. East and Gulf coasts"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages