Skip to content

Commit

Permalink
updated etna-2 resp (GeoNet#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
ozym authored Apr 18, 2018
1 parent d58a9ac commit bd9244a
Show file tree
Hide file tree
Showing 5 changed files with 761 additions and 0 deletions.
117 changes: 117 additions & 0 deletions resp/auto.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ var DataloggerModels map[string]DataloggerModel = map[string]DataloggerModel{
Manufacturer: "Kinemetrics",
Vendor: "",
},
"ETNA 2": {
Name: "ETNA 2",
Type: "Strong Motion Recorder",
Description: "Etna 2",
Manufacturer: "Kinemetrics",
Vendor: "",
},
"K2": {
Name: "K2",
Type: "Strong Motion Recorder",
Expand Down Expand Up @@ -416,6 +423,14 @@ var SensorModels map[string]SensorModel = map[string]SensorModel{
Vendor: "",
Components: []SensorComponent{{Azimuth: 90, Dip: 0}, {Azimuth: 0, Dip: 0}, {Azimuth: 0, Dip: -90}},
},
"FBA-ES-T-ETNA-2": {
Name: "FBA-ES-T-ETNA-2",
Type: "Accelerometer",
Description: "FBA-ETNA-2",
Manufacturer: "Kinemetrics",
Vendor: "",
Components: []SensorComponent{{Azimuth: 90, Dip: 0}, {Azimuth: 0, Dip: 0}, {Azimuth: 0, Dip: -90}},
},
"FBA-ES-T-ISO": {
Name: "FBA-ES-T-ISO",
Type: "Accelerometer",
Expand Down Expand Up @@ -1152,6 +1167,34 @@ var Responses []Response = []Response{
},
Channels: "Z12",
Reversed: false,
}, {
SensorList: []string{"FBA-ES-T-ETNA-2"},
FilterList: []string{"FBA-ES-T-ETNA-2"},
Stages: []ResponseStage{
{
Type: "paz",
Lookup: "FBA-ES-T",
Filter: "FBA-ES-T-ETNA-2",
StageSet: PAZ{
Name: "FBA-ES-T",
Code: PZFunctionLaplaceRadiansPerSecond,
Type: "Laplace transform analog stage response, in rad/sec.",
Notes: "Standard response of an Kinemetric's EpiSensor FBA-ES sensor, they are built with a wide range of gains. We use +/- 20V @ +/-2 g for the National Network, and +/- 2.5V @ +/- 2g for the ETNA strong motion recorders.",
Poles: []complex128{(-981 + 1009i), (-981 - 1009i), (-3290 + 1263i), (-3290 - 1263i)},
},
Frequency: 1,
SampleRate: 0,
Decimate: 0,
Gain: 0.1275,
//Scale: 1,
Correction: 0,
Delay: 0,
InputUnits: "m/s**2",
OutputUnits: "V",
},
},
Channels: "ENZ",
Reversed: false,
}, {
SensorList: []string{"Kinemetrics SBEPI"},
FilterList: []string{"Kinemetrics SBEPI"},
Expand Down Expand Up @@ -1775,6 +1818,80 @@ var Responses []Response = []Response{
},
},
Reversed: false,
}, {
DataloggerList: []string{"ETNA 2"},
Type: "CG",
Label: "HN",
SampleRate: 200,
Frequency: 1,
StorageFormat: "Steim2",
ClockDrift: 0.0001,
FilterList: []string{"ETNA-2-200"},
Stages: []ResponseStage{
{
Type: "a2d",
Lookup: "A2D",
Filter: "ETNA-2-200",
StageSet: A2D{
Name: "A2D",
Code: PZFunctionLaplaceZTransform,
Type: "Digital (Z-transform).",
Notes: "This filter is used to represent an Analogue to Digital converter stage, it has no poles or zeros.",
},
Frequency: 0,
SampleRate: 8000,
Decimate: 1,
Gain: 3.355443e+06,
//Scale: 0,
InputUnits: "V",
OutputUnits: "count",
}, {
Type: "fir",
Lookup: "ETNA2_COEFA8_80",
Filter: "ETNA-2-200",
StageSet: FIR{
Name: "ETNA2_COEFA8_80",
Causal: false,
Symmetry: SymmetryNone,
Decimation: 8,
Gain: 1,
Notes: &[]string{"http://ds.iris.edu/NRL/dataloggers/kinemetrics/etna2/RESP.XX.NK471..HHZ.ETNA2.1.200.C"}[0],
Factors: []float64{0, 0, 0, -4.65661e-10, -9.31323e-10, 0, 1.86265e-09, 7.45058e-09, 1.72295e-08, 3.1665e-08, 4.88944e-08, 6.37956e-08, 6.70552e-08, 4.56348e-08, -1.72295e-08, -1.35973e-07, -3.17581e-07, -5.51809e-07, -8.028e-07, -1.0021e-06, -1.0496e-06, -8.21427e-07, -1.92318e-07, 9.24803e-07, 2.53692e-06, 4.51552e-06, 6.56024e-06, 8.18074e-06, 8.72929e-06, 7.48178e-06, 3.78629e-06, -2.73995e-06, -1.19898e-05, -2.31606e-05, -3.46312e-05, -4.39803e-05, -4.81992e-05, -4.41303e-05, -2.91136e-05, -1.77743e-06, 3.71616e-05, 8.42558e-05, 0.000133048, 0.000174341, 0.000197151, 0.000190358, 0.000144938, 5.64856e-05, -7.2395e-05, -0.000230394, -0.000397019, -0.000543814, -0.000637514, -0.000645032, -0.000539827, -0.000308746, 4.18462e-05, 0.000482036, 0.000957711, 0.00139428, 0.00170509, 0.00180418, 0.00162183, 0.0011209, 0.000311035, -0.000742335, -0.00191688, -0.00304204, -0.00391794, -0.00434341, -0.00414995, -0.00323695, -0.0016025, 0.000636431, 0.00323968, 0.005859, 0.00807372, 0.00944451, 0.00957985, 0.0082069, 0.00523616, 0.000809553, -0.00467805, -0.0105906, -0.0160985, -0.02026, -0.0221285, -0.0208736, -0.0159011, -0.00695463, 0.00581534, 0.0218282, 0.0401007, 0.0593261, 0.0779972, 0.0945594, 0.107577, 0.115892, 0.11875, 0.115892, 0.107577, 0.0945594, 0.0779972, 0.0593261, 0.0401007, 0.0218282, 0.00581534, -0.00695463, -0.0159011, -0.0208736, -0.0221285, -0.02026, -0.0160985, -0.0105906, -0.00467805, 0.000809553, 0.00523616, 0.0082069, 0.00957985, 0.00944451, 0.00807372, 0.005859, 0.00323968, 0.000636431, -0.0016025, -0.00323695, -0.00414995, -0.00434341, -0.00391794, -0.00304204, -0.00191688, -0.000742335, 0.000311035, 0.0011209, 0.00162183, 0.00180418, 0.00170509, 0.00139428, 0.000957711, 0.000482036, 4.18462e-05, -0.000308746, -0.000539827, -0.000645032, -0.000637514, -0.000543814, -0.000397019, -0.000230394, -7.2395e-05, 5.64856e-05, 0.000144938, 0.000190358, 0.000197151, 0.000174341, 0.000133048, 8.42558e-05, 3.71616e-05, -1.77743e-06, -2.91136e-05, -4.41303e-05, -4.81992e-05, -4.39803e-05, -3.46312e-05, -2.31606e-05, -1.19898e-05, -2.73995e-06, 3.78629e-06, 7.48178e-06, 8.72929e-06, 8.18074e-06, 6.56024e-06, 4.51552e-06, 2.53692e-06, 9.24803e-07, -1.92318e-07, -8.21427e-07, -1.0496e-06, -1.0021e-06, -8.028e-07, -5.51809e-07, -3.17581e-07, -1.35973e-07, -1.72295e-08, 4.56348e-08, 6.70552e-08, 6.37956e-08, 4.88944e-08, 3.1665e-08, 1.72295e-08, 7.45058e-09, 1.86265e-09, 0, -9.31323e-10, -4.65661e-10, 0, 0, 0},
},
Frequency: 0,
SampleRate: 1000,
Decimate: 8,
Gain: 0,
//Scale: 0,
Correction: 0.01225,
Delay: 0.01225,
InputUnits: "count",
OutputUnits: "count",
}, {
Type: "fir",
Lookup: "ETNA2_COEFB5_350",
Filter: "ETNA-2-200",
StageSet: FIR{
Name: "ETNA2_COEFB5_350",
Causal: true,
Symmetry: SymmetryNone,
Decimation: 5,
Gain: 1,
Notes: &[]string{"http://ds.iris.edu/NRL/dataloggers/kinemetrics/etna2/RESP.XX.NK471..HHZ.ETNA2.1.200.C and http://wiki.kmi.com/wiki/images/3/31/300905NC.pdf"}[0],
Factors: []float64{1.22748e-06, 7.81147e-06, 3.11499e-05, 9.69567e-05, 0.000255993, 0.000598191, 0.00126871, 0.00248265, 0.00453327, 0.0077871, 0.0126589, 0.0195611, 0.0288259, 0.0406051, 0.0547592, 0.070756, 0.0876056, 0.103859, 0.117691, 0.127086, 0.130105, 0.125224, 0.111675, 0.0897325, 0.0608718, 0.0277415, -0.00608384, -0.036562, -0.0597967, -0.0727094, -0.0736422, -0.0627629, -0.0421635, -0.0156001, 0.0121101, 0.0359417, 0.0516066, 0.0564012, 0.0497673, 0.0334321, 0.0110722, -0.0124458, -0.0320976, -0.0437868, -0.0452397, -0.0365, -0.0199015, 0.000486108, 0.0198167, 0.0336089, 0.0387998, 0.0344546, 0.0219579, 0.00463871, -0.0130809, -0.0267994, -0.033233, -0.031018, -0.021017, -0.00605151, 0.00986395, 0.0225848, 0.0289157, 0.0274231, 0.0187699, 0.00549019, -0.00872968, -0.0200629, -0.0255714, -0.0239737, -0.0159485, -0.00389801, 0.00875274, 0.0185212, 0.0228253, 0.0206703, 0.0128791, 0.00181181, -0.00933558, -0.0174485, -0.0203636, -0.0174485, -0.00973325, 0.000431135, 0.0100796, 0.016494, 0.0179689, 0.0142661, 0.00663498, -0.00259366, -0.0107129, -0.0154312, -0.015519, -0.0111281, -0.00370007, 0.00449671, 0.0110549, 0.0141337, 0.0129752, 0.00808619, 0.00104378, -0.00600619, -0.0109998, -0.012558, -0.0103662, -0.00522565, 0.00122629, 0.00703278, 0.0105087, 0.0107284, 0.0077694, 0.00264767, -0.00302284, -0.00753541, -0.00960252, -0.0087215, -0.00529042, -0.000449777, 0.00429129, 0.00752294, 0.00835229, 0.00664742, 0.00304177, -0.00129169, -0.0050184, -0.00705119, -0.00686563, -0.00463065, -0.00112354, 0.00253467, 0.00523493, 0.00621459, 0.00527032, 0.00279072, -0.000392157, -0.00327831, -0.00501188, -0.0051331, -0.00369638, -0.0012256, 0.00147106, 0.0035629, 0.00445076, 0.00393631, 0.00225951, -5.96046e-08, -0.00211988, -0.00346354, -0.00367, -0.00274736, -0.00104791, 0.000860759, 0.00238288, 0.00307877, 0.00278977, 0.00166901, 0.000114382, -0.00136945, -0.00233306, -0.00251676, -0.00191782, -0.000774076, 0.000525584, 0.0015713, 0.00205999, 0.00188142, 0.00113864, 0.000101171, -0.000890115, -0.00153345, -0.00165661, -0.00126075, -0.000507266, 0.000344059, 0.00102291, 0.00133302, 0.00120739, 0.000719196, 4.82481e-05, -0.000583183, -0.000982763, -0.00104553, -0.000779593, -0.000294538, 0.000240917, 0.000656313, 0.000832733, 0.000735639, 0.00041862, -7.44127e-07, -0.000383024, -0.000612395, -0.000630833, -0.000451285, -0.000147434, 0.000174705, 0.000412875, 0.000500304, 0.00042349, 0.000221632, -3.04603e-05, -0.000249145, -0.000369053, -0.000361971, -0.000242251, -5.82999e-05, 0.000125906, 0.000252472, 0.000287269, 0.000228415, 0.000103739, -4.09214e-05, -0.000157985, -0.000213353, -0.000195859, -0.000118504, -1.18953e-05, 8.72519e-05, 0.000148387, 0.000156183, 0.000113832, 4.00911e-05, -3.83123e-05, -9.60315e-05, -0.000117016, -9.8635e-05, -5.10607e-05, 7.35838e-06, 5.68493e-05, 8.26824e-05, 7.93166e-05, 5.11492e-05, 9.99263e-06, -2.95402e-05, -5.50351e-05, -6.00005e-05, -4.52674e-05, -1.78744e-05, 1.19144e-05, 3.4288e-05, 4.29843e-05, 3.68827e-05, 1.97501e-05, -1.56136e-06, -1.96993e-05, -2.92384e-05, -2.81981e-05, -1.82516e-05, -3.73321e-06, 1.00979e-05, 1.88774e-05, 2.04346e-05, 1.52132e-05, 5.79236e-06, -4.22681e-06, -1.15279e-05, -1.41151e-05, -1.1791e-05, -5.97956e-06, 9.55071e-07, 6.60866e-06, 9.32394e-06, 8.63103e-06, 5.23822e-06, 6.35162e-07, -3.50457e-06, -5.89853e-06, -6.01914e-06, -4.16022e-06, -1.22329e-06, 1.6694e-06, 3.57721e-06, 4.02238e-06, 3.08221e-06, 1.27731e-06, -6.63102e-07, -2.07918e-06, -2.58582e-06, -2.15927e-06, -1.08965e-06, 1.6531e-07, 1.1595e-06, 1.6056e-06, 1.44448e-06, 8.31205e-07, 4.51691e-08, -6.20726e-07, -9.6485e-07, -9.26666e-07, -5.84871e-07, -1.07568e-07, 3.20841e-07, 5.64381e-07, 5.73695e-07, 3.86965e-07, 1.04308e-07, -1.61119e-07, -3.21772e-07, -3.42261e-07, -2.41678e-07, -7.77654e-08, 8.10251e-08, 1.80677e-07, 1.98372e-07, 1.43889e-07, 5.02914e-08, -4.14439e-08, -9.96515e-08, -1.10827e-07, -8.05594e-08, -2.79397e-08, 2.32831e-08, 5.4948e-08, 6.0536e-08, 4.28408e-08, 1.35042e-08, -1.35042e-08, -2.98023e-08, -3.11993e-08, -2.04891e-08, -4.65661e-09, 8.84756e-09, 1.62981e-08, 1.58325e-08, 9.31323e-09, 9.31323e-10, -5.58794e-09, -7.91624e-09, -6.51926e-09, -2.79397e-09, 9.31323e-10, 3.72529e-09, 4.19095e-09, 2.79397e-09, 4.65661e-10, -9.31323e-10, -1.86265e-09, -1.39698e-09, 0, 9.31323e-10, 1.39698e-09, 9.31323e-10, 0, 0, -4.65661e-10, 0, 4.65661e-10, 4.65661e-10, 0, 0},
},
Frequency: 0,
SampleRate: 200,
Decimate: 5,
Gain: 0,
//Scale: 0,
Correction: 0.1745,
Delay: 0.1745,
InputUnits: "count",
OutputUnits: "count",
},
},
Reversed: false,
},
},
}, {
Expand Down
17 changes: 17 additions & 0 deletions resp/responses/configurations/strongmotion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ response:
- FBA-ES-T-BASALT
channels: Z12
reversed: false
- sensors:
- FBA-ES-T-ETNA-2
filters:
- FBA-ES-T-ETNA-2
channels: ENZ
reversed: false
- sensors:
- Kinemetrics SBEPI
filters:
Expand Down Expand Up @@ -207,6 +213,17 @@ response:
filters:
- ALTUS-200
reversed: false
- dataloggers:
- ETNA 2
type: CG
label: HN
samplerate: 200
frequency: 1
storageformat: Steim2
clockdrift: 0.0001
filters:
- ETNA-2-200
reversed: false

CSI Strong Motion Recorders:
sensors:
Expand Down
39 changes: 39 additions & 0 deletions resp/responses/dataloggers/kinemetrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ datalogger-model:
description: Obsidian
manufacturer: Kinemetrics
vendor: ""
ETNA 2:
type: Strong Motion Recorder
description: Etna 2
manufacturer: Kinemetrics
vendor: ""
Obsidian 4X Datalogger:
type: Strong Motion Recorder
description: Obsidian
Expand Down Expand Up @@ -201,5 +206,39 @@ filter:
delay: 0
inputunits: count
outputunits: count
ETNA-2-200:
- type: a2d
lookup: A2D
frequency: 0
samplerate: 8000
decimate: 1
gain: 3.355443e+06
scale: 0
correction: 0
delay: 0
inputunits: V
outputunits: count
- type: fir
lookup: ETNA2_COEFA8_80
frequency: 0
samplerate: 1000
decimate: 0
gain: 0
scale: 0
correction: 1.225000e-02
delay: 1.225000e-02
inputunits: count
outputunits: count
- type: fir
lookup: ETNA2_COEFB5_350
frequency: 0
samplerate: 200
decimate: 0
gain: 0
scale: 0
correction: 1.745000e-01
delay: 1.745000e-01
inputunits: count
outputunits: count

# vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2
Loading

0 comments on commit bd9244a

Please sign in to comment.