Position of the sun given time of day, latitude and longitude
This seems like an important topic, so I’ve posted a longer than typical answer: if this algorithm is to be used by others in the future, I think it’s important that it be accompanied by references to the literature from which it has been derived. The short answer As you’ve noted, your posted code does … Read more