Currently "deagg calculation" in fact does hazard calculation, while there is a separate "hazard calculation" code. This means some duplicate code.
GM selection code is added as a separate workflow.
Currently the argument set for hazard and deagg calculation are poorly designed, and not consistent with the GM selection code.
Story / Deliverable
Merge deagg calculation code with hazard calculcation code, such that one function can compute both, or hazard only if the deagg=False switch is given.
Tidy up hazard calc, deagg calc argument set, make them consistent with GM selection code.
Tasks/Progress
Who | Status | Deliverables | |||
---|---|---|---|---|---|
(1) | Merge calculate_hazard() with calculate_deagg() | 1 day | Sung | ||
(2) | Tidy up site_search.py and site_search_deagg.py argument sets | 1 day | Sung | ||
(3) | GM selection code to have the argument set consistent with site_search.py | 1 day | Viktor | ||
Known Issues / To Dos
- Fault screening based on user specified loc vs. simulation domain is no longer necessary as the API from (2) does all the filtering already.