Repository navigation
Classify GCMT tectonic type with Haynie et al. (2026) - #238
Draft
lispandfound wants to merge 1 commit into
Draft
lispandfound wants to merge 1 commit into
lispandfound wants to merge 1 commit into
Conversation
source_modelling's CMTClassifier.tectonic_type now uses the Haynie et al. (2026) interface/intraslab classification instead of the NZ NSHM 2022 and NGA-SUB rules. Update the gcmt-to-realisation docstring and the test expectations: the 2003 Fiordland event (2103645) sits ~9 km below the Slab2 interface with slip very oblique to the Puysegur plate motion, and is now classified as subduction_slab. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gcmt-to-realisationdocstring now cites the Haynie et al. (2026) interface/intraslab classification instead of the NZ NSHM 2022 rule.tests/test_gcmt_to_realisation.py: event2103645(2003 Fiordland) is now expected to besubduction_slab(wassubduction_interface); the comments are updated to match.No code change is needed for the classifier call:
CMTClassifier.tectonic_type(centroid, nodal_plane_1, nodal_plane_2)andTectonicTypeare unchanged.Dependency
This depends on ucgmsim/source_modelling branch
haynie-tectonic-type(ucgmsim/source_modelling#169). Until that branch is merged and released, the updated test fails against the releasedsource_modelling. Thesource_modelling>=2026.10.2pin is not changed here. Following earlier cross-repo changes (e.g. 35f9e43), raise the floor to the release containing it before merging.Classifier output for the test events (source_modelling @ 8de75e2)
subduction_slab(changed)active_shallowsubduction_slabFiordland sits about 9 km below the Slab2 interface, and its slip is very oblique to the Puysegur plate-motion rake, so the slab probability is slightly higher.
Test plan
pytest tests/test_gcmt_to_realisation.py(5 passed) and the full suite (683 passed, 1 skipped)source_modellingfloor once it is released🤖 Generated with Claude Code