Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S shakyground2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Shakemap
  • shakyground2
  • Issues
  • #25

Closed
Open
Created Jul 21, 2021 by Graeme Weatherill@gweatherOwner

Revise Shakemap objects in line with OpenQuake GMM API changes

For the first time in a decade the OpenQuake Ground Motion Model library is undergoing a major refactoring (explanation here: https://github.com/gem/oq-engine/blob/master/doc/breaking-hazardlib.md). This impacts on how the ground motion models are called inside of the Shakemap calculation, and though some effort has been made to maintain backward compatibility it has not been entirely possible to do so and it would be better to transition to the new GMM API sooner rather than later.

The preferred way to call the GMPEs is via the .get_mean_stds function of the openquake.hazardlib.contexts.ContextMaker class. This class is already used in Shakemap to retrieve the rupture, distance and site attributes that are needed for the GMMs themselves. The change would be to migrate the rest of the steps of the call to the GMPE into the same framework.

Assignee
Assign to
Time tracking