Skip to content

Commit

Permalink
import open_datatree from xarray
Browse files Browse the repository at this point in the history
  • Loading branch information
melonora committed Nov 4, 2024
1 parent 2f96672 commit 5939f1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/ConvertTiffFile.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"import zarr\n",
"import ome_types\n",
"import dask.array as da\n",
"import datatree\n",
"from xarray import open_datatree\n",
"from numcodecs import Blosc"
]
},
Expand Down Expand Up @@ -1296,7 +1296,7 @@
"source": [
"store = zarr.storage.DirectoryStore(f'{image_name}.zarr/0', dimension_separator='/')\n",
"\n",
"new_multiscale = datatree.open_datatree(store, engine='zarr')\n",
"new_multiscale = open_datatree(store, engine='zarr')\n",
"new_multiscale['scale2'].ds[name].isel(x=250).plot.imshow()"
]
}
Expand Down

0 comments on commit 5939f1c

Please sign in to comment.