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 600881718,MDExOlB1bGxSZXF1ZXN0NjAwODgxNzE4,5076,closed,0,Improve map_blocks docs,22245117," - [x] Closes #5071 - [x] Passes `pre-commit run --all-files`",2021-03-25T16:23:35Z,2021-03-29T17:46:02Z,2021-03-29T17:45:59Z,2021-03-29T17:45:58Z,45b4436bd5a82e7020357cf681b13067a8dd59e9,,,0,b5d797663ea315e90faa2ffd21c91e43eb8bcbff,8452120e52862df564a6e629d1ab5a7d392853b0,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/5076, 650656085,MDExOlB1bGxSZXF1ZXN0NjUwNjU2MDg1,5362,closed,0,Check dimensions before applying weighted operations,22245117," - [x] Closes #5354 - [x] Tests added - [x] Passes `pre-commit run --all-files`",2021-05-22T16:51:54Z,2021-05-23T23:45:47Z,2021-05-23T23:45:47Z,2021-05-23T23:45:47Z,071da2a900702d65c47d265192bc7e424bb57932,,,0,4ad0c0427992b9d9fe3ad296ba91f7f7b5130f2c,bc41eb20ba96c4d6a4b5bf12f1749523f34fa321,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/5362, 655986588,MDExOlB1bGxSZXF1ZXN0NjU1OTg2NTg4,5393,closed,0,Don't drop unreduced variables,22245117," - [x] Closes #5368 - [x] Tests added - [x] Passes `pre-commit run --all-files` - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` Reduce methods such as `mean` drop non-numeric variables. However, there's no need to drop variables that are not actually reduced (i.e., when `""reduce_dim"" not in da.dims`). cc: @rcaneill",2021-05-28T07:40:30Z,2021-06-21T08:53:31Z,2021-06-12T17:45:00Z,2021-06-12T17:45:00Z,e17cf595c84dffdd73c668f6d945c1b0eeba13d6,,,0,da25df9e287a98541e9e054cb76c7b098ab5bbb6,4434f034a36886609ac0492d3307954163ecbea6,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/5393, 656049471,MDExOlB1bGxSZXF1ZXN0NjU2MDQ5NDcx,5394,closed,0,Allow selecting variables using a list with mixed data types,22245117," - [x] Closes #5387 - [x] Tests added - [x] Passes `pre-commit run --all-files` - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` Lists passed to `__getitem__` are converted to arrays. `np.asarray` infers the dtype, and for example converts a list with str and int to an array of str. Forcing `dtype=""O""` fixes the issue.",2021-05-28T08:24:23Z,2021-06-21T08:53:29Z,2021-06-12T17:44:05Z,2021-06-12T17:44:04Z,5c59b66b1789cec85d10e6faf91166627b0616ae,,,0,ee8339980d4199e796ff10218f64deddb3ba89b2,2a3965c16ad8ab8251b04970336f8b8d41baedb3,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/5394, 662632726,MDExOlB1bGxSZXF1ZXN0NjYyNjMyNzI2,5440,closed,0,Consistent chunking after broadcasting,22245117," - [x] Closes #5435 - [ ] Tests added - [x] Passes `pre-commit run --all-files` - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` I think it does the job, although I'm not sure whether this is the best approach. A couple of questions: 1. I should probably add a test. Where is the best place? `test_dask`? 2. I added a `chunks` arguments in `set_dims`. I haven't updated the docstring yet... i) `shape` is not in the docstring either, is it because it is not meant to be public? If yes, I guess we can omit `chunks` as well. ii) The `chunks` argument I've introduced must be a dict mapping dim to chunks. Is that a problem since `chunks` is used elsewhere and can be slightly different (e.g., just an integer, 'auto'). iii) Should I add a check and raise an error if `chunks` is not a dictionary or is missing dimensions?",2021-06-05T22:27:39Z,2021-06-21T08:53:12Z,2021-06-21T08:53:09Z,,5957d1dc21ef59f30456b44443082772e3662657,,,0,1cce3bcd48f66f524f4d26bc7b2aa4a8e1586f0a,36cb33715f8d141fce7bcbe9eafca75a9f2f0bfa,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/5440, 663037354,MDExOlB1bGxSZXF1ZXN0NjYzMDM3MzU0,5445,closed,0,Add `xr.unify_chunks()` top level method,22245117," - [x] Closes #3371 - [x] Tests added - [x] Passes `pre-commit run --all-files` - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [x] New functions/methods are listed in `api.rst` ",2021-06-06T19:51:47Z,2021-06-21T08:53:40Z,2021-06-16T14:56:59Z,2021-06-16T14:56:58Z,fe87162caf17727ee0f53ef555f07ad5fbc8e77c,,,0,0e42aceace5ac516095c8abf4359bf0ef78063d6,4434f034a36886609ac0492d3307954163ecbea6,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/5445, 674351240,MDExOlB1bGxSZXF1ZXN0Njc0MzUxMjQw,5503,closed,0,Add typing-extensions to dependencies,22245117," - [x] Closes #5495 - [x] Passes `pre-commit run --all-files` - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst`",2021-06-21T08:47:44Z,2021-06-21T16:51:18Z,2021-06-21T15:13:21Z,2021-06-21T15:13:21Z,11f74f10216257556c90bc853bbfa9eff70feb86,,,0,37ee5c21115abf771297e3be70e9faa358c1db31,a73628317acd73cb55f03ad036708d493f4a8b54,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/5503, 674798503,MDExOlB1bGxSZXF1ZXN0Njc0Nzk4NTAz,5507,closed,0,specify typing-extensions version,22245117," - [x] Passes `pre-commit run --all-files` See: https://github.com/pydata/xarray/pull/5503#discussion_r655550526 cc: @dcherian ",2021-06-21T18:58:50Z,2021-07-02T12:45:35Z,2021-07-02T12:45:35Z,2021-07-02T12:45:34Z,940b11d2dd9e20e2e3857f62a4ba795e2a09880f,,,0,62a7bf0abac6c8ddfd206803b80f7315ac2f3b1b,6a101a92860bdfb41337d13976f753c656d165c5,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/5507, 891891465,PR_kwDOAMm_X841KS8J,6420,closed,0,"Add support in the ""zarr"" backend for reading NCZarr data",22245117," - [x] Closes #6374 - [x] Tests added - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` * ~New functions/methods are listed in `api.rst`~ ",2022-03-28T14:32:27Z,2022-04-14T15:36:14Z,2022-04-14T15:36:05Z,2022-04-14T15:36:05Z,b112aa258d38c2f053e2eab13e74f9d7877b2686,,,0,470210a552b32bf57fea56f68b93af2065aaab1a,24d9f3ecc92bbdd78236cd745a3b490f9490452b,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/6420, 947243367,PR_kwDOAMm_X844dcln,6636,closed,0,Use `zarr` to validate attrs when writing to zarr,22245117," - [x] Closes #6448 - [x] Tests added - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - ~New functions/methods are listed in `api.rst`~ I think we can just use zarr to validate attributes, so we can support all types allowed by zarr. Note that I removed the checks on the keys, as I believe we can rely on zarr for that as well. However, there is an issue with mixed types (e.g., `attrs={""a"": ""foo"", 1: ""foo""}`), but I think that needs to be addressed in zarr. See: https://github.com/zarr-developers/zarr-python/issues/1037 cc: @wankoelias @rabernat ",2022-05-25T16:46:03Z,2022-06-03T18:48:54Z,2022-06-03T18:48:48Z,2022-06-03T18:48:47Z,b080349c5d33d2e97ffce504cc2e8c9516d60d29,,,0,cc6786ed8d63d264ce736518097501a9fdf557d0,3b242a184072db9928ede7b72c07f047cd67d23b,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/6636, 1259281081,PR_kwDOAMm_X85LDxq5,7575,closed,0,fix nczarr when libnetcdf>4.8.1,22245117," - [x] Closes #7572 - [x] Tests added ~User visible changes (including notable bug fixes) are documented in `whats-new.rst`~ ~New functions/methods are listed in `api.rst`~ The latest version of netcdf-c does not allow writing a NCZarr file without the xarray's `_ARRAY_DIMENSIONS` attribute. Also, nczarr attributes are now lowercase.",2023-03-01T18:47:09Z,2023-03-02T16:49:23Z,2023-03-02T16:49:23Z,2023-03-02T16:49:23Z,463bc281eff3cd630c3fd87792cfcddb98d90915,,,0,d8392b072c0fcc1fbb2bf3d9ee7caddb58e313b4,6531b57f8c5cb7f3c564ff895c2e4b6573bb5521,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/7575, 1383060270,PR_kwDOAMm_X85Sb9Mu,7900,closed,0,fix polyfit changing the original object,22245117," - [x] Closes #5644 - [x] Tests added - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` ~New functions/methods are listed in `api.rst`~ ",2023-06-07T17:00:21Z,2023-06-09T15:38:00Z,2023-06-09T15:37:59Z,2023-06-09T15:37:59Z,25b9ec87913d859f05ce5467b8189489998d1498,,,0,6f4a857b742355087df6f402b3dfd9377a33856c,f4e0523be0ce8babaa8eff38365e5308b1fdb76b,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/7900, 1485808727,PR_kwDOAMm_X85Yj6RX,8101,closed,0,Fix tokenize with empty attrs,22245117," - [x] Closes #6970 - [x] Tests added - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` ~New functions/methods are listed in `api.rst`~ ",2023-08-23T06:13:05Z,2023-09-09T04:53:19Z,2023-09-09T04:53:19Z,2023-09-09T04:53:19Z,aea9af0b0943d13a8d33b392d7e2030411093179,,,0,6817593f4ed6d8829830272ebae815786783ca59,67268f1159fc5b4aee5c644b37d84036d8fc1528,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/8101, 1534897151,PR_kwDOAMm_X85bfKv_,8253,closed,0,fix zarr datetime64 chunks,22245117," - [x] Closes #8230 - [x] Tests added - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` ",2023-09-28T21:48:32Z,2024-01-29T19:12:31Z,2024-01-29T19:12:31Z,,e28f0c9a5cf00e3e78c1bd2bb40b8e00ee5bd7a8,,,0,1dc902090fd9ac109a4272914a074445330b5754,e5d163a8ddef4e8aa95a2841505a642f8ffbcea6,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/8253, 1595867080,PR_kwDOAMm_X85fHv_I,8439,closed,0,Restore dask arrays rather than editing encoding,22245117,Just to show why restoring dask arrays rather than editing encoding does not work in #8253 ,2023-11-10T09:32:23Z,2023-11-10T09:58:39Z,2023-11-10T09:58:39Z,,c8810f24795e41f54f84c5cf0ff05bdc340cc590,,,1,b7daa4cc94936e29a693e5f801d89b1c777604f2,e5d163a8ddef4e8aa95a2841505a642f8ffbcea6,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/8439,