Skip to content

Commit

Permalink
Try adding a leap second example to test_make_mth5
Browse files Browse the repository at this point in the history
  • Loading branch information
kkappler committed Dec 19, 2023
1 parent 354ee86 commit ac86b85
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/version_2/test_make_mth5.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ def setUpClass(self):
channels = ["LFE", "LFN", "LFZ", "LQE", "LQN"]
CAS04 = ["8P", "CAS04", "2020-06-02T18:00:00", "2020-07-13T19:00:00"]
NVR08 = ["8P", "NVR08", "2020-06-02T18:00:00", "2020-07-13T19:00:00"]
ALW49 = ["4P", "ALW49", "2015-06-30T20:00:00", "2020-07-01T04:00:00"]

request_list = []
for entry in [CAS04, NVR08]:
for entry in [CAS04, NVR08, ALW49]:
for channel in channels:
request_list.append(
[entry[0], entry[1], "", channel, entry[2], entry[3]]
Expand All @@ -54,7 +55,7 @@ def setUpClass(self):
self.csv_fn = Path().cwd().joinpath("test_inventory.csv")
self.mth5_path = Path().cwd()

self.stations = ["CAS04", "NVR08"]
self.stations = ["CAS04", "NVR08", "ALW49"]
self.channels = ["LQE", "LQN", "LFE", "LFN", "LFZ"]

# Turn list into dataframe
Expand Down Expand Up @@ -222,9 +223,10 @@ def setUpClass(self):
channels = ["LFE", "LFN", "LFZ", "LQE", "LQN"]
CAS04 = ["8P", "CAS04", "2020-06-02T18:00:00", "2020-07-13T19:00:00"]
NVR08 = ["8P", "NVR08", "2020-06-02T18:00:00", "2020-07-13T19:00:00"]
ALW49 = ["4P", "ALW49", "2015-06-30T20:00:00", "2020-07-01T04:00:00"]

request_list = []
for entry in [CAS04, NVR08]:
for entry in [CAS04, NVR08, ALW49]:
for channel in channels:
request_list.append(
[entry[0], entry[1], "", channel, entry[2], entry[3]]
Expand All @@ -233,7 +235,7 @@ def setUpClass(self):
self.csv_fn = Path().cwd().joinpath("test_inventory.csv")
self.mth5_path = Path().cwd()

self.stations = ["CAS04", "NVR08"]
self.stations = ["CAS04", "NVR08", "ALW49"]
self.channels = ["LQE", "LQN", "LFE", "LFN", "LFZ"]

# Turn list into dataframe
Expand Down

0 comments on commit ac86b85

Please sign in to comment.