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

Group data by variable not month #272

Draft
wants to merge 31 commits into
base: dev-v2
Choose a base branch
from
Draft

Group data by variable not month #272

wants to merge 31 commits into from

Conversation

bpbond
Copy link
Member

@bpbond bpbond commented Mar 13, 2025

This is an experimental PR -- DO NOT MERGE YET

This PR changes the sensor data system to produce L1 outputs organized by variable (research name) rather than month, as suggested in #171 . For example:

PTR_OW_20230101-20231231_battery-voltage_L1_v1-2.csv
PTR_OW_20230101-20231231_battery-voltage_L1_v1-2.pdf
PTR_OW_20230101-20231231_sonde-cable_L1_v1-2.csv
PTR_OW_20230101-20231231_sonde-cable_L1_v1-2.pdf
PTR_OW_20230101-20231231_sonde-depth_L1_v1-2.csv
PTR_OW_20230101-20231231_sonde-depth_L1_v1-2.pdf
PTR_OW_20230101-20231231_sonde-fdom_L1_v1-2.csv
PTR_OW_20230101-20231231_sonde-fdom_L1_v1-2.pdf

This has advantages and disadvantages -- many more output files, but it's much easier (and probably faster) to read in only the desired data.

This primarily involves changes to write_to_folders() and the design and variable metadata tables.

Closes #171

@bpbond bpbond requested a review from stephpenn1 March 13, 2025 22:51
@bpbond bpbond modified the milestones: L2, L1 v2-0 Mar 13, 2025
@bpbond
Copy link
Member Author

bpbond commented Mar 13, 2025

All checks have passed

🥳

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

Successfully merging this pull request may close these issues.

1 participant