Epic: Steps to an improved losscalculator (To mention in the roadmap)
Tasks to be done in 2021
Damage calculator
- Run the calculator using data of other regions to make sure it works in a generic way
- Separate input-reading part from the rest of the calculator for probable future input format change
- Have the calculator run successfully in case of a mixed exposure model (when the exposure-type is not cell (residual in fact) nor building)
- Have tests running for the calculator
- Improve calculation speed
- Make the calculator run with inputs stored in a '.ini' file
- Have logging used in the calculator
-
Remove the input files if they can be created within extra coding inside the script (such as
--cell-ids
) - Have post-processings of the results as python scripts to create ready-to-map damage files
- Make it more user-friendly, such as adding the ability to use fragility functions with any damage states, not only four
- Run the calculations using different cores (running in parallel)
visualization
-
Create a nice template for plotting:
- Damage and risk results
- Exposure models
- Differences in either results or exposure models
-
Find the best way to visualize either results or exposure models of types:
- Cell(residual)
- Building
- Aggregated
- Find out new plots to better compare the results of different distributions (different exposure models)
- Add scripts to the calculator to automatically create initial plots of necessary maps or figures
loss calculator
- Compute losses using a vulnerability model
- Compute losses after a damage calculation using a consequence model
- Write a function to create a vulnerability function using a fragility and consequence given
More sub-tasks will be added.
Please everyone feel free to add to the tasks or comment.