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

[324] Add fault filters to rupture builder #325

Closed voj closed 3 months ago

voj commented 3 months ago

Implements #324

This PR adds a number of fault filters that are applied to crustal faults before the rupture builder divides them into subsections.

Sample output of a rupture builder run:

Fault model has 557 fault sections
Fault model filtered to 557 after applying id range filter, skip: 0 max : 2000
Fault model filtered to 461 after applying slip filter with a minimum of 0.1 mm/yr
Fault model filtered to 424 after applying polygon filter C:\Users\user\GNS\cseplonlat-distseismodelboundary-50koffshore.dat
Fault model filtered to 356 after applying domain filter 2, 3, 4, 8, 9, 10, 11, 16, 24, 25, 26, 27 and 28

If a filter is not set, it will not be run.

voj commented 3 months ago

approved by @chrisbc over Slack