Skip to content

Bug/oq change dec2021

More upstream changes to the openquake.hazardlib.contexts.ContextMaker class broke the Shakemap calculator (yet again!). Fundamentally now one cannot work with the three separate contexts (RuptureContext, SitesContext, DistancesContext) but with the single context object. Trying to keep changes to a minimum I am still calling the GMPEs themselves with three inputs (now just the context object repeated), which is still supported by OpenQuake specifically for this backward compatibility, even if it is inelegant.

Merge request reports