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

Trim intervals under one hour

parent 5a86220f
No related branches found
No related tags found
2 merge requests!146Release CMO metadata to production,!40Update controller for new filter products
......@@ -187,6 +187,9 @@ class Controller(object):
)
processed = algorithm.process(timeseries)
# trim if --no-trim is not set
if options.output_interval not in [None, "tenhertz", "second", "minute"]:
starttime = processed[0].stats.starttime
endtime = processed[0].stats.endtime
if not options.no_trim:
processed.trim(starttime=starttime, endtime=endtime)
if options.rename_output_channel:
......
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