Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 11:33 05 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MMX - Transits of Mercury and Venus

Author Message
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 11:51am 28 Jun 2017
Copy link to clipboard 
Print this post

This MMBASIC program for the MicroMite eXtreme and Raspberry Pi can be used to predict the local circumstances of transits of Mercury and Venus across the face of the Sun relative to an Earth observer. Information about transits in the past and future can be found at EclipseWise.

Here's the output from a typical user interaction with the transit.bas software.

transits of Mercury and Venus
=============================

<1> Mercury

<2> Venus

please input the planet of interest
? 1

please input the calendar date

(month [1 - 12], day [1 - 31], year [yyyy])
< for example, october 21, 1986 is input as 10,21,1986 >
< b.c. dates are negative, a.d. dates are positive >
< the day of the month may also include a decimal part >

? 5,1,2016

please input the geographic latitude of the observer
(degrees [-90 to +90], minutes [0 - 60], seconds [0 - 60])
(north latitudes are positive, south latitudes are negative)
? 39,40,36

please input the geographic longitude of the observer
(degrees [0 - 360], minutes [0 - 60], seconds [0 - 60])
(east longitude is positive, west longitude is negative)
? -104,57,12

please input the altitude of the observer (meters)
(positive above sea level, negative below sea level)
? 1644

please input the search duration in days
? 30

searching for transit conditions ...


ingress - exterior contact - Mercury
------------------------------------

calendar date May 9 2016

UTC time 11 hours 12 minutes 11.63 seconds

UTC julian day 2457517.96680127

topocentric coordinates of the Sun

azimuth angle 59 deg 47 min 36.72 sec

elevation angle -7 deg 26 min 27.89 sec


least distance of the Sun and Mercury
-------------------------------------

calendar date May 9 2016

UTC time 14 hours 57 minutes 23.42 seconds

UTC julian day 2457518.12318772

topocentric coordinates of the Sun

azimuth angle 95 deg 10 min 29.66 sec

elevation angle 34 deg 15 min 12.38 sec


engress - exterior contact - Mercury
------------------------------------

calendar date May 9 2016

UTC time 18 hours 42 minutes 27.31 seconds

UTC julian day 2457518.27948281

topocentric coordinates of the Sun

azimuth angle 171 deg 18 min 37.76 sec

elevation angle 67 deg 44 min 23.62 sec


event duration 7 hours 30 minutes 15.68 seconds


Here's the link to a zipped file with the MMBASIC source code and a PDF user's manual for the MATLAB version.

2017-06-28_214054_transit.zip
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024