GNS-Science / toshi-hazard-post

Hazard post-processing pipeline as serverless AWS infrastructure.
MIT License
0 stars 1 forks source link

Feature: full disaggs #6

Closed chrisdicaprio closed 1 year ago

chrisdicaprio commented 2 years ago

We want to calculate a disaggregation that is the weighed sum of all branches

  1. in THP find the target level of shaking for the desired disaggs (e.g. location, IMT, poe, etc). Output a json file of a dictionary containing all relevent information: requested disagg, and target IML
  2. in runzi run one oq-engine disagg for every source component (similar to how hazard curves are calculated). This can be done following the pattern of the hazard calculation, but instead of the measures and levels, a single IMT
  3. in THP, collect the result of the disaggs from (2) and calculate the weighted mean, the same way we calculate the hazard curve