Closed martinsh closed 4 years ago
When the sun was below the horizon function was trying to calculate sun-related variables which were getting close to infinity and error was thrown. Sun radiance min value increased to 0.01 to avoid division by a zero.
error occurs when atmosphere height is 0.0