obsplus icon indicating copy to clipboard operation
obsplus copied to clipboard

Incorrect sampling_period for large sample_rates

Open d-chambers opened this issue 4 years ago • 0 comments

  • obsplus version: 0.1.0
  • Python version: 3.7
  • Operating System: ubuntu 18.04

Description

In working with some mseed files which have 6000.0 Hz sampling rates I noticed the sampling_period in the index is set at 0.000166 rather than using the full nanosecond precision of 0.000166666. Even though 6k Hz cannot be represented exactly as a sampling period, it should at least use the full ns precision allotted.

d-chambers avatar Apr 15 '20 21:04 d-chambers