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

Hot fix bug in ww data and ww data eval #255

Merged
merged 4 commits into from
Nov 25, 2024

Conversation

kaitejohnson
Copy link
Collaborator

This PR fixes a bug in which the evaluation wastewater data and the calibration wastewater data generated in the generate_simulated_data() function were generated with independent sampling from daily data, resulting in non-identical datasets in the calibration period for the eval and calibration datasets.

This PR fixes this by by breaking the function into two, one which samples for frequency and on which samples for latency/truncates to create the calibration data

@cbernalz I checked and this should fix the date alignment problem! Sorry about that!

@kaitejohnson kaitejohnson marked this pull request as ready for review November 24, 2024 23:10
Copy link
Collaborator

@cbernalz cbernalz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@kaitejohnson kaitejohnson merged commit baf614b into spatial-main Nov 25, 2024
5 checks passed
@kaitejohnson kaitejohnson deleted the hot-fix-bug-in-ww-data-and-ww-data-eval branch November 25, 2024 02:44
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.

2 participants