Home > Web Site Updates > AA+ v1.54

AA+ v1.54

October 27, 2012

Just to let everyone know that v1.54 of AA+ has been released. Updates for this version include:

  • Fixed a buffer initialization bug in PrintMoonPhase function in AAAtest.cpp. This was resulting in the moon phase ASCII diagrams to not show correctly on Unix terminals.
  • I now have a Ubuntu 12.10 VM setup which allows the code to be fully tested on a Unix OS going forward. I am using the Code::Blocks IDE to provide a familiar development experience for this Visual Studio veteran!
  • Fixed a transcription bug in CAAElementsPlanetaryOrbit::SaturnLongitudePerihelion. The correct coefficient for multiplying by T should have been 1.9637613 instead of 1.19637613. In the worked example of 31.a from Meeus’s book, he uses the date June 24 2065. With this bug now eliminated the value returned is now 94.34 degrees instead of 93.84 degrees for this date. Basically the incorrect coefficient would have returned a value too small by 0.77 degrees for every Julian century after the epoch J2000.0 = 2000 January 1.5 TD = JDE 2451545.0. Thanks to Sudhakar Gumparthi for reporting this bug.
Advertisements
Categories: Web Site Updates
  1. Bruce Christensen
    January 22, 2013 at 7:01 pm

    I’m seeing an anomaly where sunset values are miscalculated. Using Brooklyn NY coordinates (73.9500 long, 40.6500 lat, -5 timezone, 1 dst), on May 9, 2013, the calculated sunset is 8:00:14 pm. The calculations for the next day, May 10, 2013 are also the same, 8:00:14 pm, Sunset should actually be 8:01:16. The calculated sunset times are inaccurate through early-mid August until the actual sunset times are before 8:00 pm. It seems to have something to do with UTC times close to 0:0:0. If I remove the “ConstrainM()” call in “CalculateRiseSet()”, then I get the correct sun set times.

    • January 25, 2013 at 8:54 pm

      Please see the notes in the html AA+.htm documentation file around the area of CAARiseTransitSet::Rise. Basically this anomaly is something which client code will need to handle itself. HTH.

  1. No trackbacks yet.
Comments are closed.
%d bloggers like this: