Update GMM comparisons to use SMT

Open
#20 0 comments 0 reactions 1 assignee View on GitHub

@CB-quakemodel is already working on this.

Since Oct 7, 2025.

Assessment

This issue has not been assessed yet.

Description

This is, for now, relevant to the gmm_demo branch as this work is not yet in master.

There are some functions to calculate ground motions at each station that has a record in the flatfile for any given event. The outer function is here: https://github.com/GEMScienceTools/hamlet/blob/96c9d27309cf5248e284c3e8b151bd558aa5532b/openquake/hme/model_test_frameworks/gem/gem_test_functions.py#L596

There are some functions in the SMT to do very similar comparisons. It would be good to use that code as much as possible to avoid duplications.

@CB-quakemodel your help would be greatly appreciated. We can start with compiling a list of the potential changes before diving into the work, unless it turns out to be quite simple.

Dominant language
Python
Stars
3
Forks
2
Avg merge
1m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GEMScienceTools/hamlet

All issues in GEMScienceTools/hamlet

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.