From 181139dc7e73e1c57c5f9102fdb407d7bec9ef77 Mon Sep 17 00:00:00 2001 From: pcain-usgs <pcain@usgs.gov> Date: Mon, 26 Oct 2020 09:44:13 -0600 Subject: [PATCH] Add comment for start/end time adjustment --- geomagio/Controller.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/geomagio/Controller.py b/geomagio/Controller.py index adf42c83..2d6bf659 100644 --- a/geomagio/Controller.py +++ b/geomagio/Controller.py @@ -186,6 +186,8 @@ 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 -- GitLab