mufasa.io.outputs.base#

Classes#

OutputNode

Base for all pipeline output nodes. Has no output type.

Module Contents#

class mufasa.io.outputs.base.OutputNode#

Bases: mufasa.node.Node

Base for all pipeline output nodes. Has no output type.

configure(crs, bbox, resolution) → None#

Receive spatial configuration from the Graph at construction time.

Override in nodes that need crs/bbox/resolution to initialise internal state (e.g. POM creates its map here). Default is a no-op.

Return type:

None

save() → None#

Persist any buffered output to its destination.

No-op by default. Subclasses that buffer results (GeoJsonOutput, GeoTiffOutput, etc.) override this to flush to disk. Called by Graph.run() after all inputs have been processed.

Return type:

None