Skip to content

Logging direct mort condition check bug #1289

@XiulinGao

Description

@XiulinGao

if (cur_harvest_tag == 0) then

I was running the logging module with area-based logging approach and found no direct mortality at all. I tracked down to this line of code. As for area-based logging, cur_harvest_tag is set to 2, thus there will never be direct logging mortality resulted from it.

cur_harvest_tag = 2

this condition check should be (cur_harvest_tag .eq. 0 .or. cur_harvest_tag .eq. 2).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✔ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions