https://github.com/civicdatalab/ids-drr-odisha-risk-score-model

Intelligent Data Solution - Disaster Risk Reduction(IDS-DRR) is a system to assist flood management through data-driven ways. The repository contains the code for the Risk score model.

https://github.com/civicdatalab/ids-drr-odisha-risk-score-model

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: springer.com
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Intelligent Data Solution - Disaster Risk Reduction(IDS-DRR) is a system to assist flood management through data-driven ways. The repository contains the code for the Risk score model.

Basic Info
  • Host: GitHub
  • Owner: CivicDataLab
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 6.67 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme

README.md

Risk Score Model

Once the data variables are created from all data sources, these are used to calculate Risk score for each revenue circle.

IDS-DRR defines Risk as the combination of factors Flood Hazard, Vulnerability, Exposure and Government Response

Variables are used to model each of these factor scores at first. The factor scores are then used to model the comprehensive Risk Score.

Calculation of Factor Scores

Exposure

Exposure

  1. sum_population and total_hhd variables are considered for the calculation. (add other variables as required)
  2. Use min_max scaler to scale these variables for each month.
  3. Sum the scaled variables of sum_population and total_hhd
  4. Find mean and standard deviation of the sum calculated above.
  5. Then find the exposure factor score using the following criteria:
- If sum <= mean => very low(1) 
- mean to mean+1std => low(2)
- mean+1std to mean+2std => medium(3)
- mean+2std to mean+3std => high(4)
- sum > mean+3std => very high(5)

exposure.py is the code that runs above steps.

Input -- MASTER_VARIABLES.csv

Output -- factor_scores_l1_exposure.csv

Flood Hazard

alt text

  1. inundation_intensity_mean_nonzero, inundation_intensity_sum, drainage_density, max_rain and mean_rain variables are considered for the calculation. Other variables as required can be added.

  2. Using the following table, calculate class for both these variables, for each revenue circle in each month.

  • If sum <= mean => very low(1)
  • mean to mean+1std => low(2)
  • mean+1std to mean+2std => medium(3)
  • mean+2std to mean+3std => high(4)
  • sum > mean+3std => very high(5)
  1. Take average of both the classes thus calculated.
  2. Then find the exposure factor score by rounding the average.

hazard.py is the code that runs above steps.

Input -- MASTER_VARIABLES.csv

Output -- factor_scores_l1_hazard.csv

Vulnerability

alt text

Losses and Damages data is generally not available for disaster risk assessments. But when available, DRR literature suggests that it be used in the assessment of Vulnerability of the region [3][4]

Assam State Disaster Management Authority (ASMDA) has been collecting data on flood related damages through a system called FRIMS. We used this damages data along with data on socio-economic vulnerability to assess disaster vulnerability of each revenue circle in Assam.

For this, we leveraged a method called Data Envelopment Analysis (DEA)

DEA basically takes certain input variables and output variables for each decision making unit (Revenue Circle, in our case). And then DEA calculates Efficiency for each decision making unit. We used this approach in the following way:

  1. Variables on socio-economic vulnerability are considered as Inputs.
  2. Variables on damages are considered as Outputs.
  3. Efficiency is interpreted this way: If a revenue circle has high socio-economic vulnerability but has not seen disaster related damages, it would get high efficiency score by DEA model. Revenue Circles with less efficiency are interpreted as regions with high vulnerability.
  4. This efficiency is between 0-1. It is binned into 5 categories using Natural Breaks method -- From Very High Vulnerability to Very Low Vulnerability. These five categories constitute the vulnerability score.

vulnerability.py is the code that runs above steps.

Input -- MASTER_VARIABLES.csv

Output -- factor_scores_l1_vulnerability.csv

Government Response

alt text

  1. Tender variables (total sum and SDRF tenders) variables are considered for the calculation. (Other variables as required can be added)
  2. Calculate cumulative sum of money spent in each Financial Year.
  3. Use min_max scaler to scale these variables for each month.
  4. Sum all the scaled variables
  5. Find mean and standard deviation of the sum calculated above.
  6. Then find the government-response factor score using the following criteria:
- If sum <= mean => very low(1) 
- mean to mean+1std => low(2)
- mean+1std to mean+2std => medium(3)
- mean+2std to mean+3std => high(4)
- sum > mean+3std => very high(5)

govtresponse.py is the code that runs above steps.

Input -- MASTER_VARIABLES.csv

Output -- factor_scores_l1_government-response.csv

Calculation of Risk-Score using TOPSIS

Once the factor scores are calculated for each revenue circle, we use these factor scores to calculate the comprehensive risk-score for each revenue circle. We use TOPSIS for this.

topsis.py is the Python module that implements TOPSIS.
topsis_riskscore.py is the code that uses the above module to calculate risk score.

TOPSIS requires a weight to each factor. We've considered the following weights based on literature survey

| Factor | Weight | | -------- | ------- | | Flood Hazard | 4 | | Vulnerability | 2 | | Government Response | 2 | | Exposure | 1 |

Output -- risk_score_final.csv

alt text

This is the inner mechanism of TOPSIS: alt text

References

  1. What is TOPSIS? - By Robert Soczewica
  2. DEA Pythonic Implementation
  3. Aqueduct 4.0: Updated decision-relevant global water risk indicators
  4. Flood risk assessment at different spatial scales

Owner

  • Name: CivicDataLab
  • Login: CivicDataLab
  • Kind: organization
  • Email: info@civicdatalab.in
  • Location: India

Harnessing Data, Tech, Design and Social Science to strengthen the course of Civic Engagements in India.

GitHub Events

Total
  • Push event: 5
  • Pull request event: 3
  • Create event: 1
Last Year
  • Push event: 5
  • Pull request event: 3
  • Create event: 1