Skip to contents

Prints a terminal visual of the computation a lazy object will run, before any reading or compute happens. A LazyDataset draws as its step pipeline (source, mask, reduce, ...); a LazyRaster draws as its intermediate representation (IR) tree, with structurally identical sibling branches folded to a single xN branch so a large composite graph stays readable.

Usage

draw(x, ...)

Arguments

x

A LazyRaster or LazyDataset.

...

Unused.

Value

x, invisibly.

See also

preview(), which plots the data rather than the pipeline; plan_dot() for a Graphviz rendering of the execution plan.