Skip to content

Refactoring the leaf phenology code (both cold and drought deciduous) #1385

@mpaiao

Description

@mpaiao

Task description

Through a few discussions with other FATES developers, several variables that are currently defined in sub-routine phenology would probably be better defined elsewhere, so they can be used by other parts of the code that are under implementation or planned. Examples include a crop model, crown fire, and mortality functions.

I started migrating these functions to a new module, and I will use this issue to discuss a few points that could use some feedback before I wrap up a pull request.

Update. Separating growing degree days from the leaf phenology code is a bit more involving than anticipated, because many updates on GDD state are currently bound to phenology status. They can be separated, but this will become more a refactoring of the phenology code in general, so I renamed the issue.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    ❕Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions