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

Trim traces to requested starttime/endtime

parent edbad80b
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !142. Comments created here will be created in the context of that merge request.
......@@ -263,6 +263,9 @@ class MiniSeedFactory(TimeseriesFactory):
data = self._get_timeseries(
starttime, endtime, observatory, component["channel"], type, interval
)[0]
TimeseriesUtility.pad_and_trim_trace(
trace=data, starttime=starttime, endtime=endtime
)
# convert to nT
nt = data.data * component["scale"] + component["offset"]
# add to converted
......
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