Skip to content

Commit 0c7a6b3

Browse files
committed
DOC: Describe writing with tensorstore
1 parent 2a9412e commit 0c7a6b3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/python.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,19 @@ also be used.
201201

202202
The multiscales will be computed and written out-of-core, limiting memory usage.
203203

204+
### Writing with Tensorstore
205+
206+
To write with [tensorstore], which may provide better performance, use the
207+
`tensorstore` optional dependency.
208+
209+
```shell
210+
pip install "ngff-zarr[tensorstore]"
211+
```
212+
213+
```python
214+
nz.to_ngff_zarr('cthead1.ome.zarr', multiscales, use_tensorstore=True)
215+
```
216+
204217
[dataclass]: https://docs.python.org/3/library/dataclasses.html
205218
[dataclasses]: https://docs.python.org/3/library/dataclasses.html
206219
[Dask arrays]: https://docs.dask.org/en/stable/array.html

0 commit comments

Comments
 (0)