Skip to content

fix fault buffer clipper tests - #635

Merged
kejohnso merged 9 commits into
masterfrom
clipper_tests
Oct 30, 2026
Merged

kejohnso merged 9 commits into
masterfrom
clipper_tests

Conversation

@kejohnso

@kejohnso kejohnso commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

The tests were broken for the function that clips the mfds of point sources within a fault buffer. They were broken locally but not being flagged in CI. However, the test results (even pass / fail) changes depending on who runs locally among me, @CB-quakemodel and @kirstybayliss. This PR is WIP until we resolve that.

The tests failed locally because the output files were not updated with some of the latest (2024) fixes to the clipper itself. The reference test files have been updated accordingly. In addition, this PR does the following:

  • Corrects a bug that was identifying but not actually replacing the Mmax of sources within the buffer.
  • Changes the default rupture_mesh_spacing in remove_buffer_around_faults from 5.0 to 1.0. This is necessary so that both simpleFaults and multiFaultSources with identical geometry give the same results, and because we want more accurate rrup when identifying point sources within the fault buffer.
  • Adds support for EvenlyDiscretisedMFDs, including a test

@kejohnso kejohnso changed the title [WIP]: Clipper tests fix fault buffer clipper tests Oct 30, 2026

@CB-quakemodel CB-quakemodel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Kendra

@kejohnso
kejohnso merged commit 64e1fbb into master Oct 30, 2026
7 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