First of all: Thank you for providing this library!
In the file readFile.py lines 503-508 are the conversion of the date-string to a datetime.datetime object. The fraction of the second is truncated there. However, with real receiver data, it cannot be assumed that the observation is actually done at a full second. This yields the error that a observation at second 14.996000 will end up as 14.0000000.
I suggest to change the existing code:
epoch = datetime.datetime(year = int(epoch_year),
month = int(epoch_month),
day = int(epoch_day),
hour = int(epoch_hour),
minute = int(epoch_minute),
second = int(float(epoch_second)))
First of all: Thank you for providing this library!
In the file
readFile.py
lines 503-508 are the conversion of the date-string to adatetime.datetime
object. The fraction of the second is truncated there. However, with real receiver data, it cannot be assumed that the observation is actually done at a full second. This yields the error that a observation at second14.996000
will end up as14.0000000
. I suggest to change the existing code:To something like: