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

ideas for clim and ano calculations using groupby #375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

remicousin
Copy link
Contributor

Ideas to do "daily climatology" and back from clim to real time to, for instance, compute anomalies.

There is a function and a test. Test isn't really test but rather how I envision the usage (or what would be inside functions easier for the user to call). dayofyear366 function creates the groups for climatologies.

Should we be given a 365-day climato, it would be easy to project it to a 366-day one such as the one I created and fill Feb 29 with something and have the user have a few options about what to fill with.

Also with this set up, we need not create functions for each climato/ano analysis (e.g. clim: mean, stddev...; ano: subtract, divide...), but can describe the process in documentation, or make functions calling functions (this time allowing users to see them):
climato(daily_data, [func1, func2...])
ano(daily_data, [func1, func2...])

(also, this is not necessarily meant to merge: this is playground.... I thought there was a label or something for that but now I can't see it)

@remicousin remicousin self-assigned this Aug 30, 2023
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