Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status endpoint last calibration time should pull from signal analyzer #221

Open
aromanielloNTIA opened this issue Jan 25, 2023 · 0 comments
Assignees

Comments

@aromanielloNTIA
Copy link
Member

Currently the status endpoint loads the sensor cal on SCOS Sensor startup, and reads the last_calibration_time directly from this.

Since Y-factor calibration is implemented as an action, the status endpoint should query the signal analyzer for the most recent sensor cal time.

The best approach here is probably the keep the existing field, and add a new one: last_onboard_calibration_time or last_field_calibration_time. This way the status endpoint indicates the date from the lab-provided calibration data as well as any in-field calibrations performed onboard.

Relevant code here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant