Reflection occurs when light bounces off the surface of an object. It also depends on whether the light is reflected or refracted by the ice crystals. The size, shape, and distance from the Earth’s surface of the ice crystals determine what kind of optical phenomenon people on Earth will observe. Business Date to Date (exclude holidays)Ī Sun halo seen from Lofoten Islands, Norway.For the other two, I would have to zero in on the answer by looking at the altitude, like you have suggested. Most seem based on Jean Meeus's 'Astronomical Algorithms' book and only the last one directly calculates dawn/dusk. Also, the lat/lon that these sites use may be different from what I plug into Astronomy Engine which may account for some differences.ĭuring my researching, I also found the following javascript libraries which calculate the sun's position. I realize that these may not be "authoritative", but they match each other, so that seemed pretty good to me. Here are the two sources that I was using to compare results. The only missing piece is dawn/dusk, which is why I wrote this question :) In comparing the two libraries and also comparing against other sources (see below), I realized that SunCal isn't accurate, so I plan to switch to using your library. At a point in my project I needed to also have the dates for the solstices and equinoxes, so I went researching and found your library. It bases its calculations on this article. It supports a number of important markers (golden hour, sunset start/end, night, nadir, etc) that you may also want to consider. I was using the SunCalc library to get various times related to the sun and moon. I appreciate your willingness to add this functionality to your wonderful library. I did a little more reading and I now understand the difference between hour angles and altitude. ![]() To help me implement this, can you give me a link to where you find the reputable sources of test data? I will use them to create unit tests for the new function.īeta Was this translation helpful? Give feedback.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |