Skip to content

MaizeGDD.CRO causes a crash in cool environments when the simulation period is too short #336

@mcguirepatr

Description

@mcguirepatr

With the standalone version on GitHub, at least with monthly driving data, if I only have a simulation run for less than the crop maturation time period, then it crashes with a seg fault. For example, with MaizeGDD or DryBeanGDD, if I try to simulate in a cool place (ave. temps near near 9 degrees C), then it can take 2 or more years to reach maturity. And if I only have a simulation go for 1 year, then it crashes because there isn't enough data in SIMUL/TCrop.

My temporary solution is to increase the simulation period.

How do I more elegantly set things up? Or is there a fix you can make?
Patrick McGuire
University of Reading & National Centre for Atmospheric Science (NCAS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions