-
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
Check for discharge unit compliance in streamflow statistical indicators #1225
Conversation
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.
Looks good to me!
One remaining issue is that da
is very nondescript and doesn't make is obvious that a discharge is required. If we followed conventions established for other functions in xclim
, I'd expect q
or something similar. However, I understand that changing it at this point would likely be a breaking change...
It's because the stats indices are generic, and are meant to be applicable to any kind of variable. Unless @aulemahal has magic trick up his sleeve ? |
Co-authored-by: Pascal Bourgault <bourgault.pascal@ouranos.ca>
for more information, see https://pre-commit.ci
…ealm to generic realm. Renamed streamflow indicators
This PR took an unexpected turn. It now includes a new |
I'll let the others approve the more internal changes, but it looks good to me. |
Co-authored-by: Pascal Bourgault <bourgault.pascal@ouranos.ca>
Pull Request Checklist:
frequency_analysis
indicator weirdly declared #1130number
) and pull request (:pull:number
) has been addedWhat kind of change does this PR introduce?
generic
indicator realm with the indicators fit, stats, and return_level.Does this PR introduce a breaking change?
Three land indicators for streamflow analysis have been deprecated.
Other information: