Skip to content
Snippets Groups Projects
Commit 51b19763 authored by arigdon-usgs's avatar arigdon-usgs
Browse files

Changed sampling_rate to delta in __create_trace() so that the start and...

Changed sampling_rate to delta in __create_trace() so that the start and endtimes are calculated correctly
parent 280633fc
No related branches found
No related tags found
No related merge requests found
......@@ -305,7 +305,7 @@ def __create_trace(channel, data, decbase=0):
"""
stats = obspy.core.Stats()
stats.starttime = STARTTIME
stats.sampling_rate = 0.0166666666667
stats.delta = 60
stats.declination_base = decbase
stats.channel = channel
numpy_data = numpy.array(data, dtype=numpy.float64)
......
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