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/2404#issuecomment-419206989,https://api.github.com/repos/pydata/xarray/issues/2404,419206989,MDEyOklzc3VlQ29tbWVudDQxOTIwNjk4OQ==,1217238,2018-09-06T19:04:46Z,2018-09-06T19:04:46Z,MEMBER,"Unfortunately, I can't seem to reproduce your example:
```python
import xarray
import numpy as np
name = 'loc_techs_export'
data = np.array(['foo::bar'], dtype=object)
data_array = xarray.DataArray(data, dims=[name], name=name, coords={name: data})
print(data_array) # looks identical to your example
data_array.to_netcdf('test.nc', engine='netcdf4') # works
```
Can you share how you save the file to disk? A reproducible example would help greatly here.
Is there anything in the `encoding` attribute for this variable, or in the `encoding` keyword argument to `to_netcdf`?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,357729048