Skip to content

Allow task(s) with parsable logs to be configurable in CylcRoseManager #23

@edoyango

Description

@edoyango

Currently, CylcRoseManager searches through all task logs and attempts to parse the logs with a configurable known parsers property.

Probably makes more sense to specify which tasks' logs should be parsed by which parsers.

Perhaps could be passed in at initialization?

my_profiling = CylcRoseManagerChild(
    word_dir = Path(),
    task_parsers = {
        "*/*_um_fcst_*/job.out": UMTotalRuntimeParser(), # parse job.out log for task *_um_fcst_* for all cycles
        "2022_*/*_um_fcst_*/job.out": UMProfilingParser(), # parse job.out log for task *_um_fcst_* for only 2022_* cycles
    }
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions