getSolarAzimuth

fun getSolarAzimuth(cal: LocalDateTime, lat: Double, lon: Double): Double

Return the Solar Azimuth for the horizontal coordinate system at the given location at the given time. Not corrected for altitude. True south is 0 degrees.

Return

the solar azimuth

Parameters

cal

time of calculation

lat

latitude of location for calculation

lon

longitude of location for calculation