get Solar Elevation
Return the Solar Elevation for the horizontal coordinate system at the given location at the given time. Can be negative if the sun is below the horizon. Not corrected for altitude.
Return
solar elevation in degrees - horizon is 0 degrees, civil twilight is -6 degrees
Parameters
cal
time of calculation
lat
latitude of location for calculation
lon
longitude of location for calculation