Skip to content

Remove duplication between gen_mksurfdata_jobscript_multi and gen_mksurfdata_jobscript_single #2439

@ekluzek

Description

@ekluzek

This was brought up in #2290. gen_mksurfdata_jobscript_single has parts that are duplicated with gen_mksurfdata_jobscript_multi and hence changes have to go in two places. This was for example an issue in #2427 which means that extra testing needs to be done because of that duplication.

An improvement to the design would be to have gen_mksurfdata_jobscript_single as the base level script that is expanded on by gen_mksurfdata_jobscript_multi which then doesn't duplicate code, but only adds the additional functionality needed there.

This is something that we will do as a post-CTSM5.2 development.

Metadata

Metadata

Assignees

No one assigned

    Labels

    code healthimproving internal code structure to make easier to maintain (sustainability)enhancementnew capability or improved behavior of existing capabilitypriority: lowBackground task that doesn't need to be done right away.test: mksurfdataTest mksurfdata_esmf before merging

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions