get_metadata

method of dascore.core.processor.PatchProcessor source

get_metadata(
    self ,
    meta: PatchMeta ,
)-> ‘tuple[dc.PatchMeta, dict[str, Any]]’

Return the result’s metadata and the arguments kernel needs.

Given a PatchMeta, so it cannot read .data. Work through the coord manager and meta.new. Returning the argument itself says the metadata did not change, which is how run spots a no-op; an empty dict says the kernel takes nothing beyond the data, which most kernels do.