Skip to content

Warm nights wwc diag#594

Merged
remicousin merged 2 commits into
masterfrom
warmnights
Feb 23, 2026
Merged

Warm nights wwc diag#594
remicousin merged 2 commits into
masterfrom
warmnights

Conversation

@remicousin
Copy link
Copy Markdown
Contributor

This is the first of the analyses where I needed to first write a function to then have groupby's map call it, as opposed to the other simpler cases. There is a bunch of others coming up. They will all look similar but I will make a PR for each to ease review.

The Definitions controls aren't pretty but I'll think about how to redesign it once all the controls are in there.

There is also the problem where the local plots draws 0s where there are no date (past 2014 for histo and pre 2014 for scenario). I had resolved that for the built-in groupby functions, but here I think I need to revisit my functions to see how they handle missing. I will do that now before submitting other wwc variables.

@remicousin remicousin requested a review from xchourio February 16, 2026 20:48
@remicousin remicousin self-assigned this Feb 16, 2026
@remicousin
Copy link
Copy Markdown
Contributor Author

Ok. The 2nd commit deals with NaNs vs 0s issue. I'll save for later the proper documentation and testing. That's it for this PR. In others using other functions, I might have to do similar changes.

@remicousin
Copy link
Copy Markdown
Contributor Author

Please review

Comment thread pepsico/app_calc.py
@remicousin remicousin merged commit 8c39fca into master Feb 23, 2026
1 check passed
@remicousin remicousin deleted the warmnights branch February 23, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants