SaveZarrZip#

class caput.pipeline.tasklib.io.SaveZarrZip[source]#

Bases: ZipZarrContainers

Save a container as a .zarr.zip file.

This task saves the output first as a .zarr container, and then starts a background job to start turning it into a zip file. It returns a handle to this job. All these handles should be fed into a WaitZarrZip task to ensure the pipeline run does not terminate before they are complete.

This accepts most parameters that a standard task would for saving, including compression parameter overrides.

Methods#

next(container)

Take a container and save it out as a .zarr.zip file.

setup()

Check the parameters and determine the ranks to use.