Skip to content

Commit

Permalink
Update xarray/core/datatree.py
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Savoie <github@flamingbear.com>
  • Loading branch information
kmuehlbauer and flamingbear authored Aug 1, 2024
1 parent 31199e6 commit a297c9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions xarray/core/datatree.py
Original file line number Diff line number Diff line change
Expand Up @@ -1608,9 +1608,10 @@ def to_zarr(
kwargs :
Additional keyword arguments to be passed to ``xarray.Dataset.to_zarr``
.. note::
Note
----
Due to file format specifications the on-disk root group name
is always `/` overriding any given ``DataTree`` root node name.
is always ``"/"`` overriding any given ``DataTree`` root node name.
"""
from xarray.core.datatree_io import _datatree_to_zarr

Expand Down

0 comments on commit a297c9e

Please sign in to comment.