From 27a1b122af9f4e66da8fedf7000d88234d88bd2e Mon Sep 17 00:00:00 2001 From: Andrey Aristov Date: Mon, 3 Apr 2023 15:56:22 +0200 Subject: [PATCH] docstrings --- src/zarr_tools/convert.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/zarr_tools/convert.py b/src/zarr_tools/convert.py index 78b29d6..90d79bf 100644 --- a/src/zarr_tools/convert.py +++ b/src/zarr_tools/convert.py @@ -1,3 +1,7 @@ +""" +Export data to zarr +""" + import os import dask.array as da @@ -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)