-
Notifications
You must be signed in to change notification settings - Fork 4
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
Stats func accessor 59 #99
Conversation
Travis tests are failing on |
please raise a PR on the failing stats functions. new versions of xr and/or dask likely the reason |
@aaronspring I feel like we recently dealt with this in |
* Add Github Actions system for CI * Removes Travis CI * Switches to CodeCov for coverage testing * Fixes bug with vectorize=True with new dask/xarray
@luke-gregor, if you rebase this onto |
This reverts commit 9190955.
…or/esmtools into stats-func-accessor-59
This will be fixed from #105. You can rebase once I merge it when the RTD tests pass and so on. Sorry this little implementation has been such a headache! But you found a few holes with recent upstream changes. :) |
Okay @luke-gregor, another rebase onto master should do the trick here! |
All passed! I'll update the docs accordingly. |
Thanks @luke-gregor! Sorry for the delay here. In the final stretch of writing, so haven't kept too close of an eye on Github. Merging now! |
Description
Added xarray accessors for the stats functions. Added accessor as
stats
toxr.DataArray
(and notxr.Dataset
).Includes:
corr, linear_slope, linregress, polyfit, rm_poly, rm_trend
Did not change the API of these functions as I originally intended - I didn't realise how extensive the tests were and this would all have to be changed 😵
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Manually. Not a complicated implementation of xarray accessors.
Checklist (while developing)