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

Add options for time range trimming to the read_cwa CLI tool #62

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

chanshing
Copy link
Member

@chanshing chanshing commented Jan 8, 2025

Adds new command-line options to the read_cwa.py script for specifying a time range and customizing data extraction:

--start-time: Specify the start time for data extraction.
--end-time: Specify the end time for data extraction.
--skipdays: Number of days to skip before starting extraction.
--cutdays: Number of days to exclude from the end of the range.

These use existing functionality in read_device function that were added recently 791a08f, but unreachable from the CLI tool read_cwa.

Adds new command-line options to the read_cwa.py script for specifying a time range and customizing data extraction:

--start-time: Specify the start time for data extraction.
--end-time: Specify the end time for data extraction.
--skipdays: Number of days to skip before starting extraction.
--cutdays: Number of days to exclude from the end of the range.

These use existing functionality in read_device that were added recently but were missing in the CLI.
@chanshing chanshing changed the title feat(read_cwa): add command-line options for time range trimming feat(read_cwa): add options for time range trimming to the read_cwa CLI tool Jan 8, 2025
@chanshing chanshing changed the title feat(read_cwa): add options for time range trimming to the read_cwa CLI tool add options for time range trimming to the read_cwa CLI tool Jan 8, 2025
@chanshing chanshing changed the title add options for time range trimming to the read_cwa CLI tool Add options for time range trimming to the read_cwa CLI tool Jan 8, 2025
@chanshing chanshing merged commit 879e0e7 into master Jan 8, 2025
50 checks passed
@chanshing chanshing deleted the feat/update-cli-reader-start-end-times branch January 8, 2025 00:46
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