Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

MOM_input parameter conflict written by mom6_input.py #14

@minghangli-uni

Description

@minghangli-uni

Specifically for

CVMix_CONVECTION%
%CVMix_CONVECTION

mom6_input.py incorrectly parses them as

CVMIX_CONVECTION%
%CVMix_CONVECTION

This pops up a conflict for a model run.

A simple fix is to remove this line for now.
mom6_input_str = re.sub(r"((?<=^)|(?<=\n))(\w+%?)", lambda pat: pat.group(2).upper(), mom6_input_str)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions