Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for unsigned data types #166

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

tdrwenski
Copy link

I found an old discussion of unsigned data here: #126.

Since that discussion, unsigned bytes, shorts and ints were added to the CF data types in CF 1.9.

This PR would add support for Netcdf-java's unsigned datatypes. The numeric datatypes handled here include the ones previously handled (FLOAT, DOUBLE, BYTE, INT, SHORT, LONG) and adds support for UBYTE, UINT, USHORT, ULONG.

Additionally, this PR adds a test for reading unsigned data and a small refactor of an existing test.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant