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
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
Metadata Files
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

sum_populationandtotal_hhdvariables are considered for the calculation. (add other variables as required)- Use min_max scaler to scale these variables for each month.
- Sum the scaled variables of
sum_populationandtotal_hhd - Find mean and standard deviation of the sum calculated above.
- Then find the
exposurefactor 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

inundation_intensity_mean_nonzero,inundation_intensity_sum,drainage_density,max_rainandmean_rainvariables are considered for the calculation. Other variables as required can be added.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)
- Take average of both the classes thus calculated.
- Then find the
exposurefactor 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

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:
- Variables on socio-economic vulnerability are considered as Inputs.
- Variables on damages are considered as Outputs.
Efficiencyis 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.- 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
vulnerabilityscore.
vulnerability.py is the code that runs above steps.
Input -- MASTER_VARIABLES.csv
Output -- factor_scores_l1_vulnerability.csv
Government Response

- Tender variables (total sum and SDRF tenders) variables are considered for the calculation. (Other variables as required can be added)
- Calculate cumulative sum of money spent in each Financial Year.
- Use min_max scaler to scale these variables for each month.
- Sum all the scaled variables
- Find mean and standard deviation of the sum calculated above.
- Then find the
government-responsefactor 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

This is the inner mechanism of TOPSIS:

References
Owner
- Name: CivicDataLab
- Login: CivicDataLab
- Kind: organization
- Email: info@civicdatalab.in
- Location: India
- Website: https://www.civicdatalab.in/
- Twitter: CivicDataLab
- Repositories: 104
- Profile: https://github.com/CivicDataLab
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