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

Tracking unique sensor calibration values #6

Open
patricktokeeffe opened this issue Jan 25, 2024 · 0 comments
Open

Tracking unique sensor calibration values #6

patricktokeeffe opened this issue Jan 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@patricktokeeffe
Copy link
Member

patricktokeeffe commented Jan 25, 2024

Base version of EasyFlux-DL relies on unique sensor calibration values being updated in the program file. Any changes to those unique values would be (hopefully) tracked by the user before they deploy their changes.

Our version is modified so users can update unique values without editing (and subsequently redeploying) the program file. Since changes to the unique values file are not tracked in version control, we conditionally add relevant columns to the final data tables which contain the sensitivity values used for that record:

Table name Relevant columns
Flux NRLITE_SENS,
NR01_SW_IN_SENS, NR01_SW_OUT_SENS, NR01_LW_IN_SENS, NR01_LW_OUT_SENS,
CNR1_SW_IN_OUT, CNR1_SW_OUT_SENS, CNR1_LW_IN_SENS, CNR1_LW_OUT_SENS,
PYRAN_MULT, PYRAN_OFFSET,
QUANTUM_SENS, QUANTUM_OFFSET,
SI111_m0, SI111_m1, SI111_m2, SI111_b0, SI111_b1, SI111_b2,
SHFP_1_SENS, SHFP_2_SENS, SHFP_3_SENS, SHFP_4_SENS
LTAR_Met SHFP_1_SENS, SHFP_2_SENS, SHFP_3_SENS, SHFP_4_SENS
LTAR_Met_1min SHFP_1_SENS, SHFP_2_SENS, SHFP_3_SENS, SHFP_4_SENS

These unique sensor calibration values change very infrequently and consequently we store large amounts of identical values.

  • Should these kind of metadata be abstracted into a separate data table which gets called just once after compilation?
  • If so, should the structure of that table be rigidly defined such that adding/removing sensors does not cause that table to reset?
  • Are there other relevant metadata to retain that aren't specifically calibration values?
    • Sensor presence & quantities Can be deduced by columns present in output data files
    • Fine wire thermocouple diameter? No, already in Flux_Notes
    • Sonic azimuth Present in Flux
    • Rain gage multiplier? (presuming rain gage sensor choice is refactored back to on/off constant + unique constant)
    • Cup & vane azimuth?
@patricktokeeffe patricktokeeffe added the enhancement New feature or request label Jan 25, 2024
@patricktokeeffe patricktokeeffe self-assigned this Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant