Astronomy: Lunar
|
07-20-2019, 09:10 PM
(This post was last modified: 07-20-2019 09:22 PM by StephenG1CMZ.)
Post: #1
|
|||
|
|||
Astronomy: Lunar
In celebration of the 50th anniversary of the Apollo 11 Moon Landing, here is a simple Lunar Astronomy program.
Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
07-20-2019, 09:17 PM
(This post was last modified: 07-21-2019 09:54 AM by StephenG1CMZ.)
Post: #2
|
|||
|
|||
RE: Astronomy: Lunar
Version 1 illustrates the Moon, the Earth, the Moon's orbit around the Earth, and animates the light-distance of the Moon from the Earth.
Variable XG can be changed to exaggerate the non-spherical/non-circular shape. Caution: Changing that value will also change the listed radius values. Code:
Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
06-29-2023, 10:37 AM
(This post was last modified: 06-29-2023 10:46 AM by StephenG1CMZ.)
Post: #3
|
|||
|
|||
RE: Astronomy: Lunar
I have now written a Python version of this program, in time for the next anniversary:
https://my.numworks.com/python/steveg1cmz https://my.numworks.com/python/steveg1cmz/al0_1 (The PPL version is more interactive). Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
09-25-2023, 09:50 PM
(This post was last modified: 09-29-2023 07:37 AM by StephenG1CMZ.)
Post: #4
|
|||
|
|||
RE: Astronomy: Lunar
I have now written a different version, now implementing Lunar Eclipse calculations based on Jean Meeus algorithms, separate from my earlier graphical program.
https://my.numworks.com/python/steveg1cmz/alunareclipse https://my.numworks.com/python/steveg1cm...eclipse0_2 (Edit: now v0.2) If you are wondering how large Numworks source can be, version 0.2 of my program is at the limit for a Numworks module (the last couple of lines which are not necessary, disappear). Note:if reading the source online on a Chromebook, long lines may be visually truncated (full source shown if you inspect) The My Numworks source compiles ok. Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
10-03-2023, 08:05 AM
(This post was last modified: 10-10-2023 09:07 AM by StephenG1CMZ.)
Post: #5
|
|||
|
|||
RE: Astronomy: Lunar
I have now extended that to a version that calculates both solar eclipse and lunar eclipse, in time for the eclipses later this month.
https://my.numworks.com/python/steveg1cmz/aeclipse Update: V0.1 has a bug in my solar eclipse calculation, use V0.2 instead. Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
10-09-2023, 09:32 AM
(This post was last modified: 10-10-2023 10:21 AM by StephenG1CMZ.)
Post: #6
|
|||
|
|||
RE: Astronomy: Lunar
There is a bug in V0.1 of my solar eclipse calculation.
When working out the time of the eclipse I always call "adjustdays (True" Ie adjusting for a Lunar eclipse. Workaround - change call to "adjustdays(koff" (koff is 0 or False when calculating Solar, Nonzero or True when lunar). (The mistake is less than 2 minutes for the October 2023 solar eclipse, and luckily is earlier this time, so you won't be late) Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
10-10-2023, 09:05 AM
(This post was last modified: 10-10-2023 10:17 AM by StephenG1CMZ.)
Post: #7
|
|||
|
|||
RE: Astronomy: Lunar
I have now uploaded V0.2 of aeclipse, which corrects the time of the solar eclipse calculation. Hope it is useful.
Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)