-
Notifications
You must be signed in to change notification settings - Fork 61
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
Add chill portion and chill units #1909
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
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.
This looks great, thanks so much! I'll leave another reviewer to give the OK, though.
I am still trying to figure out what the functions should return. Right now, the As you can see in the current implementation of Update: |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
I am also not sure what the
sounds a little like what I am suggesting to do but I couldn't find how exactly it works? In general, I was expecting these classes to rename and add the units specified but it seems they working more as a check? e.g. I made And finally about testing: I am currently adding tests to the |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
By "over years", you mean periods like "YS-JUL" that contain the change in calendar year ? I'm not I see how this is problematic for |
Haha. Its only problematic if you had no idea that something like |
also linking @eikeluedeling who formalised the method for chill portions. |
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.
This looks good to go now! Is there a reason the PR was closed ?
I must have misclicked! Reopening |
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.
I'll try to contribute the french translations soon.
Sorry for the delay. I think these translations are good enough. I have asked the opinion of a colleague but we could merge away when the tests pass. |
For the record, I have found only one french language document discussing the chill units and portions, and they didn't translate the names : https://archipel.uqam.ca/7003/1/M13555.pdf Hopefully this last commit also triggers the correct set of CI jobs and we can merge. |
Thanks @saschahofmann ! |
Awesome thank you so much ! |
Hi, I've been using the Utah chill unit model for my research but my code is a mess and time-consuming so I'm happy to see it implemented in xclim (thanks @saschahofmann for that)! I did some tests with my data today and wanted to inform you about two things I've noticed. Memory issueFirst, it's more a warning than an issue. Because Output bugThe second is
This is particularly annoying if the input data ends on the last day of the year and a resampling
I hope my explanations are clear enough! Thanks ! |
Closes #1753
TODO:
make_hourly_temperature
chill_portions
chill_units
number
) and pull request (:pull:number
) has been addedmake_hourly_temperature
is working with other calendars than 360_dayWhat kind of change does this PR introduce?