GNS-Science / nzshm-opensha

renamed successor to old nshm-nz-opensha , all python history removed to new nzshm-runzi repo
MIT License
0 stars 2 forks source link

[318] Add MixedPlausibleClusterConnectionStrategy #319

Closed voj closed 4 months ago

voj commented 5 months ago

See #318 for a description of the problem.

Created a MixedPlausibleClusterConnectionStrategy that naively finds the shortest jump between two clusters of at least one of them is a subduction cluster. Passes through to the original PlausibleClusterConnectionStrategy for crustal to crustal jumps.

For my small fault model sample, this reduces the preprocessing step from 6 minutes to a few seconds.

There are 2 more jumps from crustal clusters to subduction compared to before, strangely resulting in 29,957 ruptures rather than 37,721.

Jumps between crustal clusters are unchanged, and I cannot immediately see an obvious pattern of errors in the new crustal to subduction jumps. Sometimes the old jumps go from the middle of a cluster and sometimes from end of a cluster. The new jumps do the same, but the sepcific jump sections on most clusters are different.

We can use this as a basis for our experimentation and at a later date look into whether we are choosing good sections for jumps.