-
-
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.
split out CFDatetimeCoder, deprecate use_cftime as kwarg (#9901)
* split out CFDatetimeCoder into coders, deprecate use_cftime as keyword argument * add whats-new.rst entry * Apply suggestions from code review Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix warning * fix docstrings * try fix typing * Apply suggestions from code review Co-authored-by: Spencer Clark <spencerkclark@gmail.com> * Apply suggestions from code review Co-authored-by: Spencer Clark <spencerkclark@gmail.com> * Update xarray/conventions.py * Update deprecated directive * fix docstrings/whats-new.rst after merge * fix whats-new.rst * update warnings/errors --------- Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Spencer Clark <spencerkclark@gmail.com>
- Loading branch information
1 parent
ff7d157
commit 1486bea
Showing
12 changed files
with
190 additions
and
52 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
""" | ||
This module provides coder objects that encapsulate the | ||
"encoding/decoding" process. | ||
""" | ||
|
||
from xarray.coding.times import CFDatetimeCoder | ||
|
||
__all__ = [ | ||
"CFDatetimeCoder", | ||
] |
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
Oops, something went wrong.