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.