html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/1877#issuecomment-368461033,https://api.github.com/repos/pydata/xarray/issues/1877,368461033,MDEyOklzc3VlQ29tbWVudDM2ODQ2MTAzMw==,3169620,2018-02-26T10:46:47Z,2018-02-26T10:46:47Z,CONTRIBUTOR,"It's OK - I think @shoyer is right - it shouldn't silently promote the type, and the error message is clear. Thanks","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,293445250 https://github.com/pydata/xarray/issues/1877#issuecomment-368385281,https://api.github.com/repos/pydata/xarray/issues/1877,368385281,MDEyOklzc3VlQ29tbWVudDM2ODM4NTI4MQ==,2443309,2018-02-26T04:12:29Z,2018-02-26T04:12:29Z,MEMBER,Do we have a verdict here? I'm personally fine raising an error (perhaps a better one than the current) unless an encoding/dtype is provided. ,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,293445250 https://github.com/pydata/xarray/issues/1877#issuecomment-362462223,https://api.github.com/repos/pydata/xarray/issues/1877,362462223,MDEyOklzc3VlQ29tbWVudDM2MjQ2MjIyMw==,1217238,2018-02-02T01:58:37Z,2018-02-02T01:58:37Z,MEMBER,I suppose we could do while issuing a warning. Using `encoding={'test': {'dtype': np.float32}}` in `to_netcdf()` would be the way to silence the warning.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,293445250 https://github.com/pydata/xarray/issues/1877#issuecomment-362462091,https://api.github.com/repos/pydata/xarray/issues/1877,362462091,MDEyOklzc3VlQ29tbWVudDM2MjQ2MjA5MQ==,1217238,2018-02-02T01:57:47Z,2018-02-02T01:57:47Z,MEMBER,"> It might be nice if the xarray netCDF engine promoted this to float32 instead. I would generally lean against this type of behavior. Isn't it nice to know that float16 isn't supported rather than being surprised later when you discover your data was automatically upcast?","{""total_count"": 3, ""+1"": 3, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,293445250