Skip to content

Conversation

@damb
Copy link
Collaborator

@damb damb commented Jul 19, 2022

@mmesim, here a draft implementation for #118.

Features and Changes:

  • By default estimate MRelative based on the preferred DataModel::Event magnitude i.e. the NetworkMagnitude. Alternatively, the estimation may be still performed based on the StationMagnitude. Note that this requires both the Event and the Origin including the preferred magnitude to be available within the EventParameters.
  • Whether to use the NetworkMagnitude or the StationMagnitude is configurable by means of the bindings configuration (i.e. on sensor location granularity).

Closes #118.

@damb damb added magnitude Refers to magnitude related topics enhancement New feature or request labels Jul 19, 2022
@mmesim
Copy link
Collaborator

mmesim commented Jul 21, 2022

👍 I think it is ok.

@mmesim
Copy link
Collaborator

mmesim commented Aug 22, 2022

@damb Question: When I compile this branch I still get the bug regarding phase association. Do you think it is necessary to remove it?

@damb damb force-pushed the feature/iss-118 branch from 32a572a to 0b8de4a Compare August 23, 2022 06:06
@damb
Copy link
Collaborator Author

damb commented Aug 23, 2022

I rebased the branch. The most recent changes from master should be available, now.

Daniel Armbruster added 7 commits August 23, 2022 06:18
Estimating `MRelative` based on the *NetworkMagnitude* (i.e. the
preferred event magnitude) by default. Optionally, `MRelative` still may
be estimated based on the StationMagnitude. Wether to use the
NetworkMagnitude or the StationMagnitude may be defined in the bindings
configuration (as a consequence, this parameter is configurable on
sensor location granularity).

Note that for estimating `MRelative` based on the NetworkMagnitude
requires both the Event and the Origin including the preferred event
magnitude to be available in the EventParameters data.

Besides, with this commit the sensor location identifiers referencing
StationMagnitudes (at `magnitude::Factory`) include the band and source
code.
Note that from now on the default uses the NetworkMagnitude when
estimating `MRelative`.
@mmesim
Copy link
Collaborator

mmesim commented Aug 23, 2022

@damb Vielen Dank! ❤️‍🔥

@damb
Copy link
Collaborator Author

damb commented Aug 30, 2022

@mmesim, I don't plan to make further changes here. Feel free to rebase/edit this feature branch.

@luca-s luca-s force-pushed the master branch 5 times, most recently from a9afd41 to 3ef3c7d Compare March 5, 2025 11:16
@luca-s luca-s force-pushed the master branch 2 times, most recently from 03bf26f to 47acda9 Compare March 26, 2025 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request magnitude Refers to magnitude related topics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MRelative: Use Network Magnitude (event magnitude) instead of Station Magnitude

3 participants