Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nshm_db_generator): Use the from_trace method #12

Merged
merged 4 commits into from
Feb 4, 2025
Merged

Conversation

lispandfound
Copy link
Collaborator

This PR:

  1. Uses the new from_nztm_trace function to construct planes,
  2. Simplifies the geometry of the fault traces (to within 10m of the original geometry).

The latter point takes care of faults that have tiny segments that pose a problem for numerical accuracy and SRF generation. You can see examples of the simplified traces below:

plot_2
plot_10
plot_13

There is a red trace in that same plot that is supposed to be the new trace, but it's so similar to the old trace that it is hard to distinguish.

@lispandfound
Copy link
Collaborator Author

Tests will fail till ucgmsim/source_modelling#17 merges.

@lispandfound lispandfound merged commit b26a880 into main Feb 4, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants