Commit Graph

13 Commits

Author SHA1 Message Date
Don Cross
456b367c01 C Transit: also report minimum angular separation between planet and Sun. 2020-06-13 16:48:33 -04:00
Don Cross
882eaaa2e7 C Transit: unit tests are passing.
I had to modify norm.py to handle some oddities in the input data.
The error threshold (26 minutes) is still surprisingly large.
I want to investigate more before porting to the other 3 languages.
2020-06-13 12:07:07 -04:00
Don Cross
489e98ad5d C Transit in progress. Not quite working yet, but getting close.
Does not pass unit test yet.
I had to rework norm.py because I misunderstood the data format.
The date given is not for the beginning of the transit, but
for the peak. This means the normalized data files need to
keep the start time, peak date/time, and finish time.
The unit test needs to adjust start time and finish time
to make sense with respect to the peak time, by adding/subtracting
a day as needed.
2020-06-12 22:26:20 -04:00
Don Cross
9cdaaa8761 Starting to work on planetary transit calculations.
Wrote stub C functions for finding transits.
Updated html files containing Espenak test data for Mercury, Venus.
Updated norm.py to convert the html files to easy-to-use text files.
2020-06-11 22:17:01 -04:00
Don Cross
366a00467f C# LocalSolarEclipse: finished second unit test. Fixed mistakes in input data. 2020-05-27 08:20:13 -04:00
Don Cross
cc932ddbc4 Added more local solar eclipse data points. 2020-05-24 20:40:24 -04:00
Don Cross
f2c1d4a409 Created scaffold for another local solar eclipse test.
Adding data for eclipses that are not at the peak location.
Parsing the data but not verifying it yet.
2020-05-24 16:16:21 -04:00
Don Cross
9ced9b4052 Starting to work on C version of global solar eclipse prediction. 2020-05-19 17:49:33 -04:00
Don Cross
d9c29adb97 C lunar eclipse unit test now generates CSV output file.
Write eclipse/c_le_stats.csv that contains all the error
values for each lunar eclipse calculation. This helped
me figure out the main source of lunar eclipse error was
discrepancy with Delta-T values in the future.
2020-05-14 09:00:52 -04:00
Don Cross
3d765fc41e Added transit data for Mercury and Venus. No parsing yet. 2020-05-12 14:05:15 -04:00
Don Cross
0411e1af64 Added solar eclipse data and updated norm.py to parse it. 2020-05-12 13:52:12 -04:00
Don Cross
822b92239f Increased time span of lunar eclipse data, and wrote pre-processor.
I found that lunar eclipse data is available for many centuries.
I downloaded the data for the years 1701..2200.
Wrote norm.py to extract and convert the parts I care about
into a format that will be much easier to parse in the unit
tests for all four languages.
Regenerate the normalized data from the 'run' script.
This way, I have documentation for where the data came from.
2020-05-12 12:19:22 -04:00
Don Cross
85c69414a7 Added test data for lunar eclipses. 2020-05-11 20:58:56 -04:00