Closed navarroc closed 1 year ago
steps:
change the building damage input params:
hazard_type: earthquake+tsunami
hazard_id: id1+id2
when reading parameters split by "+" sign. Now we'll have hazard_types as a list and hazard_ids as a list
calling both hazard endpoints by add a for loop wrap around line 133 to line 182 and store the return hazard value approporiate
Merging and massaging both of the hazard values to the hval_dict
. It should look like
{"zero_point_four_sa":number, "Mmax": number}
The rest should stay the same.
EQ: @navarroc do you know any SA eq on dev good for testing Tsuanmi: 5bc9eaf7f7b08533c7e610e1 (dev) Mapping ID: 648a3f88c687ae511a1814e2 (dev)
Based on the outcome of #336, refactor building damage analysis implementation to support multiple hazards required by multi-hazard fragilities