Stargazing Calc Eclipse Any Loc: What Softwares Do?

  • Thread starter Thread starter Prasanna Suman
  • Start date Start date
  • Tags Tags
    Calculation Eclipse
AI Thread Summary
Calculating eclipses for any location on Earth can be done using ancient methods like the Saros cycle, but modern software provides precise predictions, including exact timings and locations. One contributor developed a DOS-based eclipse predictor that was highly accurate, agreeing with official predictions within minutes and kilometers. There is interest in understanding the algorithms and mathematics behind modern eclipse prediction software, with a request for resources to learn more. While ancient methods were effective, modern calculations typically require computer assistance for accuracy. The discussion highlights the blend of historical techniques and contemporary technology in eclipse prediction.
Prasanna Suman
Messages
10
Reaction score
0
How can I calculate eclipse (any), for any location on earth? Not using any software, because I know that. But I want to know what these softwares do?
 
Astronomy news on Phys.org
The ancient people would use the Saros cycle to compute eclipses. Google for that. I don't know how accurate the ancients were. I'm guessing that they knew what dates the eclipses would occur on, and approximately what part of the world. But to get modern-day predictions (i.e. Shanghi will be 122 km north of centerline, and will receive 5:18 seconds of totality beginning at 11:42 AM), you'll need a computer.

I wrote an eclipse-predictor program for DOS using algorithms from a book. It was quite accurate. It would agree with the official predictions within minutes and a few kilometers. I didn't understand the math I borrowed. The code was thousands of lines long.
 
Thanks tony873004,
I read about Saros cycle and other ancient method used by Hindus. I actually wanted to know the modern method which the softwares use. Can I get a suggestion of a web page? Google's results were a bit flat. :(
 
This book will give you the math in computer code (BASIC). I can't find my copy at the moment, but the documentation is minimal. He gives a brief explanation as to what he's doing, but for the most part, the code is not documented. So you just have to trust that his math works (and it does!)

https://www.amazon.com/dp/052138995X/?tag=pfamazon01-20

Thinking about it, you probably can do it without a computer, but I expect it is lengthy. Even before the 20th century, people traveled to see eclipses and transits, so the methods had to be pretty good.
 
Thanks tony873004,
That's great, because I know is BASIC. Can I get the source code of your file, if I am not troubling you too much.
Thanks again.
 
It's on my old, old computer, (pre-Windows). I'll see if I can still boot it up.
 
Thanks
 

Similar threads

Replies
21
Views
2K
Replies
2
Views
2K
Replies
40
Views
6K
Replies
6
Views
2K
Replies
5
Views
3K
Replies
10
Views
13K
Back
Top