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/748#issuecomment-257117471,https://api.github.com/repos/pydata/xarray/issues/748,257117471,MDEyOklzc3VlQ29tbWVudDI1NzExNzQ3MQ==,226037,2016-10-29T21:37:19Z,2016-10-29T21:37:19Z,MEMBER,"I reinstalled a bunch of stuff and I can confirm my example above works for me now using `engine='h5netcdf'`. It still fails with the default engine. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,131972229 https://github.com/pydata/xarray/issues/748#issuecomment-249353905,https://api.github.com/repos/pydata/xarray/issues/748,249353905,MDEyOklzc3VlQ29tbWVudDI0OTM1MzkwNQ==,226037,2016-09-24T08:54:37Z,2016-09-24T08:54:49Z,MEMBER,"I add to this issue as it refers to general IO failures. Saving a Dataset that contains DataArray with complex data-type fails on all netCDF4 engines: ``` dataset = xr.Dataset({'data': np.zeros((2,), dtype='complex128')}) dataset.to_netcdf('tmp.nc', engine='netcdf4') [...] TypeError: illegal primitive data type, must be one of dict_keys(['i8', 'f4', 'f8', 'i2', 'u2', 'i1', 'i4', 'S1', 'u8', 'u1', 'u4']), got complex128 ``` and ``` dataset.to_netcdf('tmp.nc', engine='h5netcdf') [...] TypeError: Object dtype dtype('O') has no native HDF5 equivalent ``` ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,131972229