2
$\begingroup$
./swetest -b20.9.2023 -p0123456789tD -ut18:40 
date (dmy) 20.9.2023 greg.   18:40:00 UT        version 2.09.03
UT:  2460208.277777778     delta t: 70.859392 sec
TT:  2460208.278597910
Epsilon (t/m)     23°26'18.9927   23°26'10.2969
Nutation          -0° 0' 7.8126    0° 0' 8.6958
Sun              177°32'55.2395    0° 0' 0.0384    1.004319535    0°58'38.0199
Moon             242°27'41.6119   -3°11' 3.5981    0.002584078   12°57'46.8459
Mercury          159°53'37.1399    0°26'11.8783    0.898125059    0°45' 9.8822
Venus            137° 1'59.4365   -4°30'28.2333    0.450741615    0°31'56.5439
Mars             195°43'55.5582    0°27'15.3426    2.528949574    0°39'31.4422
Jupiter           45° 8'36.6800   -1°22'31.3560    4.235172198   -0° 3'13.4098
Saturn           332° 4'42.9064   -1°47'26.3721    8.850559234   -0° 3'51.2867
Uranus            52°51'49.7044   -0°19'11.9385   19.040611635   -0° 1' 5.9782
Neptune          356°14' 7.5378   -1°16'34.5167   28.902489526   -0° 1'39.4504
Pluto            297°59'15.4867   -2°44' 5.3305   34.334942104   -0° 0'33.4653
true Node         25° 6' 0.2192    0° 0' 0.0000    0.002435901    0° 1'35.1061
Chiron            18°35' 3.2408    1°32'31.9378   17.812258643   -0° 2'29.8338
Current Date and Time (Local): 2023-09-20 08:39:59.171635-10:00
Longitude of North Node: 25° 6' 11.09"

So, I managed to get all the planets down to a "T" or should I say "TT." However, when it comes to the true node, it's off by 10 seconds, which is not a big deal, but it would be nice if it were accurate. I remember reading somewhere that using "de441.eph" with the nodes is recommended. Now, that file is 2.6GB, and I have downloaded it. Can anyone tell me how to integrate that into my code? swe_set_jpl_file()? Maybe.

$\endgroup$
4
  • 2
    $\begingroup$ This article explains the format and how to do the computation, links to source code in a few languages: celestialprogramming.com/jpl-ephemeris-format/… $\endgroup$ Sep 21, 2023 at 1:40
  • 1
    $\begingroup$ The input times differ by 0.83 second. What code produced the second output? Why do you require such precision? $\endgroup$
    – Mike G
    Sep 21, 2023 at 16:17
  • 1
    $\begingroup$ thanks mike, 0.8 second is not that bad i just thought it was over by 11 seconds .. so the code works <3 $\endgroup$
    – dimitri33
    Sep 21, 2023 at 18:28
  • 2
    $\begingroup$ @dimitri33 Can you verify that the second code doesn't mistake a UT for a TT ~71 seconds earlier? $\endgroup$
    – Mike G
    Sep 21, 2023 at 19:32

0

You must log in to answer this question.

Browse other questions tagged .