ISISComputingGroup / ISISComputingGroup/IBEX

ARCHIVEACCESS: Make logger subsecond aware

Open
#4,220 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
6
Forks
2
Avg merge
16h 40m
Merged PRs (30d)
2

Description

The archive access that pulls out the logs is not sub-second aware it assume that samples are only taken on the second level and orders by this. The sample time should be modified to include the nanoseconds column. This is needed to look at motor positions in fine detail.

Codechange:

1. Add nanoseconds to db querry `ArchiverAccess/archiver_data_source.py ln 87`
1. Make sure this arrives at the value
1. Add order by nanoseconds to querries in `ArchiverAccess/archiver_data_source.py`
1. Add nanosecs to sample time in python structure

Acceptance criteria

1. Date can be requested at sub second level and is returned correctly

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.