forked from pydata/xarray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automate interpretation of _Unsigned attribute (pydata#1453)
* Add support for _Unsigned attribute * Update docstrings with new unsigned behavior * Cast to unsigned with copy instead of view, fixing infinite recursion. Move _Unsigned between attributes and encoding * Fix default argument for is_unsigned * Separate test for unsigned roundtrip * Move unsigned support out of mask_and_scale, update whats-new * Fix what's new date and add issue * Putting enhancement in correct section of whats-new * Turn off _FillValue support provided by PyNIO. Let xarray handle it. * Convert _FillValue when _Unsigned is present * PEP8 * No need to convert unsigned fill value if there is not fill value * PEP8 * yet more PEP8 * Be more careful with _Unsigned attribute check * Better fencing for attribute checks. Style fixes. Test for dtypes.
- Loading branch information
1 parent
dbf9307
commit e3e6db5
Showing
5 changed files
with
132 additions
and
7 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