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

Move trim comment

parent 5e163b4a
No related branches found
No related tags found
2 merge requests!146Release CMO metadata to production,!40Update controller for new filter products
......@@ -186,10 +186,10 @@ class Controller(object):
timeseries=timeseries, renames=options.rename_input_channel
)
processed = algorithm.process(timeseries)
# trim if --no-trim is not set
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)
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