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 1746613225,PR_kwDOAMm_X85oGzPp,8789,closed,0,Migrate datatree.py module into xarray.core.,7788154,"This PR migrates the `datatree.py` module to `xarray/core/datatree.py`, as part of the on-going effort to merge `xarray-datatree` into `xarray` itself. Most of the changes are import path changes, and type-hints, but there is one minor change to the methods available on the `DataTree` class: `to_array` has been converted to `to_dataarray`, to align with the method on `Dataset`. (See conversation [here](https://github.com/flamingbear/xarray/pull/6#discussion_r1504959971)) This PR was initially published as a draft [here](https://github.com/flamingbear/xarray/pull/6). - [x] Completes migration step for `datatree/datatree.py` https://github.com/pydata/xarray/issues/8572 - [x] Tests added - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [ ] New functions/methods are listed in `api.rst`",2024-02-27T22:27:16Z,2024-03-26T17:15:40Z,2024-03-26T16:05:52Z,2024-03-26T16:05:52Z,473b87f19e164e508566baf7c8750ac4cb5b50f7,,,0,0ae54cb88f27b6ce0b75b65a6c56b16ce52a84ba,6af547cdd9beac3b18420ccb204f801603e11519,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/8789, 1792326124,PR_kwDOAMm_X85q1Lns,8879,closed,0,Migrate iterators.py for datatree.,7788154,"This PR continues the overall work of [migrating DataTree into xarray](https://github.com/pydata/xarray/issues/8572). `iterators.py` does not have direct tests. In discussions with @TomNicholas and @flamingbear, we concurred that other unit tests utilise this functionality. - [x] Closes migration step for `iterators.py` #8572 - [ ] ~~Tests added~~ - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [ ] ~~New functions/methods are listed in `api.rst`~~ ",2024-03-26T18:14:53Z,2024-04-15T16:23:56Z,2024-04-11T15:28:25Z,2024-04-11T15:28:25Z,1d43672574332615f225089d69f95a9f8d81d912,,,0,22b6e36cd1ad62f6c7b4ce80473c3b7a33afd548,0bc686c178a749d7997e2630246fa9f8b0f319d3,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/8879, 1826265432,PR_kwDOAMm_X85s2plY,8948,closed,0,Migrate datatree mapping.py,7788154,"This PR continues the overall work of [migrating DataTree into xarray](https://github.com/pydata/xarray/issues/8572). `datatree_mapping.py` is the renamed version of `mapping.py` from the `datatree` repository. - [x] Closes migration step for `mapping.py` #8572 - [ ] ~~Tests added~~ - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [ ] ~~New functions/methods are listed in `api.rst`~~",2024-04-16T22:36:48Z,2024-04-17T20:44:29Z,2024-04-17T19:59:34Z,2024-04-17T19:59:34Z,60f3e741d463840de8409fb4c6cec41de7f7ce05,,,0,4ab8e78fbd73cf192f599fcd52efab8b97ed3abb,239309f881ba0d7e02280147bc443e6e286e6a63,CONTRIBUTOR,,13221727,https://github.com/pydata/xarray/pull/8948, 1837924134,PR_kwDOAMm_X85tjH8m,8967,closed,0,Migrate datatreee assertions/extensions/formatting,7788154,"This PR continues the overall work of [migrating DataTree into xarray](https://github.com/pydata/xarray/issues/8572). * `xarray/core/datatree_render.py` is the renamed version of `xarray/datatree_/datatree/render.py`. * `xarray/core/extensions.py` now contains functionality from `xarray/datatree_/datatree/extensions.py`. * `xarray/core/formatting.py` now contains functionality from `xarray/datatree_/datatree/formatting.py`. * `xarray/tests/test_datatree.py` now contains tests from `xarray/datatree_/datatree/tests/test_dataset_api.py`. * `xarray/testing/assertions.py` now contains functionality from `/xarray/datatree_/datatree/testing.py`. I had also meant to get to `common.py` and what's left of `io.py`, but I've got a hefty couple of days of meetings ahead, so I wanted to get this progress into PR before that happens. @flamingbear or I can follow up with the remaining things in a separate PR. (Also this PR is already getting a little big, so maybe it's already got enough in it) - [x] Contributes to migration step for miscellaneous modules in #8572 - [ ] ~~Tests added~~ - [ ] ~~User visible changes (including notable bug fixes) are documented in `whats-new.rst`~~ - [ ] ~~New functions/methods are listed in `api.rst`~~",2024-04-24T04:23:03Z,2024-04-26T17:38:59Z,2024-04-26T17:29:18Z,2024-04-26T17:29:18Z,6d62719061f7b9cbed3ea01c4adf2ce89c4f015f,,,0,6033f2d686617f59f7b6db7cddd525611314ee83,8a23e249d44b6e677600244efed4491a2749db73,CONTRIBUTOR,"{""enabled_by"": {""login"": ""TomNicholas"", ""id"": 35968931, ""node_id"": ""MDQ6VXNlcjM1OTY4OTMx"", ""avatar_url"": ""https://avatars.githubusercontent.com/u/35968931?v=4"", ""gravatar_id"": """", ""url"": ""https://api.github.com/users/TomNicholas"", ""html_url"": ""https://github.com/TomNicholas"", ""followers_url"": ""https://api.github.com/users/TomNicholas/followers"", ""following_url"": ""https://api.github.com/users/TomNicholas/following{/other_user}"", ""gists_url"": ""https://api.github.com/users/TomNicholas/gists{/gist_id}"", ""starred_url"": ""https://api.github.com/users/TomNicholas/starred{/owner}{/repo}"", ""subscriptions_url"": ""https://api.github.com/users/TomNicholas/subscriptions"", ""organizations_url"": ""https://api.github.com/users/TomNicholas/orgs"", ""repos_url"": ""https://api.github.com/users/TomNicholas/repos"", ""events_url"": ""https://api.github.com/users/TomNicholas/events{/privacy}"", ""received_events_url"": ""https://api.github.com/users/TomNicholas/received_events"", ""type"": ""User"", ""site_admin"": false}, ""merge_method"": ""squash"", ""commit_title"": ""Migrate datatreee assertions/extensions/formatting (#8967)"", ""commit_message"": ""* DAS-2067 - Migrate formatting.py.\r\n\r\n* DAS-2067 - Migrate datatree/extensions.py.\r\n\r\n* DAS-2067 - Migrate datatree/tests/test_dataset_api.py.\r\n\r\n* DAS-2067 - Migrate datatree_render.py.\r\n\r\n* DAS-2067 - Migrate DataTree assertions into xarray/testing/assertions.py.\r\n\r\n* DAS-2067 - Update doc/whats-new.rst.\r\n\r\n* DAS-2067 - Fix doctests for DataTreeRender.by_attr.\r\n\r\n* DAS-2067 - Fix comments in doctests examples for datatree_render.\r\n\r\n* DAS-2067 - Implement PR feedback, fix RenderDataTree.__str__.\r\n\r\n* DAS-2067 - Add overload for xarray.testing.assert_equal and xarray.testing.assert_identical.\r\n\r\n* DAS-2067 - Remove out-of-date comments.\r\n\r\n* Remove test of printing datatree\r\n\r\n---------\r\n\r\nCo-authored-by: Tom Nicholas ""}",13221727,https://github.com/pydata/xarray/pull/8967,