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

Separate measurement_values into data_reduction records in database #2767

Open
squaregoldfish opened this issue Sep 29, 2023 · 0 comments
Open

Comments

@squaregoldfish
Copy link
Collaborator

With the new PERIODIC measurement mode for the SensorValuesList, it is theoretically possible that an Instrument has two different variables for the same Measurement (i.e. at the same time) that would use values from the same SensorType but at different temporal resolution. One example could be that one Variable is measured periodically and another continuously. So the periodic variable will need to average groups of values while the continuous one would use the instantaneous measurements.

At the moment the first Variable found in the DataReductionJob determines how the values for a given SensorType are extract for that measurement, whereas in reality the different setups should be recorded in the data_reduction records.

This in turn will drive a discussion of what exactly a Measurement represents, both in the database and in the code.

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

No branches or pull requests

1 participant