Concatenate

class of dascore.workflow.builtin
inherits from: Task, DascoreBaseModel, pydantic.main.BaseModel
source

Concatenate(
    arguments: tuple[tuple[str, Any], …] = (),
    check_behavior: str | None[str, None] = warn,
    conflict: str | None[str, None] = None,
)-> None

Putting patches end to end along a dimension.

Parameters

Parameter Description
arguments The dimensions concatenated along and how much of each, in the
order they were given: (("time", None),).
check_behavior What was done about patches which did not fit.
conflict How conflicting attributes and coordinates were settled, for a
planned concatenation (Spool.concatenate); None for the direct
function, which has no such policy.
Note

The arguments are pairs rather than a mapping because here the dimension is the key and None is its documented value, meaning “all of it”. The canonical serializer drops a None mapping value – deliberately, so a parameter left at its default is the same call as one left out – which would make concatenating along time and along distance one fingerprint. A pair keeps both halves.