Skip to content

Commit

Permalink
Fix open_datatree call in the README (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjperkins authored Jan 21, 2025
1 parent fc46407 commit c6c9212
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ to be developed on well-understood MSv2 data.
.. code-block:: python
>>> import xarray_ms
>>> from xarray.backends.api import datatree
>>> dt = open_datatree("/data/L795830_SB001_uv.MS/",
preferred_chunks={"time": 2000, "baseline_id": 1000})
>>> import xarray
>>> dt = xarray.open_datatree("/data/L795830_SB001_uv.MS/",
preferred_chunks={"time": 2000, "baseline_id": 1000})
>>> dt
<xarray.DataTree>
Group: /
Expand Down
1 change: 1 addition & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Changelog

X.Y.Z (DD-MM-YYYY)
------------------
* Fix `open_datatree` instructions in the README (:pr:`51`)
* Skip test case that segfaults on numpy 2.2.2 (:pr:`50`)
* Upgrade to xarray 2025.1.1 (:pr:`49`)
* Add documentation link to MSv2EntryPoint class (:pr:`47`)
Expand Down

0 comments on commit c6c9212

Please sign in to comment.