Skip to content
Snippets Groups Projects
Commit 6581d41a authored by Kien Le's avatar Kien Le
Browse files

Store the actual number of points grabbed

parent 4d984c44
No related branches found
No related tags found
1 merge request!133WIP: prepare fast mseed to connect with SOHView
......@@ -147,6 +147,7 @@ class Reftek130(obspy_rt130_core.Reftek130):
tr = Trace(data=sample_data, header=copy.deepcopy(header))
tr.stats.npts = packets_['number_of_samples'].sum()
tr.stats.actual_npts = npts
# channel number is not included in the EH/ET packet
# payload, so add it to stats as well..
tr.stats.reftek130['channel_number'] = channel_number
......
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