|
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Thanks 777 geek for a simple formula. You know this, but for the sake of less experienced readers, this gives values for a point, very slow moving (indistinguishable from stationary over the course of the day) source (a star other than the Sun) above the theoretical horizon (not trees and nearby houses and mountains), and makes no correction for atmospheric bending of light near the horizon.
__________________
Forming opinions as we speak |
|
||||
|
The above given formula requires a correction. A negative sign needs to be placed in front of any one of the symbols between the parentheses.
Below is a version of the formula that also accounts for atmospheric refraction and lunar parallax. Note the positive and negative signs. The result refers to the center of a star or planet, or the upper limb of the Sun or Moon. H = -0.0099 for stars and planets H = -0.0145 for the Sun H = +0.0022 for the Moon Proportion = arccos ( ( H – sin L * sin D) / ( cos L * cos D) ) / 180
__________________
Curt Renz - "Centaur" For monthly astronomical calendar visit: www.CurtRenz.com/astronomical.html |
|
|||
|
I prefer the expression:
cos(LHA)= (sin(alt) - (sin(lat)*sin(dec)))/(cos(lat)*cos(dec)) where, LHA is local hour angle lat is latitude dec is declination alt is altitude. Use -34 minutes of arc for alt for the stars and planets; -50, the sun; +7.5, the moon. The -34 minute value is for atmospheric refraction, and additional -16 minutes for radius of the sun and moon, and for the moon an average parallax correction of +57.5 added to -50 so that the geocentric coordinates can be used, if topocentric coordinates are used for the moon, retain -50 minutes. The main advantage to me of making altitude an explicit variable is that I can then note the altitudes of my obstructed horizon; say the minimum altitude is 10 degrees and the maximum altitude is 20 degrees. I use the maximum value, 20 degrees, if I want to be sure that the object has cleared all obstructions. I use the minimum value, 10 degrees, if I want know the earliest possible time that I can see the object rising or the latest time that I can see the object setting. While this method only gives a range of rising or setting times, many times that is enough for me to make a decision as to whether an event is visible or not. To convert this to a proportion, as stated in the initial formula, divide the LHA by the angular measure of a half circle; ie, if your calculator/computer is working in degrees divide by 180; in radians, pi. Note that if the right side of the formula is greater than 1 or less than -1, the inverse cosine will be complex; though on many machines an error will be thrown. The physical meaning of this is that the star or planet is circumpolar or anti-circumpolar [anti-circumpolar: that it never rises above the horizon] with regard to the altitude that one has given; but this case should be checked for in the program -- On one programmable calculator, I failed to do so and wondered why the <bleep> that I was getting complex values for the time of sunrise and sunset; an explicit test is always more desirable. (Indeed, it was in tracing the values that that program code gave that I first found out that the trig functions were defined for complex numbers.) |
|
||||
|
The above given formula is not quite correct. One of the middle parentheses should be placed at the right end. The H values seen in my post are actually the sines of the standard altitudes that you have given. Otherwise, our algorithms are essentially identical.
__________________
Curt Renz - "Centaur" For monthly astronomical calendar visit: www.CurtRenz.com/astronomical.html |
|
|||
|
Check that again; according to my sources the subtraction should be performed before the division -- though, since I do not know how to derive the formula from first principles, I can't say that my sources aren't wrong. Indeed, if one simply substitutes sin(alt) for H in your formula one gets the same formula including order of operations until you divide by 180 to convert LHA to a proportion.
Last edited by fagricipni : 24-January-2008 at 08:20 PM. Reason: minor change of phrasing |
|
||||
|
Quote:
__________________
Curt Renz - "Centaur" For monthly astronomical calendar visit: www.CurtRenz.com/astronomical.html |
|
|||
|
Quote:
|