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/pull/5065#issuecomment-826984456,https://api.github.com/repos/pydata/xarray/issues/5065,826984456,MDEyOklzc3VlQ29tbWVudDgyNjk4NDQ1Ng==,2448579,2021-04-26T16:37:37Z,2021-04-26T16:37:37Z,MEMBER,Thanks @rabernat ,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,837243943 https://github.com/pydata/xarray/pull/5065#issuecomment-811262328,https://api.github.com/repos/pydata/xarray/issues/5065,811262328,MDEyOklzc3VlQ29tbWVudDgxMTI2MjMyOA==,2448579,2021-03-31T17:12:55Z,2021-03-31T17:12:55Z,MEMBER,"> The problem is, I can't figure out where this happens. Replace `self._encoding` with `None` here? https://github.com/pydata/xarray/blob/ddc352faa6de91f266a1749773d08ae8d6f09683/xarray/core/variable.py#L1084","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,837243943 https://github.com/pydata/xarray/pull/5065#issuecomment-807120861,https://api.github.com/repos/pydata/xarray/issues/5065,807120861,MDEyOklzc3VlQ29tbWVudDgwNzEyMDg2MQ==,2448579,2021-03-25T17:13:55Z,2021-03-25T17:13:55Z,MEMBER,"> Xarray knows to drop the dtype encoding after an arithmetic operation. How does that work? There's a subtle difference. It drops all of `.encoding` not `dtype` specifically. @shoyer's point about indexing changing chunking is a good one too. Perhaps a kwarg in `to_zarr` like `ignore_encoding_chunks`?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,837243943