-
Notifications
You must be signed in to change notification settings - Fork 10
Climatological #436
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
Climatological #436
Conversation
Merge branch 'dev' into climatological # Conflicts: # epipredict.Rproj # tests/testthat/_snaps/step_adjust_latency.md
@dsweber2 I added the print method and some ugly hacks to get autoplot to work, but I'm not super satisfied by the hackiness. So big-picture ideas there would be appreciated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally pretty happy with this, took a bit to understand what was going on, but that's most b/c there's a lot.
I'm making a PR onto this with some of the smaller recommendations and my annotations in the process of understanding.
Backcasting: if we're supporting this, shouldn't we be filtering epi_data
to be on or before that date? Otherwise we're using truth data for forecasting
Co-authored-by: Daniel McDonald <[email protected]>
Climate suggestions
Just skimming convo on phone, wanted to point out that in past we found holiday effects around weeks 52 (53) 1 were important so to prevent weird stuff from happening from confusing/grouping them we had the concept of season week 31 to 82/83 of season "S2016” aka ”2016/2017" to corresponding to epi weeks 31 to end of 2016 plus 1 to 30 of 2017, or something similar to enable representing entire years. So any weird stuff dropping or conflating whatever would happen in off season where it presumably would not matter, near weeks 31/82/83. |
The season-week arithmetic is pretty challenging to get right. And I agree that the convention of having "Week 1" in the summer is probably the easiest change. The same problem potentially impacts the leap year + daily case (only worse). Perhaps a "for now" solution is to (?)
|
Yeah, throwing the problem into the part of the dataset that's mostly irrelevant seems like a good first pass. |
Co-authored-by: Daniel McDonald <[email protected]>
Co-authored-by: Daniel McDonald <[email protected]>
Leap time handling
Checklist
Please:
dajmcdon.
DESCRIPTION
andNEWS.md
.Always increment the patch version number (the third number), unless you are
making a release PR from dev to main, in which case increment the minor
version number (the second number).
(backwards-incompatible changes to the documented interface) are noted.
Collect the changes under the next release number (e.g. if you are on
0.7.2, then write your changes under the 0.8 heading).
Change explanations for reviewer