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/911#issuecomment-233874844,https://api.github.com/repos/pydata/xarray/issues/911,233874844,MDEyOklzc3VlQ29tbWVudDIzMzg3NDg0NA==,1217238,2016-07-20T08:02:28Z,2016-07-20T08:02:28Z,MEMBER,"> Would you be happy for me to submit a PR updating the xarray docs to note that you can only export attributes with certain values to a netCDF file? Yes, this would be greatly appreciated! > (and possibly, longer-term, we could provide an error inside xarray if you try to save out a file with objects as attributes) This is also a good idea. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,166511736 https://github.com/pydata/xarray/issues/911#issuecomment-233864270,https://api.github.com/repos/pydata/xarray/issues/911,233864270,MDEyOklzc3VlQ29tbWVudDIzMzg2NDI3MA==,1217238,2016-07-20T07:25:37Z,2016-07-20T07:25:37Z,MEMBER,"Indeed, this is a poor error message from netCDF4-Python! I believe the netCDF file format itself supports numeric scalar types, 1D arrays of numbers and strings for attributes. For anything beyond that, you'll need to come up with your own encoding schema. One good choice (for representing coordinate systems) might be to use [CF conventions](http://cfconventions.org/), but I don't know any automated tools for handling this. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,166511736