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

fixing plotting of characteristic faults + adding inv_time #459

Merged
merged 5 commits into from
Feb 10, 2025

Conversation

CB-quakemodel
Copy link
Contributor

@CB-quakemodel CB-quakemodel commented Feb 5, 2025

PR fixes handling of plotting fault sources in models with multiple section XMLs (i.e. multiple multi-fault sources) within a single model.

Also makes sure correct investigation time is specifiable to make sure we can instantiate non-parametric sources (otherwise kicks back an error if for example we use a default inv_time of 1 and the NPS has an inv_time of 50 years)

Lastly, fixes a small issue where if you manipulated a datetime entry in a flatfile (i.e. opened it in excel) it could lead to it not being converted into a datetime object because of formatting issues (just use pandas.to_datetime instead of the original smtk functions now)

@CB-quakemodel CB-quakemodel merged commit f3b755b into master Feb 10, 2025
4 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.

2 participants