Skip to content
Snippets Groups Projects
Commit 494a83e0 authored by Cain, Payton David's avatar Cain, Payton David
Browse files

use factory module for hour/day factories

parent df9a399a
No related branches found
No related tags found
2 merge requests!146Release CMO metadata to production,!139use factory module for hour/day factories
......@@ -45,8 +45,8 @@ def obsrio_filter(
update_limit=update_limit,
)
elif interval in ["hour", "day"]:
input_factory = EdgeFactory(host=host, port=port)
output_factory = MiniSeedFactory(
input_factory = get_edge_factory(host=host, port=port)
output_factory = get_miniseed_factory(
host=host, port=output_read_port, write_port=output_port
)
if interval == "hour":
......@@ -173,7 +173,7 @@ def obsrio_hour(
realtime_interval: int = 600,
update_limit: int = 10,
):
"""Filter 1 second edge H,E,Z,F to 1 hour miniseed U,V,W,F."""
"""Filter 1 minute edge H,E,Z,F to 1 hour miniseed U,V,W,F."""
starttime, endtime = get_realtime_interval(realtime_interval)
controller = Controller(
inputFactory=input_factory or get_edge_factory(),
......
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