-
Notifications
You must be signed in to change notification settings - Fork 59
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
Refactor base indicator classes #1446
Conversation
Absolutely ! For all 3, having full control on the |
Issue CSHS-CWRA/RavenPy#307 is probably due to the fact that this PR made So the generic |
Pull Request Checklist:
number
) and pull request (:pull:number
) has been addedWhat kind of change does this PR introduce?
Move around some of the base indicator classes code. Split the missing values handling from the resampling handling. This way, indicators like
return_level
can reduce the full time axis and still perform some missing values handling.Does this PR introduce a breaking change?
No, not yet.
Other information:
@huard @RondeauG, if I am not mistaken,
return_level
andfit
currently have missing values handling disabled because it was impossible with the previous classes to have both this and full reduction of "time". Now that it is possible, should we activate it ?Similarly,
stats
had the "Any" missing method forced. Is there a reason for that ? Here, I removed the argument, meaning it will use "from_context".