-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cftime: Fix resampling when time bins straddle "0001-01-01" (#9116)
* Add test for #9108 * Update xarray/tests/test_groupby.py Co-authored-by: Spencer Clark <spencerkclark@gmail.com> * Take has_year_zero into account in offset arithmetic * Fix test * Add whats-new * Update doc/whats-new.rst * Add more detail to what's new entry * Modify wording slightly, since this does not always happen when the time coordinate includes "0001-01-01". --------- Co-authored-by: Spencer Clark <spencerkclark@gmail.com>
- Loading branch information
1 parent
c7cb9f7
commit 1ac19c4
Showing
4 changed files
with
130 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters