Skip to content

Commit

Permalink
[md] Move all magnitude config to magnitudes
Browse files Browse the repository at this point in the history
  • Loading branch information
gempa-dirk authored and gempa-jabe committed Feb 24, 2021
1 parent 090e1c9 commit b59e812
Show file tree
Hide file tree
Showing 3 changed files with 313 additions and 267 deletions.
32 changes: 17 additions & 15 deletions plugins/magnitudes/md/config/md.cfg
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
plugins = md
module.trunk.global.md.seismo = 9
module.trunk.global.md.butterworth = "3,1.5"
module.trunk.global.md.deltamax = 400.0
module.trunk.global.md.snrmin = 1.2
module.trunk.global.md.mdmax = 5.0
module.trunk.global.md.fma = -0.87
module.trunk.global.md.fmb = 2.0
module.trunk.global.md.fmd = 0.0035
module.trunk.global.md.fmf = 0.0
module.trunk.global.md.fmz = 0.0
module.trunk.global.md.stacor = 0.0
module.trunk.global.md.depthmax = 200.0
module.trunk.global.md.signalwindowend = 30.0
module.trunk.global.md.linearcorrection = 1.0
module.trunk.global.md.offset = 0.0
module.trunk.global.magnitudes.md.seismo = 9
module.trunk.global.magnitudes.md.taper = 5
module.trunk.global.magnitudes.md.signal_length = 150
module.trunk.global.magnitudes.md.butterworth = "3,1.5"
module.trunk.global.magnitudes.md.depthmax = 200.0
module.trunk.global.magnitudes.md.deltamax = 400.0
module.trunk.global.magnitudes.md.snrmin = 1.2
module.trunk.global.magnitudes.md.mdmax = 5.0
module.trunk.global.magnitudes.md.fma = -0.87
module.trunk.global.magnitudes.md.fmb = 2.0
module.trunk.global.magnitudes.md.fmd = 0.0035
module.trunk.global.magnitudes.md.fmf = 0.0
module.trunk.global.magnitudes.md.fmz = 0.0
#module.trunk.global.magnitudes.md.signalwindowend = 30.0
module.trunk.global.magnitudes.md.linearcorrection = 1.0
module.trunk.global.magnitudes.md.offset = 0.0
module.trunk.global.magnitudes.md.stacor = 0.0
179 changes: 98 additions & 81 deletions plugins/magnitudes/md/descriptions/global_md.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,87 +11,104 @@
Duration magnitude plugin
</description>
<configuration>
<group name="md">
<parameter name="seismo" type="int" default="9">
<description>
Default filter type to use before processing and after deconvolution. It's possible to set :
1 for a Wood-Anderson seismometer
2 for a 5sec generic Seismometer
3 for a WWSSN LP seismometer
4 for a WSSN SP seismometer
5 for a Generic Seismometer
6 for a Butterworth Low pass filter
7 for a Butterworth High pass filter
8 for a Butterworth Band pass filter
9 for a 1Hz eigen-frequency L4C seismometer
</description>
</parameter>
<parameter name="taper" type="double" default="5" unit="s">
<description>
taper applied to the signal
</description>
</parameter>
<parameter name="signal_length" type="double" default="150" unit="s">
<description>
signal length used to compute the duration magnitude
</description>
</parameter>
<parameter name="butterworth" type="string" default="&quot;3,1.5&quot;">
<description>
Butterworth filter parameter applied to the signal
</description>
</parameter>
<parameter name="depthmax" type="double" default="200" unit="km">
<description>
Maximum depth at which duration magnitude is valid
</description>
</parameter>
<parameter name="deltamax" type="double" default="400" unit="km">
<description>
Maximum distance between earthquake and station at which duration magnitude is valid
</description>
</parameter>
<parameter name="snrmin" type="double" default="1.2">
<description>
Signal to noise ratio below which the coda is reached
</description>
</parameter>
<parameter name="mdmax" type="double" default="5.0">
<description>
Maximum expected duration magnitude value
This is used to find how much data should be loaded for a given station by reversing the formula
</description>
</parameter>
<parameter name="fma" type="double" default="-0.87">
<description>
FMA regional coefficient
See Hypo2000 manual
</description>
</parameter>
<parameter name="fmb" type="double" default="2.0">
<description>
FMB regional coefficient
See Hypo2000 manual
</description>
</parameter>
<parameter name="fmd" type="double" default="0.0035">
<description>
FMD regional coefficient
See Hypo2000 manual
</description>
</parameter>
<parameter name="fmf" type="double" default="0.0">
<description>
FMF regional coefficient
See Hypo2000 manual
</description>
</parameter>
<parameter name="fmz" type="double" default="0.0">
<description>
FMZ regional coefficient
See Hypo2000 manual
</description>
</parameter>
<group name="magnitudes">
<group name="md">
<parameter name="seismo" type="int" default="9">
<description>
Default filter type to use before processing and after deconvolution. It's possible to set :
1 for a Wood-Anderson seismometer
2 for a 5sec generic Seismometer
3 for a WWSSN LP seismometer
4 for a WSSN SP seismometer
5 for a Generic Seismometer
6 for a Butterworth Low pass filter
7 for a Butterworth High pass filter
8 for a Butterworth Band pass filter
9 for a 1Hz eigen-frequency L4C seismometer
</description>
</parameter>
<parameter name="taper" type="double" default="5" unit="s">
<description>
taper applied to the signal
</description>
</parameter>
<parameter name="signal_length" type="double" default="150" unit="s">
<description>
signal length used to compute the duration magnitude
</description>
</parameter>
<parameter name="butterworth" type="string" default="&quot;3,1.5&quot;">
<description>
Butterworth filter parameter applied to the signal
</description>
</parameter>
<parameter name="depthmax" type="double" default="200" unit="km">
<description>
Maximum depth at which duration magnitude is valid
</description>
</parameter>
<parameter name="deltamax" type="double" default="400" unit="km">
<description>
Maximum distance between earthquake and station at which duration magnitude is valid
</description>
</parameter>
<parameter name="snrmin" type="double" default="1.2">
<description>
Signal to noise ratio below which the coda is reached
</description>
</parameter>
<parameter name="mdmax" type="double" default="5.0">
<description>
Maximum expected duration magnitude value
This is used to find how much data should be loaded for a given station by reversing the formula
</description>
</parameter>
<parameter name="fma" type="double" default="-0.87">
<description>
FMA regional coefficient
See Hypo2000 manual
</description>
</parameter>
<parameter name="fmb" type="double" default="2.0">
<description>
FMB regional coefficient
See Hypo2000 manual
</description>
</parameter>
<parameter name="fmd" type="double" default="0.0035">
<description>
FMD regional coefficient
See Hypo2000 manual
</description>
</parameter>
<parameter name="fmf" type="double" default="0.0">
<description>
FMF regional coefficient
See Hypo2000 manual
</description>
</parameter>
<parameter name="fmz" type="double" default="0.0">
<description>
FMZ regional coefficient
See Hypo2000 manual
</description>
</parameter>
<parameter name="linearcorrection" type="double" default="1.0">
<description>
Linear correction
</description>
</parameter>
<parameter name="offset" type="double" default="0.0">
<description>
Offset
</description>
</parameter>
<parameter name="stacor" type="double" default="0.0">
<description>
Station correction
</description>
</parameter>
</group>
</group>
</configuration>
</binding>
Expand Down
Loading

0 comments on commit b59e812

Please sign in to comment.