Closed BSchilperoort closed 1 year ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Note that the md link check fails. This is fixed in #28, so I won't fix the link here.
Kudos, SonarCloud Quality Gate passed!
The custom function looks good and works well too. Let's merge this PR!
Thanks for the reviews @geek-yang !
Users may want to use different statistics rather than "mean" for their resampling. This PR adds that functionality. All of the following (numpy) statistics are supported:
Additionally, user defined functions can also be passed.
Tasks:
Note: the traintest tests had to be updated due to the change in the sorting of the anchor years in the xarray output of
resample
.Closes #4