sunGeomtry.f90 runs into issues in high and low latitude locations, when sunrise/sunset do not occur on a given day. These changes prevent the calculation of TD to terminate in such cases.
If the sun never set on the previous day, the calculations now assume it rises at 0.00am on the current day. If the sun never rises during the day, it is now assumed to rise at 12.00pm.
sunGeomtry.f90 runs into issues in high and low latitude locations, when sunrise/sunset do not occur on a given day. These changes prevent the calculation of TD to terminate in such cases.
If the sun never set on the previous day, the calculations now assume it rises at 0.00am on the current day. If the sun never rises during the day, it is now assumed to rise at 12.00pm.