Table of Contents
Data Acquisition:
Data Preprocessing:
Flow Direction Calculation:
Flow Accumulation Calculation:
Stream Network Extraction:
Home Technology peripherals AI Flood Risk Assessment Using Digital Elevation & HAND Models

Flood Risk Assessment Using Digital Elevation & HAND Models

Mar 19, 2025 am 09:28 AM

This article demonstrates a Python and Jupyter Notebook workflow for rapid flood risk assessment in northeastern Brazil's rural and small-city areas. Leveraging a digital elevation model (DEM) and the Height Above Nearest Drainage (HAND) model, this method provides a real-time, low-resource solution for identifying inundation likelihood.

Flood Risk Assessment Using Digital Elevation & HAND Models

Key Questions Addressed:

  • DEM data acquisition for flood risk analysis.
  • Setting up the Python programming environment.
  • DEM preprocessing for drainage extraction.
  • Utilizing the HAND model to classify flood risk levels ("very high," "high," "moderate," "low," "very low").

Table of Contents:

  • Introduction
  • Environment Setup
  • Data Acquisition and Preparation
    • Data Acquisition
    • Data Preprocessing
  • Flow Direction and Accumulation
    • Flow Direction Calculation
    • Flow Accumulation Calculation
    • Stream Network Extraction
  • HAND Model Application
  • Flood Risk Classification
  • Results and Discussion
  • Conclusion
    • References
  • FAQ

Environment Setup:

This workflow utilizes a Jupyter Notebook running Python 3.12 and the following libraries: NumPy, WhiteboxTools, GDAL, RichDEM, and Matplotlib.

Data Acquisition and Preparation:

Data Acquisition:

Elevation data is sourced from FABDEM (Forest and Buildings Removed Copernicus DEM), freely accessible via the University of Bristol's website [1]. FABDEM offers a global 1-arc-second resolution DEM (approximately 30 meters at the equator), correcting for building and tree height biases. This study focuses on a 1º x 1º area in northeastern Brazil (6ºS 39ºW to 5ºS 38ºW, WGS84). This region, shown in Figure 1, experienced unusually heavy rainfall in 2024.

Flood Risk Assessment Using Digital Elevation & HAND Models

Data Preprocessing:

Flood Risk Assessment Using Digital Elevation & HAND Models

Preprocessing involves filling DEM sinks (depressions) using WhiteboxTools and RichDEM to ensure accurate hydrological modeling.

Flow Direction and Accumulation:

Flow Direction Calculation:

Flow direction is calculated using the D8 method, assigning each pixel a value (1-128) representing the steepest downslope direction. (See Figure 2).

Flood Risk Assessment Using Digital Elevation & HAND Models

Flood Risk Assessment Using Digital Elevation & HAND Models

Flow Accumulation Calculation:

Flow accumulation identifies areas of water collection by counting upstream contributing pixels. High accumulation values indicate streams and rivers. (See Figure 3).

Flood Risk Assessment Using Digital Elevation & HAND Models

Stream Network Extraction:

A threshold (15 in this study) is applied to the flow accumulation raster to delineate the stream network.

HAND Model Application:

The HAND model calculates the height of each DEM pixel above the nearest drainage point. Higher values indicate lower flood risk. (See Figure 4).

Flood Risk Assessment Using Digital Elevation & HAND Models

Flood Risk Classification:

Based on HAND values, flood risk is classified into five levels (Table 1).

Table 1: Flood Risk Classification

Risk Level Threshold (m) Class Value
Very High 0 – 1 5
High 1 – 2 4
Medium 2 – 6 3
Low 6 – 10 2
Very Low ≥10 1

Results and Discussion:

The classified HAND raster (Figure 5) and its GeoTIFF export (Figure 6, visualized in QGIS) highlight high-risk (yellow) and very high-risk (red) areas near the stream network.

Flood Risk Assessment Using Digital Elevation & HAND Models

Flood Risk Assessment Using Digital Elevation & HAND Models

Conclusion:

The HAND model provides a computationally efficient and rapid method for flood risk assessment, particularly valuable in resource-constrained settings. This workflow is adaptable to various regions and situations.

Jupyter Notebook available here.

References: (List of references as provided in the original text)

Frequently Asked Questions: (FAQ section as provided in the original text)

The above is the detailed content of Flood Risk Assessment Using Digital Elevation & HAND Models. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1669
14
PHP Tutorial
1273
29
C# Tutorial
1256
24
How to Build MultiModal AI Agents Using Agno Framework? How to Build MultiModal AI Agents Using Agno Framework? Apr 23, 2025 am 11:30 AM

While working on Agentic AI, developers often find themselves navigating the trade-offs between speed, flexibility, and resource efficiency. I have been exploring the Agentic AI framework and came across Agno (earlier it was Phi-

How to Add a Column in SQL? - Analytics Vidhya How to Add a Column in SQL? - Analytics Vidhya Apr 17, 2025 am 11:43 AM

SQL's ALTER TABLE Statement: Dynamically Adding Columns to Your Database In data management, SQL's adaptability is crucial. Need to adjust your database structure on the fly? The ALTER TABLE statement is your solution. This guide details adding colu

Beyond The Llama Drama: 4 New Benchmarks For Large Language Models Beyond The Llama Drama: 4 New Benchmarks For Large Language Models Apr 14, 2025 am 11:09 AM

Troubled Benchmarks: A Llama Case Study In early April 2025, Meta unveiled its Llama 4 suite of models, boasting impressive performance metrics that positioned them favorably against competitors like GPT-4o and Claude 3.5 Sonnet. Central to the launc

OpenAI Shifts Focus With GPT-4.1, Prioritizes Coding And Cost Efficiency OpenAI Shifts Focus With GPT-4.1, Prioritizes Coding And Cost Efficiency Apr 16, 2025 am 11:37 AM

The release includes three distinct models, GPT-4.1, GPT-4.1 mini and GPT-4.1 nano, signaling a move toward task-specific optimizations within the large language model landscape. These models are not immediately replacing user-facing interfaces like

How ADHD Games, Health Tools & AI Chatbots Are Transforming Global Health How ADHD Games, Health Tools & AI Chatbots Are Transforming Global Health Apr 14, 2025 am 11:27 AM

Can a video game ease anxiety, build focus, or support a child with ADHD? As healthcare challenges surge globally — especially among youth — innovators are turning to an unlikely tool: video games. Now one of the world’s largest entertainment indus

New Short Course on Embedding Models by Andrew Ng New Short Course on Embedding Models by Andrew Ng Apr 15, 2025 am 11:32 AM

Unlock the Power of Embedding Models: A Deep Dive into Andrew Ng's New Course Imagine a future where machines understand and respond to your questions with perfect accuracy. This isn't science fiction; thanks to advancements in AI, it's becoming a r

Rocket Launch Simulation and Analysis using RocketPy - Analytics Vidhya Rocket Launch Simulation and Analysis using RocketPy - Analytics Vidhya Apr 19, 2025 am 11:12 AM

Simulate Rocket Launches with RocketPy: A Comprehensive Guide This article guides you through simulating high-power rocket launches using RocketPy, a powerful Python library. We'll cover everything from defining rocket components to analyzing simula

Google Unveils The Most Comprehensive Agent Strategy At Cloud Next 2025 Google Unveils The Most Comprehensive Agent Strategy At Cloud Next 2025 Apr 15, 2025 am 11:14 AM

Gemini as the Foundation of Google’s AI Strategy Gemini is the cornerstone of Google’s AI agent strategy, leveraging its advanced multimodal capabilities to process and generate responses across text, images, audio, video and code. Developed by DeepM

See all articles