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/7406#issuecomment-1383184222,https://api.github.com/repos/pydata/xarray/issues/7406,1383184222,IC_kwDOAMm_X85Scbde,2448579,2023-01-15T15:46:47Z,2023-01-15T15:46:47Z,MEMBER,"``` ds.to_netcdf(""TL_2021_out.nc"", encoding={""tas"": {""dtype"": ""float32""}}) ``` This statement overwrites the existing `tas.encoding`. To append or only change the dtype modify `tas.encoding` directly.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1516234283