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

Ceil, round or floor event_start on read_csv function. #174

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

victorgarcia98
Copy link
Contributor

Recently, we have encountered a case where the event start doesn't coincide exactly with the event_resolution tick. For example, on a 15 min event resolution sensor, the data was coming on 14:59, 29:59, etc.

This PR introduces the fields round_event_start, ceil_event_start and floor_event_start to fix this issue.

… to read_csv to floor, ceil round the event_start to the sensor resolution, respectively.

Signed-off-by: Victor Garcia Reolid <[email protected]>
@victorgarcia98 victorgarcia98 added the enhancement New feature or request label Mar 22, 2024
@victorgarcia98 victorgarcia98 self-assigned this Mar 22, 2024
@victorgarcia98 victorgarcia98 requested a review from Flix6x March 22, 2024 10:46
@Flix6x Flix6x merged commit 8fc6cc2 into main Mar 22, 2024
5 checks passed
@Flix6x Flix6x deleted the feature/floor-ceil-or-round-event-start branch March 22, 2024 12:06
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

Successfully merging this pull request may close these issues.

2 participants