Command Line Interface

The Pytools packages contain a command line executables for various tasks. They can be invoke directly as an executable:

zarr_rechunk --help

Or the preferred way using the python executable to execute the module entry point:

python -m zarr_rechunk --help

With either method of invoking the command line interface, the following sections describes the sub-commands available and the command line options available.

zarr_rechunk

zarr_rechunk [OPTIONS] INPUT_ZARR

Options

--log-level <log_level>
Options:

DEBUG | INFO | WARNING | ERROR

--chunk-size <chunk_size>

The size of zarr chunks stored in spatial dimensions.

Default:

64

--recompress

Use the preferred compressor when recompressing.

Default:

False

--in-memory

Use in-memory zarr store when recompressing.

Default:

False

--version

Show the version and exit.

Arguments

INPUT_ZARR

Required argument

zarr_info

zarr_info [OPTIONS] INPUT_ZARR

Options

--show

Use SimpleITK Show function to display images at 1024x1024 resolution.

Default:

False

--log-level <log_level>
Options:

DEBUG | INFO | WARNING | ERROR

--version

Show the version and exit.

Arguments

INPUT_ZARR

Required argument