When IPHEN_SCHEME≠3, radiation controls on phenology are disabled, and the code should bypass all calculations.
The code would still calculate derived parameters, which could lead to floating point exceptions depending on the ED2IN/xml settings. This fix sets the minimum and maximum radiation to the solar constant in ed_params.f90. This will also avoid turnover amplitude to be calculated in in sub-routine update_turnover when light phenology is disabled.
Description
Collaborators
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Other (fix or feature that would cause existing functionality to change)
Checklist:
[ ] My change requires a change to the documentation.
When IPHEN_SCHEME≠3, radiation controls on phenology are disabled, and the code should bypass all calculations. The code would still calculate derived parameters, which could lead to floating point exceptions depending on the ED2IN/xml settings. This fix sets the minimum and maximum radiation to the solar constant in ed_params.f90. This will also avoid turnover amplitude to be calculated in in sub-routine update_turnover when light phenology is disabled.
Description
Collaborators
Types of changes
Checklist:
Testing :