diff --git a/geomagio/Controller.py b/geomagio/Controller.py index f6517a4cc9bf97149c9305fc519953c0112622af..054f0bd0fa88e4840e3488be73e77d3e485bca16 100644 --- a/geomagio/Controller.py +++ b/geomagio/Controller.py @@ -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: