@matthipsey @casper-boon if you approve of the PR it would be great to have it in the glm-aed build so that we can use that version. We are currently needing to compile glm-aed ourselves to handle this issue at Falling Creek Reservoir.
SurfData.delzBlueIce can be zero after the code above but the ice flag hasn't been updated. As a result, the code still has ice=TRUE and enters the if statement around line 1017. Then it calculates the following
@matthipsey @casper-boon if you approve of the PR it would be great to have it in the glm-aed build so that we can use that version. We are currently needing to compile glm-aed ourselves to handle this issue at Falling Creek Reservoir.
SurfData.delzBlueIce can be zero after the code above but the ice flag hasn't been updated. As a result, the code still has ice=TRUE and enters the if statement around line 1017. Then it calculates the following
which evaluates to inf and causes NaN in surface temperatures.