id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 212177054,MDU6SXNzdWUyMTIxNzcwNTQ=,1297,Encoding lost upon concatenation,500246,closed,0,,,6,2017-03-06T16:33:40Z,2020-04-05T19:12:41Z,2019-02-06T22:51:19Z,CONTRIBUTOR,,,,"When using `xarray.concat`, attributes are retained, but encoding information is not. I believe encoding information should be retained, at least optionally. ``` In [64]: da = xarray.DataArray([1, 2, 3, 2, 1]) In [65]: da.attrs.update(foo=""bar"") In [66]: da.encoding.update(complevel=5) In [67]: da2 = xarray.concat((da, da), dim=""new"") In [68]: print(da2.attrs) OrderedDict([('foo', 'bar')]) In [69]: print(da2.encoding) {} ```","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/1297/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,13221727,issue