Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions tests/test_gcmt_to_realisation.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
@pytest.mark.parametrize(
"event_id, tect_type",
[
("2103645", "subduction_interface"), # 2003 Fiordland
# 2003 Fiordland: ~9 km below the Slab2 interface with slip very oblique
# to the Puysegur plate motion, so Haynie et al. (2026) favours slab.
("2103645", "subduction_slab"),
("2016p858000", "active_shallow"), # 2016 Kaikoura
("2017p795065", "subduction_slab"),
],
Expand Down Expand Up @@ -67,7 +69,7 @@ def test_gcmt_to_realisation_most_likely_nodal_plane(tmp_path: Path) -> None:
solution_origin=solutions_ffp,
)

# The 2003 Fiordland earthquake ruptured the shallow-dipping interface.
# The shallow-dipping plane agrees with the subducting Puysegur slab.
fault = SourceConfig.read_from_realisation(realisation_ffp).source_geometries[
"2103645"
]
Expand Down
5 changes: 3 additions & 2 deletions workflow/scripts/gcmt_to_realisation.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ def gcmt_to_realisation(
Defaults to `MOST_LIKELY`.
tectonic_type : focal_mechanism.TectonicType | None
The tectonic type used to select the empirical ground motion models.
If not provided, it is classified from the solution with the NZ NSHM
2022 rule (see `source_modelling.focal_mechanism`).
If not provided, it is classified from the solution with the
Haynie et al. (2026) interface/intraslab classification (see
`source_modelling.focal_mechanism`).
solution_origin : Path | None
If provided, use a supplied CSV of CMT solutions to lookup geometry.
Must follow the format of the Geonet CMT solutions file.
Expand Down
Loading