Skip to content
GitLab
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 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • 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
  • Merge requests
  • !4

Implements Earthquake Object and Input validators

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Graeme Weatherill requested to merge gweather/shakyground2:eq_object into master Feb 15, 2021
  • Overview 88
  • Commits 10
  • Pipelines 5
  • Changes 6

Merge request implements initial set of features to describe an earthquake object, valid an input and generate a finite rupture surface from which source and distance properties can be calculated. Addresses: #8 (closed)

New features implemented are:

  1. Earthquake object (shakyground2.earthquake.Earthquake) - contains attributes and initial functions for describing the earthquake source

  2. Validation module (shakyground2.valid) - a set of validators to ensure input properties of the earthquake are physically correct with respect to the Earth and raise descriptive errors if not.

  3. Dummy Magnitude Scaling relation (shakyground2.earthquake.DummyScalingRelation) - a simple magnitude to rupture dimension scaling relation based on the PEER Test definition. To be used as a placeholder until completion of #9 (closed), then a default thereafter.

Tests added for all modules.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: eq_object