{"action":"opened","issue":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/493","labels_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/493/comments","events_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/493/events","html_url":"https://github.com/Unidata/netcdf4-python/issues/493","id":119682670,"number":493,"title":"Unsigned byte according to CF conventions","user":{"login":"cpaulik","id":380927,"avatar_url":"https://avatars.githubusercontent.com/u/380927?v=3","gravatar_id":"","url":"https://api.github.com/users/cpaulik","html_url":"https://github.com/cpaulik","followers_url":"https://api.github.com/users/cpaulik/followers","following_url":"https://api.github.com/users/cpaulik/following{/other_user}","gists_url":"https://api.github.com/users/cpaulik/gists{/gist_id}","starred_url":"https://api.github.com/users/cpaulik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpaulik/subscriptions","organizations_url":"https://api.github.com/users/cpaulik/orgs","repos_url":"https://api.github.com/users/cpaulik/repos","events_url":"https://api.github.com/users/cpaulik/events{/privacy}","received_events_url":"https://api.github.com/users/cpaulik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-01T10:00:55Z","updated_at":"2015-12-01T10:00:55Z","closed_at":null,"body":"Reading [Section 2.2 of the CF conventions](http://cfconventions.org/Data/cf-conventions/cf-conventions-1.6/build/cf-conventions.html#idp4767584) I gather that I can only use `np.byte` datatypes but if `valid_range` is using `np.ubyte` values then the byte data should be interpreted as unsigned.\r\n\r\nThis is currently not the case in this library. If we want to support this during `auto_mask_and_scale` then I'm happy to look into it."}}