Performance improvements and fixed some issues with the original code and method of SolarCalc.jar (version 1.1, Jan. 2006).
Changelog:
- PR #1 : Use 101.3 kPa instead of 101 kPa for the atmospheric pressure at sea level
- PR #2 : Fix the calculation of the longitudinal correction
- PR #5 : Fix pre-rain condition when setting the value of the atmospheric transmittance (tau)
- PR #6 : Use floats to represent deltaT instead of integers
- PR #7 : Optimize solar radiation calculation