Skip to content

Datasets

The commands below plot, rechunk, archive, and serve the zarr datasets written by a sweep.

plot-capture

plot the analysis results in the dataset at ZARR_PATH.

ZARR_PATH is a .zarr directory or .zarr.zip archive written by a sweep. YAML_PATH is a plot options file; when omitted, the plot options come from the plot_hint attribute of the dataset.

Usage:

plot-capture [OPTIONS] ZARR_PATH [YAML_PATH]

Options:

Name Type Description Default
--interactive, -i choice (sixel | kitty) render the plots in the terminal through this graphics protocol None
--no-save, -n boolean don't save the resulting plots False
--help boolean Show this message and exit. Sentinel.UNSET

rechunk-zarr

rechunk and recompress the zarr store at ZARR_INPUT into ZARR_OUTPUT.

ZARR_INPUT is a .zarr directory or .zarr.zip archive. ZARR_OUTPUT is the output store; when omitted, the output is written beside ZARR_INPUT with a timestamp suffix from the first start_time in the data. Each chunk holds --chunk-size MB, and a --compression level above 1 selects blosc zstd at that level.

Usage:

rechunk-zarr [OPTIONS] ZARR_INPUT [ZARR_OUTPUT]

Options:

Name Type Description Default
--chunk-size integer size of each chunk (MB) 100
--compression integer compression level (0-9) 1
--help boolean Show this message and exit. Sentinel.UNSET

zip-zarr

archive the zarr directory at ZARR_INPUT into a .zarr.zip file.

ZARR_INPUT is a .zarr store directory. ZARR_OUTPUT is the archive path; when omitted, the archive is written beside ZARR_INPUT with the .zip extension and a timestamp suffix from the first start_time in the data.

Usage:

zip-zarr [OPTIONS] ZARR_INPUT [ZARR_OUTPUT]

Options:

Name Type Description Default
--remove / -r boolean delete ZARR_INPUT after the archive is written False
--force / -f boolean overwrite an existing archive at the output path False
--help boolean Show this message and exit. Sentinel.UNSET

web-plotter

run a web-based real-time display for radio diagnostics.

PATH is the path to a JSON or YAML acquisition specification file.

Usage:

web-plotter [OPTIONS] PATH

Options:

Name Type Description Default
--host, -h text Host to bind the server to 0.0.0.0
--port, -p integer Port to bind the server to 8000
--help boolean Show this message and exit. Sentinel.UNSET