Skip to content

Commit

Permalink
Fix open_datatree call in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
sjperkins committed Jan 21, 2025
1 parent fc46407 commit eb539f4
Showing 1 changed file with 3 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

0 comments on commit eb539f4

Please sign in to comment.