@@ -45,14 +45,22 @@ def zappend(
4545 This ensures integrity of the target data cube `target_dir` given
4646 in `config` or `kwargs`.
4747
48+ Each slice item in `slices` provides a slice dataset to be appended.
49+ The interpretation of a given slice item depends on whether a slice source
50+ is configured or not (setting `slice_source`).
51+
52+ If no slice source is configured, a slice item must be an object of type
53+ `str`, `FileObj`, `xarray.Dataset`, or `SliceSource`.
54+ If `str` or `FileObj` are used, they are interpreted as local dataset path or
55+ dataset URI. If a URI is used, protocol-specific parameters apply, given by the
56+ configuration parameter `slice_storage_options`.
57+
58+ If a slice source is configured, a slice item represents the argument(s) passed
59+ to that slice source. Multiple positional arguments can be passed as `list`,
60+ multiple keyword arguments as `dict`, and both as a `tuple` of `list` and `dict`.
61+
4862 Args:
49- slices: An iterable that yields slice items. A slice item is
50- either a `str`, `FileObj`, `xarray.Dataset`, `SliceSource`,
51- or represents arguments passed to a configured `slice_source`.
52- If `str` or `FileObj` are used, they are interpreted as
53- local dataset path or dataset URI.
54- If a URI is used, protocol-specific parameters apply, given by
55- configuration parameter `slice_storage_options`.
63+ slices: An iterable that yields slice items.
5664 config: Processor configuration.
5765 May be a file path or URI, a `dict`, `None`, or a sequence of
5866 the aforementioned. If a sequence is used, subsequent
0 commit comments