Background

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

   WhoStatusDeliverables
(1)Merge calculate_hazard() with calculate_deagg()1 daySung  
(2)

Tidy up site_search.py and site_search_deagg.py argument sets

1 daySung  
(3)GM selection code to have the argument set consistent with site_search.py1 dayViktor  
      
      

 

Known Issues / To Dos

  1. Fault screening based on user specified loc vs. simulation domain is no longer necessary as the API from (2) does all the filtering already.

 

 

  • No labels