Skip to content

Minor bug in GAG package for writing lake information #38

@christianlangevin

Description

@christianlangevin

A minor problem with the GAG Package output was tracked down based on a user’s feedback. The problem occurs when writing output for lakes when the lake package input specified RNF as a negative value (which is then used as a flag; this is a rarely used option) and OUTTYPE = 1, 3, or 4. The gage output file incorrectly included the value of the flag rather than the actual computed value of runoff to the lake. This problem was corrected by changing several lines of code in Subroutine SGWF2GAG7LO (in the gwf2gag7.f file). The model user does not need to do anything differently. Note that all model calculations were correct (and not affected by the fix) and that correct values for runoff to a lake were always printed in the main output (listing) file.

The updated (fixed) version of the GAG Package subroutines is attached.

gwf2gag7.txt

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