Skip to content
Snippets Groups Projects
Commit 3cc9cc17 authored by Claycomb, Abram Earl's avatar Claycomb, Abram Earl
Browse files

test changes in data and elements

parent c6e14a0b
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
Geodetic Latitude 40.137 | Geodetic Latitude 40.137 |
Geodetic Longitude 254.763 | Geodetic Longitude 254.763 |
Elevation 1682 | Elevation 1682 |
Reported MVHMVEMVZMSF | Reported HEZF |
Sensor Orientation HDZF | Sensor Orientation HDZF |
Digital Sampling 0.01 second | Digital Sampling 0.01 second |
Data Interval Type Average 1-Second | Data Interval Type Average 1-Second |
...@@ -15,64 +15,124 @@ ...@@ -15,64 +15,124 @@
# CONDITIONS OF USE: The Conditions of Use for data provided | # CONDITIONS OF USE: The Conditions of Use for data provided |
# through INTERMAGNET and acknowledgement templates can be found at | # through INTERMAGNET and acknowledgement templates can be found at |
# www.intermagnet.org | # www.intermagnet.org |
DATE TIME DOY BOUMVH BOUMVE BOUMVZ BOUMSF | DATE TIME DOY BOUH BOUE BOUZ BOUF |
2018-09-01 23:00:00.000 244 20828.92 -52.88 47043.06 51965.67 2018-10-10 22:00:00.000 283 20815.89 -58.01 47024.77 51945.95
2018-09-01 23:01:00.000 244 20828.76 -52.59 47042.96 51965.49 2018-10-10 22:01:00.000 283 20815.56 -57.49 47024.71 51945.77
2018-09-01 23:02:00.000 244 20828.50 -52.13 47042.85 51965.30 2018-10-10 22:02:00.000 283 20815.69 -56.45 47024.66 51945.76
2018-09-01 23:03:00.000 244 20828.12 -51.65 47042.77 51965.07 2018-10-10 22:03:00.000 283 20815.41 -56.63 47024.97 51945.95
2018-09-01 23:04:00.000 244 20828.25 -51.56 47042.71 51965.07 2018-10-10 22:04:00.000 283 20816.20 -56.82 47024.82 51946.12
2018-09-01 23:05:00.000 244 20828.07 -51.42 47042.64 51964.92 2018-10-10 22:05:00.000 283 20817.00 -56.74 47024.95 51946.54
2018-09-01 23:06:00.000 244 20828.09 -51.26 47042.54 51964.83 2018-10-10 22:06:00.000 283 20817.29 -56.18 47024.71 51946.46
2018-09-01 23:07:00.000 244 20828.21 -51.11 47042.49 51964.84 2018-10-10 22:07:00.000 283 20816.94 -55.73 47024.99 51946.57
2018-09-01 23:08:00.000 244 20828.15 -50.99 47042.38 51964.72 2018-10-10 22:08:00.000 283 20817.05 -55.12 47024.97 51946.58
2018-09-01 23:09:00.000 244 20827.38 -50.74 47042.37 51964.43 2018-10-10 22:09:00.000 283 20816.73 -54.64 47025.12 51946.59
2018-09-01 23:10:00.000 244 20827.55 -50.72 47042.26 51964.37 2018-10-10 22:10:00.000 283 20817.05 -53.73 47025.04 51946.65
2018-09-01 23:11:00.000 244 20827.16 -50.50 47042.19 51964.15 2018-10-10 22:11:00.000 283 20817.45 -53.99 47025.31 51947.05
2018-09-01 23:12:00.000 244 20826.72 -50.30 47042.13 51963.93 2018-10-10 22:12:00.000 283 20818.17 -53.79 47025.27 51947.28
2018-09-01 23:13:00.000 244 20826.33 -50.19 47042.07 51963.72 2018-10-10 22:13:00.000 283 20819.09 -54.05 47025.33 51947.71
2018-09-01 23:14:00.000 244 20826.82 -50.39 47042.00 51963.85 2018-10-10 22:14:00.000 283 20819.96 -54.02 47025.26 51947.99
2018-09-01 23:15:00.000 244 20827.07 -50.45 47041.91 51963.86 2018-10-10 22:15:00.000 283 20820.74 -54.03 47025.30 51948.33
2018-09-01 23:16:00.000 244 20826.66 -50.06 47041.82 51963.63 2018-10-10 22:16:00.000 283 20820.90 -53.67 47025.30 51948.40
2018-09-01 23:17:00.000 244 20826.34 -49.84 47041.80 51963.48 2018-10-10 22:17:00.000 283 20820.03 -53.27 47025.43 51948.18
2018-09-01 23:18:00.000 244 20826.48 -49.65 47041.72 51963.45 2018-10-10 22:18:00.000 283 20819.56 -52.54 47025.43 51947.99
2018-09-01 23:19:00.000 244 20826.75 -49.46 47041.69 51963.53 2018-10-10 22:19:00.000 283 20818.28 -51.49 47025.50 51947.54
2018-09-01 23:20:00.000 244 20827.10 -49.32 47041.69 51963.65 2018-10-10 22:20:00.000 283 20817.05 -50.66 47025.58 51947.13
2018-09-01 23:21:00.000 244 20827.50 -49.20 47041.65 51963.79 2018-10-10 22:21:00.000 283 20815.45 -50.54 47025.82 51946.73
2018-09-01 23:22:00.000 244 20827.59 -48.97 47041.64 51963.81 2018-10-10 22:22:00.000 283 20814.94 -51.18 47025.81 51946.53
2018-09-01 23:23:00.000 244 20827.57 -48.65 47041.61 51963.77 2018-10-10 22:23:00.000 283 20815.45 -51.94 47025.68 51946.61
2018-09-01 23:24:00.000 244 20827.65 -48.47 47041.61 51963.80 2018-10-10 22:24:00.000 283 20817.32 -52.62 47025.36 51947.05
2018-09-01 23:25:00.000 244 20828.27 -48.28 47041.52 51963.97 2018-10-10 22:25:00.000 283 20818.02 -51.93 47025.17 51947.15
2018-09-01 23:26:00.000 244 20827.99 -47.96 47041.56 51963.88 2018-10-10 22:26:00.000 283 20817.83 -51.60 47025.36 51947.24
2018-09-01 23:27:00.000 244 20828.45 -47.79 47041.49 51964.00 2018-10-10 22:27:00.000 283 20816.42 -51.43 47025.53 51946.84
2018-09-01 23:28:00.000 244 20828.64 -47.62 47041.48 51964.08 2018-10-10 22:28:00.000 283 20815.40 -51.23 47025.52 51946.44
2018-09-01 23:29:00.000 244 20828.37 -47.45 47041.57 51964.05 2018-10-10 22:29:00.000 283 20815.24 -51.41 47025.44 51946.30
2018-09-01 23:30:00.000 244 20828.88 -47.29 47041.45 51964.15 2018-10-10 22:30:00.000 283 20815.88 -51.55 47025.17 51946.30
2018-09-01 23:31:00.000 244 20829.04 -47.08 47041.48 51964.23 2018-10-10 22:31:00.000 283 20816.65 -50.83 47024.89 51946.34
2018-09-01 23:32:00.000 244 20829.72 -47.09 47041.48 51964.48 2018-10-10 22:32:00.000 283 20817.58 -50.15 47024.76 51946.59
2018-09-01 23:33:00.000 244 20829.96 -47.09 47041.51 51964.61 2018-10-10 22:33:00.000 283 20816.01 -49.56 47025.25 51946.42
2018-09-01 23:34:00.000 244 20830.14 -46.93 47041.47 51964.67 2018-10-10 22:34:00.000 283 20815.60 -49.55 47025.15 51946.17
2018-09-01 23:35:00.000 244 20830.53 -46.87 47041.49 51964.83 2018-10-10 22:35:00.000 283 20815.47 -49.57 47025.19 51946.16
2018-09-01 23:36:00.000 244 20830.73 -46.85 47041.53 51964.93 2018-10-10 22:36:00.000 283 20815.89 -49.19 47024.93 51946.09
2018-09-01 23:37:00.000 244 20830.75 -46.82 47041.51 51964.92 2018-10-10 22:37:00.000 283 20816.19 -49.59 47025.09 51946.35
2018-09-01 23:38:00.000 244 20830.59 -46.71 47041.47 51964.81 2018-10-10 22:38:00.000 283 20816.53 -49.98 47024.95 51946.36
2018-09-01 23:39:00.000 244 20829.99 -46.47 47041.39 51964.53 2018-10-10 22:39:00.000 283 20816.77 -49.59 47024.77 51946.28
2018-09-01 23:40:00.000 244 20829.36 -46.29 47041.35 51964.23 2018-10-10 22:40:00.000 283 20816.95 -49.94 47024.87 51946.46
2018-09-01 23:41:00.000 244 20829.26 -46.31 47041.25 51964.09 2018-10-10 22:41:00.000 283 20817.50 -49.82 47024.70 51946.51
2018-09-01 23:42:00.000 244 20828.98 -46.18 47041.13 51963.88 2018-10-10 22:42:00.000 283 20817.54 -49.92 47024.73 51946.56
2018-09-01 23:43:00.000 244 20828.76 -46.05 47041.03 51963.70 2018-10-10 22:43:00.000 283 20817.45 -49.84 47024.65 51946.44
2018-09-01 23:44:00.000 244 20828.65 -45.92 47040.97 51963.59 2018-10-10 22:44:00.000 283 20817.54 -50.14 47024.63 51946.46
2018-09-01 23:45:00.000 244 20828.76 -45.92 47040.89 51963.56 2018-10-10 22:45:00.000 283 20817.53 -49.80 47024.46 51946.32
2018-09-01 23:46:00.000 244 20828.89 -45.82 47040.79 51963.53 2018-10-10 22:46:00.000 283 20817.50 -49.29 47024.37 51946.21
2018-09-01 23:47:00.000 244 20828.86 -45.75 47040.76 51963.49 2018-10-10 22:47:00.000 283 20817.29 -49.04 47024.39 51946.13
2018-09-01 23:48:00.000 244 20829.27 -45.80 47040.72 51963.61 2018-10-10 22:48:00.000 283 20817.57 -48.77 47024.29 51946.15
2018-09-01 23:49:00.000 244 20829.46 -45.74 47040.67 51963.65 2018-10-10 22:49:00.000 283 20817.79 -48.71 47024.36 51946.30
2018-09-01 23:50:00.000 244 20829.57 -45.55 47040.66 51963.67 2018-10-10 22:50:00.000 283 20817.55 -48.99 47024.45 51946.30
2018-09-01 23:51:00.000 244 20829.56 -45.27 47040.64 51963.64 2018-10-10 22:51:00.000 283 20817.74 -49.79 47024.39 51946.33
2018-09-01 23:52:00.000 244 20829.56 -45.14 47040.64 51963.65 2018-10-10 22:52:00.000 283 20818.44 -49.12 47024.01 51946.25
2018-09-01 23:53:00.000 244 20829.37 -44.95 47040.61 51963.57 2018-10-10 22:53:00.000 283 20819.24 -49.00 47024.06 51946.62
2018-09-01 23:54:00.000 244 20829.07 -44.72 47040.64 51963.48 2018-10-10 22:54:00.000 283 20818.89 -48.48 47024.10 51946.51
2018-09-01 23:55:00.000 244 20828.72 -44.58 47040.67 51963.36 2018-10-10 22:55:00.000 283 20818.37 -48.38 47024.16 51946.38
2018-09-01 23:56:00.000 244 20828.35 -44.54 47040.65 51963.21 2018-10-10 22:56:00.000 283 20817.42 -47.96 47024.27 51946.09
2018-09-01 23:57:00.000 244 20827.99 -44.40 47040.60 51963.01 2018-10-10 22:57:00.000 283 20817.54 -48.44 47024.26 51946.12
2018-09-01 23:58:00.000 244 20827.75 -44.31 47040.56 51962.87 2018-10-10 22:58:00.000 283 20817.72 -47.98 47024.06 51946.01
2018-09-01 23:59:00.000 244 20827.78 -44.32 47040.51 51962.84 2018-10-10 22:59:00.000 283 20818.08 -47.94 47024.16 51946.23
2018-10-10 23:00:00.000 283 20817.99 -48.83 47024.34 51946.37
2018-10-10 23:01:00.000 283 20818.11 -49.39 47024.23 51946.30
2018-10-10 23:02:00.000 283 20819.03 -49.64 47023.99 51946.47
2018-10-10 23:03:00.000 283 20820.22 -50.22 47023.92 51946.87
2018-10-10 23:04:00.000 283 20819.52 -48.91 47023.70 51946.38
2018-10-10 23:05:00.000 283 20820.34 -49.39 47023.84 51946.84
2018-10-10 23:06:00.000 283 20821.27 -49.10 47023.69 51947.07
2018-10-10 23:07:00.000 283 20822.95 -48.99 47023.58 51947.63
2018-10-10 23:08:00.000 283 20823.59 -48.29 47023.58 51947.88
2018-10-10 23:09:00.000 283 20822.59 -46.97 47023.64 51947.52
2018-10-10 23:10:00.000 283 20821.41 -45.50 47023.81 51947.21
2018-10-10 23:11:00.000 283 20820.58 -43.88 47023.88 51946.94
2018-10-10 23:12:00.000 283 20819.08 -42.76 47024.15 51946.60
2018-10-10 23:13:00.000 283 20817.40 -42.05 47024.38 51946.16
2018-10-10 23:14:00.000 283 20817.93 -42.52 47024.51 51946.48
2018-10-10 23:15:00.000 283 20819.32 -42.51 47024.33 51946.85
2018-10-10 23:16:00.000 283 20820.89 -42.27 47024.30 51947.43
2018-10-10 23:17:00.000 283 20821.16 -42.35 47024.56 51947.80
2018-10-10 23:18:00.000 283 20820.29 -43.33 47024.98 51947.83
2018-10-10 23:19:00.000 283 20819.58 -43.74 47024.85 51947.44
2018-10-10 23:20:00.000 283 20819.29 -43.70 47024.69 51947.18
2018-10-10 23:21:00.000 283 20819.50 -43.41 47024.50 51947.08
2018-10-10 23:22:00.000 283 20819.80 -43.02 47024.48 51947.18
2018-10-10 23:23:00.000 283 20818.59 -43.09 47024.71 51946.91
2018-10-10 23:24:00.000 283 20817.25 -43.30 47024.73 51946.41
2018-10-10 23:25:00.000 283 20817.33 -43.32 47024.49 51946.22
2018-10-10 23:26:00.000 283 20818.07 -43.33 47024.35 51946.40
2018-10-10 23:27:00.000 283 20819.16 -43.73 47024.34 51946.81
2018-10-10 23:28:00.000 283 20819.00 -43.41 47024.38 51946.78
2018-10-10 23:29:00.000 283 20818.11 -43.49 47024.51 51946.55
2018-10-10 23:30:00.000 283 20817.33 -43.17 47024.46 51946.20
2018-10-10 23:31:00.000 283 20816.77 -43.20 47024.46 51945.98
2018-10-10 23:32:00.000 283 20816.77 -42.72 47024.28 51945.82
2018-10-10 23:33:00.000 283 20816.85 -43.11 47024.43 51945.98
2018-10-10 23:34:00.000 283 20816.49 -42.82 47024.34 51945.74
2018-10-10 23:35:00.000 283 20816.38 -43.05 47024.43 51945.79
2018-10-10 23:36:00.000 283 20816.48 -43.05 47024.36 51945.77
2018-10-10 23:37:00.000 283 20816.47 -43.25 47024.39 51945.79
2018-10-10 23:38:00.000 283 20816.21 -42.88 47024.28 51945.59
2018-10-10 23:39:00.000 283 20815.81 -42.69 47024.32 51945.47
2018-10-10 23:40:00.000 283 20815.00 -42.60 47024.39 51945.22
2018-10-10 23:41:00.000 283 20814.89 -42.59 47024.31 51945.10
2018-10-10 23:42:00.000 283 20814.64 -42.38 47024.27 51944.97
2018-10-10 23:43:00.000 283 20814.10 -42.50 47024.36 51944.83
2018-10-10 23:44:00.000 283 20813.76 -42.43 47024.29 51944.63
2018-10-10 23:45:00.000 283 20813.92 -42.51 47024.29 51944.69
2018-10-10 23:46:00.000 283 20813.61 -42.28 47024.23 51944.51
2018-10-10 23:47:00.000 283 20813.54 -42.32 47024.29 51944.55
2018-10-10 23:48:00.000 283 20813.93 -42.52 47024.27 51944.68
2018-10-10 23:49:00.000 283 20814.09 -42.50 47024.24 51944.71
2018-10-10 23:50:00.000 283 20813.85 -42.36 47024.25 51944.64
2018-10-10 23:51:00.000 283 20813.78 -42.17 47024.23 51944.58
2018-10-10 23:52:00.000 283 20813.74 -41.82 47024.28 51944.60
2018-10-10 23:53:00.000 283 20813.88 -41.86 47024.39 51944.77
2018-10-10 23:54:00.000 283 20813.85 -42.17 47024.55 51944.91
2018-10-10 23:55:00.000 283 20813.88 -42.81 47024.58 51944.94
2018-10-10 23:56:00.000 283 20814.03 -42.95 47024.51 51944.95
2018-10-10 23:57:00.000 283 20813.48 -43.34 47024.62 51944.82
2018-10-10 23:58:00.000 283 20812.26 -43.40 47024.57 51944.31
2018-10-10 23:59:00.000 283 20811.80 -43.72 47024.50 51944.08
This diff is collapsed.
...@@ -95,7 +95,7 @@ class FilterAlgorithm(Algorithm): ...@@ -95,7 +95,7 @@ class FilterAlgorithm(Algorithm):
filtered = self.firfilter(data, self.window, step) filtered = self.firfilter(data, self.window, step)
stats=Stats(trace.stats) stats=Stats(trace.stats)
stats.channel = trace_chan_dict2[stats.channel] #stats.channel = trace_chan_dict2[stats.channel]
stats.delta = stats.delta*step stats.delta = stats.delta*step
if 'processing' in stats: if 'processing' in stats:
stats.pop('processing') stats.pop('processing')
......
...@@ -21,21 +21,21 @@ def test_process(): ...@@ -21,21 +21,21 @@ def test_process():
sec = factory.parse_string(sec_iaga2002_string) sec = factory.parse_string(sec_iaga2002_string)
# process hezf (raw) channels with loaded transform # process hezf (raw) channels with loaded transform
a = filt(inchannels=('SVH','SVE','SVZ','SSF'), a = filt(inchannels=('H','E','Z','F'),
outchannels=('MVH','MVE','MVZ','MSF')) outchannels=('H','E','Z','F'))
filt_bou = a.process(sec) filt_bou = a.process(sec)
# unpack channels from loaded minutes data file # unpack channels from loaded minutes data file
u = mint.select(channel='MVH')[0] u = mint.select(channel='H')[0]
v = mint.select(channel='MVE')[0] v = mint.select(channel='E')[0]
w = mint.select(channel='MVZ')[0] w = mint.select(channel='Z')[0]
f = mint.select(channel='MSF')[0] f = mint.select(channel='F')[0]
# unpack channels from filtered data # unpack channels from filtered data
u_filt = filt_bou.select(channel='MVH')[0] u_filt = filt_bou.select(channel='H')[0]
v_filt = filt_bou.select(channel='MVE')[0] v_filt = filt_bou.select(channel='E')[0]
w_filt = filt_bou.select(channel='MVZ')[0] w_filt = filt_bou.select(channel='Z')[0]
f_filt = filt_bou.select(channel='MSF')[0] f_filt = filt_bou.select(channel='F')[0]
for r in range(mint[0].data.size): for r in range(mint[0].data.size):
assert_almost_equals(u.data[r], u_filt.data[r], 1) assert_almost_equals(u.data[r], u_filt.data[r], 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment