Skip to content

Commit

Permalink
docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
aaristov committed Apr 3, 2023
1 parent 0e0ae99 commit 27a1b12
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/zarr_tools/convert.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Export data to zarr
"""

import os

import dask.array as da
Expand All @@ -12,6 +16,9 @@ def to_zarr(
dry_run=False,
**kwargs,
):
"""
Saves multiscale zarr dataset, returns the path.zarr
"""
store = zarr.DirectoryStore(baseurl := path)
grp = zarr.group(store)

Expand Down

0 comments on commit 27a1b12

Please sign in to comment.