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

Remove adaptations to controller trimming

parent 3d3ad9e7
No related branches found
No related tags found
2 merge requests!146Release CMO metadata to production,!40Update controller for new filter products
......@@ -186,11 +186,6 @@ class Controller(object):
timeseries=timeseries, renames=options.rename_input_channel
)
processed = algorithm.process(timeseries)
# for averaging filter steps, return data with aligned starttime/endtime
# if no data is available, return empty trace with aligned starttime/endtime
if options.output_interval in ["hour", "day"]:
starttime = processed[0].stats.starttime
endtime = processed[0].stats.endtime
# trim if --no-trim is not set
if not options.no_trim:
processed.trim(starttime=starttime, endtime=endtime)
......
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