{
    "command": "sgcat",
    "description": "Concatenate additional datasets with the input using the selected layout mode.\nGroup and subgroup modes append datasets at their respective hierarchy level;\nvector mode combines compatible columns while retaining each vector's own\nlength and sampling metadata. In modes that require aligned vectors, output\nsampling and lengths follow the first dataset. Inputs must have compatible\ngroup keys and schemas for the selected mode.",
    "examples": [],
    "input_description": "input data as reference",
    "notes": [],
    "output_description": "output merged data",
    "package": "sigclear-soig",
    "parameters": [
        {
            "choices": [
                "group",
                "subgroup",
                "vector"
            ],
            "default": "group",
            "default_known": true,
            "description": "merged data as new group, subgroup or new vector",
            "name": "-mode",
            "required": false,
            "type": "enum",
            "units": null
        },
        {
            "choices": [],
            "default": false,
            "default_known": true,
            "description": "put the input stream at last",
            "name": "-group.inlast",
            "required": false,
            "type": "bool",
            "units": null
        },
        {
            "choices": [],
            "default": true,
            "default_known": true,
            "description": "rename vectors by padding the file number or not in vector mode",
            "name": "-vector.rename",
            "required": false,
            "type": "bool",
            "units": null
        },
        {
            "choices": [],
            "default": "stdin",
            "default_known": false,
            "description": "input data as reference",
            "name": "in",
            "required": false,
            "type": "ifile",
            "units": null
        },
        {
            "choices": [],
            "default": "stdout",
            "default_known": false,
            "description": "output merged data",
            "name": "out",
            "required": false,
            "type": "ofile",
            "units": null
        }
    ],
    "related": [],
    "schema_version": 1,
    "summary": "Concatenate datasets by group, subgroup, or vector layout",
    "synopsis": "sgcat -mode=group -group.inlast=false -vector.rename=true <stdin >stdout",
    "version": "1.1.1-4"
}