Skip to content

Case study tutorial for rapid impact assessment using September 2019 flood detection

Notifications You must be signed in to change notification settings

pcoddo/CambodiaFloods

Repository files navigation

Flood Impact Assessment Tutorial

Case Study Example for SWAT-SEA Conference in Krong Siem Reap, Cambodia, 22 October, 2019

Introduction

This document contains the code used to generate a sample flood impact assessment based on the analysis found in Oddo et al. (2018), Socioeconomic Impact Evaluation for Near Real-Time Flood Detection in the Lower Mekong River Basin. Case study based on flood event in Cambodia in September, 2019.

Requirements

  1. Python version 3

    • This analysis uses version 3.6.7 (64 bit)
    • Python environment from Anaconda Distribution
    • Environment file included as flood_env.yml
  2. QGIS version 3

    • This analysis uses version 3.2.2 Bonn (64 bit)
    • It has been tested using QGIS compiled from OSGeo4W installer (Standalone installer may not import properly)
    • Specific locations of QGIS packages must be added to Python system path (see line 13 in 1_Depth_Estimation > Scripts > initialize.py):
sys.path = ['', 'C:\\OSGeo4W64\\bin\\python36.zip', 'C:\\OSGeo4W64\\apps\\Python36\\DLLs', 'C:\\OSGeo4W64\\apps\\Python36\\lib', 'C:\\OSGeo4W64\\apps\\Python36', 'C:\\OSGeo4W64\\apps\\Python36\\lib\\site-packages', 'C:\\OSGeo4W64\\apps\\qgis\\python', 'C:\\OSGeo4W64\\apps\\qgis\\python\\plugins', 'C:\\OSGeo4W64\\apps\\qgis\\bin']`

To test installation, run line 8 from 1_Depth_Estimation > DepthExample.py

Output should read:

In [1] from Scripts.initialize import *
"Qgis import successful!"		
  1. R version 3.3.3
    • Impact assessment produced using RStudio IDE but is not required

Structure

  • 1_Depth_Estimation
    • DepthExample.py: Intakes flood detection (flood_poly.shp) from "Data" folder to produce estimates of inundation depths

The workflow for this procedure is illustrated using the following schematic: Workflow

  • 2_Impact_Assessment
    • DamageExample.R: Intakes estimated inundation depths to produce a raster of provisional flood damages

Data Sources

Author: Perry Oddo

Copyright (2019)

About

Case study tutorial for rapid impact assessment using September 2019 flood detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published