id,node_id,number,state,locked,title,user,body,created_at,updated_at,closed_at,merged_at,merge_commit_sha,assignee,milestone,draft,head,base,author_association,auto_merge,repo,url,merged_by 1001172050,PR_kwDOAMm_X847rKxS,6812,open,0,Improved CF decoding,145117," - [X] Closes #2304 - but only for my specific use case. - [x] Tests added The comments above this line state, ""so we just use a float64"" but then it returns `np.float32`. I assume the comments are correct. Changing this also fixes a bug I ran into. Note that currently, `_choose_float_dtype` returns `float32` if the data is float16 or float32, even if the `scale_factor` dtype is float64.",2022-07-19T19:44:27Z,2023-04-01T15:26:04Z,,,75a1d39fad8aec73e2bdafae07994737a4afd4b7,,,0,46157205a62b363d7d18ecc0d633c943aa6cbd1c,392a61484e80e6ccfd5774b68be51578077d4292,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/6812, 1012321890,PR_kwDOAMm_X848Vs5i,6851,closed,0,"Fix logic bug - add_offset is in encoding, not attrs.",145117,"`_pop_to` does a pop operation - it removes the key/value pair. So the line above this change will remove `add_offset` from `attrs` if it exists. The second line then checks for `add_offset` in `attrs` which should always be `False`. This is implemented in #6812 but the work there is significantly more involved (see for example different PR addressing the same problem, #2304), so I'm pulling this fix out and submitting it as its own PR.",2022-07-29T20:21:47Z,2022-08-01T18:07:04Z,2022-08-01T18:07:04Z,2022-08-01T18:07:04Z,3c98ec7d96cc4b46664850cc7a40af2bc184fea0,,,0,0673c6ae2c71b0cbcaa334a3bb5d96cc1af5afcd,3f7cc2da33d81e76afbfb82da57143b624b03a88,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/6851, 1227397484,PR_kwDOAMm_X85JKJls,7499,closed,0,Make text match code example,145117," - [ ] Closes #xxxx - [ ] Tests added - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [ ] New functions/methods are listed in `api.rst` ",2023-02-03T00:21:01Z,2023-02-03T00:47:14Z,2023-02-03T00:47:14Z,2023-02-03T00:47:14Z,f46cd708f8e220272173e2fc3e66c7688df45c39,,,0,cd55fe498c0214b173a0c0ce35e1bdfcd5c98474,67d0ee20f66517627a2ce795b650b980dd982de9,CONTRIBUTOR,"{""enabled_by"": {""login"": ""max-sixty"", ""id"": 5635139, ""node_id"": ""MDQ6VXNlcjU2MzUxMzk="", ""avatar_url"": ""https://avatars.githubusercontent.com/u/5635139?v=4"", ""gravatar_id"": """", ""url"": ""https://api.github.com/users/max-sixty"", ""html_url"": ""https://github.com/max-sixty"", ""followers_url"": ""https://api.github.com/users/max-sixty/followers"", ""following_url"": ""https://api.github.com/users/max-sixty/following{/other_user}"", ""gists_url"": ""https://api.github.com/users/max-sixty/gists{/gist_id}"", ""starred_url"": ""https://api.github.com/users/max-sixty/starred{/owner}{/repo}"", ""subscriptions_url"": ""https://api.github.com/users/max-sixty/subscriptions"", ""organizations_url"": ""https://api.github.com/users/max-sixty/orgs"", ""repos_url"": ""https://api.github.com/users/max-sixty/repos"", ""events_url"": ""https://api.github.com/users/max-sixty/events{/privacy}"", ""received_events_url"": ""https://api.github.com/users/max-sixty/received_events"", ""type"": ""User"", ""site_admin"": false}, ""merge_method"": ""squash"", ""commit_title"": ""Make text match code example (#7499)"", ""commit_message"": """"}",13221727,https://github.com/pydata/xarray/pull/7499,