Changeset 4017 in Sophya
- Timestamp:
- Sep 21, 2011, 6:17:52 PM (14 years ago)
- Location:
- trunk/SophyaExt/XephemAstroLib
- Files:
-
- 1 deleted
- 65 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/XephemAstroLib/aa_hadec.c
r3654 r4017 75 75 76 76 /* For RCS Only -- Do Not Edit */ 77 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: aa_hadec.c,v $ $Date: 20 09-07-16 10:34:35 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};77 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: aa_hadec.c,v $ $Date: 2011-09-21 16:17:47 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/aberration.c
r3654 r4017 159 159 160 160 /* For RCS Only -- Do Not Edit */ 161 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: aberration.c,v $ $Date: 20 09-07-16 10:34:35 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};161 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: aberration.c,v $ $Date: 2011-09-21 16:17:47 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/actan.c
r3654 r4017 1 1 #include <math.h> 2 2 3 /* @(#) $Id: actan.c,v 1. 8 2009-07-16 10:34:35cmv Exp $ */3 /* @(#) $Id: actan.c,v 1.9 2011-09-21 16:17:47 cmv Exp $ */ 4 4 5 5 /* commonly in math.h, but not in strict ANSI C */ … … 65 65 66 66 /* For RCS Only -- Do Not Edit */ 67 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: actan.c,v $ $Date: 20 09-07-16 10:34:35 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};67 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: actan.c,v $ $Date: 2011-09-21 16:17:47 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/airmass.c
r3654 r4017 24 24 25 25 /* For RCS Only -- Do Not Edit */ 26 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: airmass.c,v $ $Date: 20 09-07-16 10:34:35 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};26 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: airmass.c,v $ $Date: 2011-09-21 16:17:47 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/anomaly.c
r3654 r4017 61 61 62 62 /* For RCS Only -- Do Not Edit */ 63 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: anomaly.c,v $ $Date: 20 09-07-16 10:34:35 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};63 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: anomaly.c,v $ $Date: 2011-09-21 16:17:47 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/ap_as.c
r3654 r4017 66 66 67 67 /* For RCS Only -- Do Not Edit */ 68 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: ap_as.c,v $ $Date: 20 09-07-16 10:34:35 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};68 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: ap_as.c,v $ $Date: 2011-09-21 16:17:47 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/astro.h
r3654 r4017 808 808 809 809 /* For RCS Only -- Do Not Edit 810 * @(#) $RCSfile: astro.h,v $ $Date: 20 09-07-16 10:34:35 $ $Revision: 1.8$ $Name: not supported by cvs2svn $810 * @(#) $RCSfile: astro.h,v $ $Date: 2011-09-21 16:17:47 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $ 811 811 */ -
trunk/SophyaExt/XephemAstroLib/atlas.c
r3654 r4017 194 194 195 195 /* For RCS Only -- Do Not Edit */ 196 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: atlas.c,v $ $Date: 20 09-07-16 10:34:36 $ $Revision: 1.6$ $Name: not supported by cvs2svn $"};196 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: atlas.c,v $ $Date: 2011-09-21 16:17:47 $ $Revision: 1.7 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/auxil.c
r3654 r4017 40 40 41 41 /* For RCS Only -- Do Not Edit */ 42 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: auxil.c,v $ $Date: 20 09-07-16 10:34:36 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};42 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: auxil.c,v $ $Date: 2011-09-21 16:17:47 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/bdl.c
r3654 r4017 236 236 237 237 /* For RCS Only -- Do Not Edit */ 238 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: bdl.c,v $ $Date: 20 09-07-16 10:34:36 $ $Revision: 1.6$ $Name: not supported by cvs2svn $"};238 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: bdl.c,v $ $Date: 2011-09-21 16:17:47 $ $Revision: 1.7 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/bdl.h
r3654 r4017 3 3 4 4 /* For RCS Only -- Do Not Edit 5 * @(#) $RCSfile: bdl.h,v $ $Date: 20 09-07-16 10:34:36 $ $Revision: 1.6$ $Name: not supported by cvs2svn $5 * @(#) $RCSfile: bdl.h,v $ $Date: 2011-09-21 16:17:47 $ $Revision: 1.7 $ $Name: not supported by cvs2svn $ 6 6 */ -
trunk/SophyaExt/XephemAstroLib/chap95.c
r3654 r4017 172 172 173 173 /* For RCS Only -- Do Not Edit */ 174 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: chap95.c,v $ $Date: 20 09-07-16 10:34:36 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};174 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: chap95.c,v $ $Date: 2011-09-21 16:17:48 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/chap95.h
r3654 r4017 65 65 66 66 /* For RCS Only -- Do Not Edit 67 * @(#) $RCSfile: chap95.h,v $ $Date: 20 09-07-16 10:34:36 $ $Revision: 1.8$ $Name: not supported by cvs2svn $67 * @(#) $RCSfile: chap95.h,v $ $Date: 2011-09-21 16:17:48 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $ 68 68 */ -
trunk/SophyaExt/XephemAstroLib/chap95_data.c
r3654 r4017 781 781 782 782 /* For RCS Only -- Do Not Edit */ 783 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: chap95_data.c,v $ $Date: 20 09-07-16 10:34:36 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};783 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: chap95_data.c,v $ $Date: 2011-09-21 16:17:48 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/circum.c
r3654 r4017 861 861 862 862 /* For RCS Only -- Do Not Edit */ 863 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: circum.c,v $ $Date: 20 09-07-16 10:34:36 $ $Revision: 1.9$ $Name: not supported by cvs2svn $"};863 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: circum.c,v $ $Date: 2011-09-21 16:17:48 $ $Revision: 1.10 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/comet.c
r3654 r4017 81 81 82 82 /* For RCS Only -- Do Not Edit */ 83 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: comet.c,v $ $Date: 20 09-07-16 10:34:36 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};83 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: comet.c,v $ $Date: 2011-09-21 16:17:48 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/compare_with_xephem.csh
r2818 r4017 9 9 10 10 set dir = $SOPHYASOURCE/XephemAstroLib/ 11 set log = `pwd`/compare.log11 set log = /tmp/compare.log 12 12 13 13 rm -f $log; touch $log -
trunk/SophyaExt/XephemAstroLib/constel.c
r3654 r4017 1801 1801 1802 1802 /* For RCS Only -- Do Not Edit */ 1803 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: constel.c,v $ $Date: 20 09-07-16 10:34:36 $ $Revision: 1.6$ $Name: not supported by cvs2svn $"};1803 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: constel.c,v $ $Date: 2011-09-21 16:17:48 $ $Revision: 1.7 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/dbfmt.c
r3654 r4017 13 13 int get_fields (char *s, int delim, char *fields[]); 14 14 15 #define MAXDBLINE 256/* longest allowed db line */15 #define MAXDBLINE 512 /* longest allowed db line */ 16 16 17 17 #define FLDSEP ',' /* major field separator */ … … 74 74 75 75 /* do all the parsing on a copy */ 76 (void) strcpy (copy, s); 76 (void) strncpy (copy, s, MAXDBLINE-1); 77 copy[MAXDBLINE-1] = '\0'; 77 78 i = strlen(copy); 78 79 if (copy[i-1] == '\n') … … 1026 1027 1027 1028 /* For RCS Only -- Do Not Edit */ 1028 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: dbfmt.c,v $ $Date: 20 09-07-16 10:34:36 $ $Revision: 1.9$ $Name: not supported by cvs2svn $"};1029 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: dbfmt.c,v $ $Date: 2011-09-21 16:17:48 $ $Revision: 1.10 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/deep.c
r3654 r4017 788 788 789 789 /* For RCS Only -- Do Not Edit */ 790 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: deep.c,v $ $Date: 20 09-07-16 10:34:36 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};790 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: deep.c,v $ $Date: 2011-09-21 16:17:48 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/deepconst.h
r3654 r4017 2 2 #define _CONST_H 3 3 4 /* $Id: deepconst.h,v 1. 8 2009-07-16 10:34:37cmv Exp $ */4 /* $Id: deepconst.h,v 1.9 2011-09-21 16:17:48 cmv Exp $ */ 5 5 6 6 … … 31 31 32 32 /* For RCS Only -- Do Not Edit 33 * @(#) $RCSfile: deepconst.h,v $ $Date: 20 09-07-16 10:34:37 $ $Revision: 1.8$ $Name: not supported by cvs2svn $33 * @(#) $RCSfile: deepconst.h,v $ $Date: 2011-09-21 16:17:48 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $ 34 34 */ -
trunk/SophyaExt/XephemAstroLib/deltat.c
r3654 r4017 1 1 /* DeltaT = Ephemeris Time - Universal Time 2 2 * 3 * original code by Stephen Moshier <moshier@world.std.com>, 4 * adapted to xephem by Michael Sternberg <sternberg@physik.tu-chemnitz.de> 5 * smoothed transitions and updated by Neal McBurnett <nealmcb@bell-labs.com> 6 * 7 ********************************************************************** 8 * 9 * The tabulated values of deltaT, in hundredths of a second, 10 * were taken from The Astronomical Almanac, page K8. The program 11 * adjusts for a value of secular tidal acceleration ndot = -25.8 12 * arcsec per century squared, the value used in JPL's DE403 ephemeris. 13 * ELP2000 (and DE200) used the value -23.8946. 14 * 15 * The tabulated range is 1620.0 through 1998.0. Bessel's interpolation 16 * formula is implemented to obtain fourth order interpolated values at 17 * intermediate times. 18 * 19 * For dates earlier than the tabulated range, the program 20 * calculates approximate formulae of Stephenson and Morrison 21 * or K. M. Borkowski. These approximations have an estimated 22 * error of 15 minutes at 1500 B.C. They are not adjusted for small 23 * improvements in the current estimate of ndot because the formulas 24 * were derived from studies of ancient eclipses and other historical 25 * information, whose interpretation depends only partly on ndot. 26 * 27 * For future vaues of deltaT, the function smoothly transitions with 28 * a linear segment back to Stephenson & Morrison's quadratic formula 29 * in 2130. 30 * 31 * Input is mj (modified julian date from MJD0 on). [stern] 32 * Note that xephem uses a different epoch for this "mj" than the 33 * normal value of JD=240000.5. 34 * See AA page B4. 35 * 36 * Output double deltat(mj) is ET-UT1 in seconds. 3 * Adapted 2011/4/14 from Stephen Moshier <moshier@world.std.com>, 4 * cosmetic changes only. 5 * 6 * Compile as follows to create stand-alone test program: 7 * cc -DTEST_MAIN deltat.c libastro.a 8 * 9 * Tabulated values of deltaT, in hundredths of a second, are 10 * from The Astronomical Almanac and current IERS reports. 11 * A table of values for the pre-telescopic period was taken from 12 * Morrison and Stephenson (2004). The overall tabulated range is 13 * -1000.0 through 2011.0. Values at intermediate times are interpolated 14 * from the tables. 15 * 16 * For dates earlier and later than the tabulated range, the program 17 * calculates a polynomial extrapolation formula. 18 * 19 * Updated deltaT predictions can be obtained from this network archive, 20 * http://maia.usno.navy.mil 21 * then appended to the dt[] table and update TABEND. 22 * 23 * Input is XEphem's MJD, output is ET-UT in seconds. 37 24 * 38 25 * 39 26 * References: 27 * 28 * Morrison, L. V., and F. R. Stephenson, Historical values of the Earth's 29 * clock error deltat T and the calculation of eclipses. Journal for the 30 * History of Astronomy 35, 327-336 (2004) 40 31 * 41 32 * Stephenson, F. R., and L. V. Morrison, "Long-term changes … … 44 35 * Series A 313, 47-70 (1984) 45 36 * 46 * Borkowski, K. M., "ELP2000-85 and the Dynamical Time47 * - Universal Time relation," Astronomy and Astrophysics48 * 205, L8-L10 (1988)49 * Borkowski's formula is derived from eclipses going back to 2137 BC50 * and uses lunar position based on tidal coefficient of -23.9 arcsec/cy^2.51 *52 37 * Chapront-Touze, Michelle, and Jean Chapront, _Lunar Tables 53 38 * and Programs from 4000 B.C. to A.D. 8000_, Willmann-Bell 1991 54 * Their table agrees with the one here, but the entries are55 * rounded to the nearest whole second.56 39 * 57 40 * Stephenson, F. R., and M. A. Houlden, _Atlas of Historical 58 41 * Eclipse Maps_, Cambridge U. Press (1986) 59 42 * 60 * from obsolete extrapolation code [stern]: 61 * Morrison, L. V. and F. R. Stephenson, "Sun and Planetary System" 62 * vol 96,73 eds. W. Fricke, G. Teleki, Reidel, Dordrecht (1982) 63 * 64 ********************************************************************** 65 * 66 * changes by stern: 67 * - adopted #include's for xephem 68 * - made dt[] static 69 * - made mj the time argument [was: year Y]. 70 * - updated observed and extrapolated data from tables at 71 * ftp://maia.usno.navy.mil/ser7/ -- data deviated by up to 0.8 s 72 * - removed references to "extern double dtgiven" 73 * - removed DEMO #define and its references 74 * - replaced treatment after TABEND by linear extrapolation instead 75 * of second order version 76 * - installed lastmj cache (made ans static) 77 * 78 * - no changes to table interpolation scheme and past extrapolations */ 43 */ 79 44 80 45 #include <math.h> … … 82 47 #include "astro.h" 83 48 84 #define TABSTART 1620.0 85 #define TABEND 2017.0 86 #define TABSIZ 398 87 88 /* Note, Stephenson and Morrison's table starts at the year 1630. 89 * The Chapronts' table does not agree with the Almanac prior to 1630. 90 * The actual accuracy decreases rapidly prior to 1780. 91 */ 92 static short dt[TABSIZ] = { 49 #define TABSTART 1620 50 #define TABEND 2011 51 #define TABSIZ (TABEND - TABSTART + 1) 52 53 /* Morrison and Stephenson (2004) 54 * This table covers -1000 through 1700 in 100-year steps. 55 * Values are in whole seconds. 56 * Estimated standard error at -1000 is 640 seconds; at 1600, 20 seconds. 57 * The first value in the table has been adjusted 28 sec for 58 * continuity with their long-term quadratic extrapolation formula. 59 * The last value in this table agrees with the AA table at 1700, 60 * so there is no discontinuity at either endpoint. 61 */ 62 #define MS_SIZ 28 63 short m_s[MS_SIZ] = { 64 /* -1000 to -100 */ 65 25428, 23700, 22000, 21000, 19040, 17190, 15530, 14080, 12790, 11640, 66 67 /* 0 to 900 */ 68 10580, 9600, 8640, 7680, 6700, 5710, 4740, 3810, 2960, 2200, 69 70 /* 1000 to 1700 */ 71 1570, 1090, 740, 490, 320, 200, 120, 9, 72 }; 73 74 75 /* Entries prior to 1955 in the following table are from 76 * the 1984 Astronomical Almanac and assume ndot = -26.0. 77 * For dates prior to 1700, the above table is used instead of this one. 78 */ 79 short dt[TABSIZ] = { 93 80 /* 1620.0 thru 1659.0 */ 94 81 12400, 11900, 11500, 11000, 10600, 10200, 9800, 9500, 9100, 8800, … … 96 83 6200, 6000, 5800, 5700, 5500, 5400, 5300, 5100, 5000, 4900, 97 84 4800, 4700, 4600, 4500, 4400, 4300, 4200, 4100, 4000, 3800, 85 98 86 /* 1660.0 thru 1699.0 */ 99 87 3700, 3600, 3500, 3400, 3300, 3200, 3100, 3000, 2800, 2700, … … 101 89 1600, 1500, 1400, 1400, 1300, 1200, 1200, 1100, 1100, 1000, 102 90 1000, 1000, 900, 900, 900, 900, 900, 900, 900, 900, 91 103 92 /* 1700.0 thru 1739.0 */ 104 93 900, 900, 900, 900, 900, 900, 900, 900, 1000, 1000, … … 106 95 1100, 1100, 1100, 1100, 1100, 1100, 1100, 1100, 1100, 1100, 107 96 1100, 1100, 1100, 1100, 1200, 1200, 1200, 1200, 1200, 1200, 97 108 98 /* 1740.0 thru 1779.0 */ 109 99 1200, 1200, 1200, 1200, 1300, 1300, 1300, 1300, 1300, 1300, … … 111 101 1500, 1500, 1500, 1500, 1500, 1600, 1600, 1600, 1600, 1600, 112 102 1600, 1600, 1600, 1600, 1600, 1700, 1700, 1700, 1700, 1700, 103 113 104 /* 1780.0 thru 1799.0 */ 114 105 1700, 1700, 1700, 1700, 1700, 1700, 1700, 1700, 1700, 1700, 115 106 1700, 1700, 1600, 1600, 1600, 1600, 1500, 1500, 1400, 1400, 107 116 108 /* 1800.0 thru 1819.0 */ 117 109 1370, 1340, 1310, 1290, 1270, 1260, 1250, 1250, 1250, 1250, 118 110 1250, 1250, 1250, 1250, 1250, 1250, 1250, 1240, 1230, 1220, 111 119 112 /* 1820.0 thru 1859.0 */ 120 113 1200, 1170, 1140, 1110, 1060, 1020, 960, 910, 860, 800, … … 122 115 570, 580, 590, 610, 620, 630, 650, 660, 680, 690, 123 116 710, 720, 730, 740, 750, 760, 770, 770, 780, 780, 117 124 118 /* 1860.0 thru 1899.0 */ 125 119 788, 782, 754, 697, 640, 602, 541, 410, 292, 182, … … 127 121 -540, -542, -520, -546, -546, -579, -563, -564, -580, -566, 128 122 -587, -601, -619, -664, -644, -647, -609, -576, -466, -374, 123 129 124 /* 1900.0 thru 1939.0 */ 130 125 -272, -154, -2, 124, 264, 386, 537, 614, 775, 913, … … 132 127 2116, 2225, 2241, 2303, 2349, 2362, 2386, 2449, 2434, 2408, 133 128 2402, 2400, 2387, 2395, 2386, 2393, 2373, 2392, 2396, 2402, 129 134 130 /* 1940.0 thru 1979.0 */ 135 2433, 2483, 2530, 2570, 2624, 2677, 2728, 2778, 2825, 2871, 136 2915, 2957, 2997, 3036, 3072, 3107, 3135, 3168, 3218, 3268, 137 3315, 3359, 3400, 3447, 3503, 3573, 3654, 3743, 3829, 3920, 138 4018, 4117, 4223, 4337, 4449, 4548, 4646, 4752, 4853, 4959, 139 /* 1980.0 thru 1995.0 */ 140 5054, 5138, 5217, 5296, 5379, 5434, 5487, 5532, 5582, 5630, 141 5686, 5757, 5831, 5912, 5998, 6078, 142 /* new USNO data (stern) */ 143 6163, 6230, 144 /* 1999 USNO data 1998.0 thru 2000.0 (McBurnett) */ 145 6297, 6347, 6383, 146 147 6409, 6430, 6447, 6507, 6546, 6546, 6546, 148 149 /* 2008+ added 5/19/2009 from http://maia.usno.navy.mil/ser7/deltat.preds */ 150 151 6546, 152 6570, 153 6650, 154 6710, 155 6800, 156 6800, 157 6900, 158 6900, 159 7000, 160 7000, 131 2433, 2483, 2530, 2570, 2624, 2677, 2728, 2778, 2825, 2871, 132 2915, 2957, 2997, 3036, 3072, 3107, 3135, 3168, 3218, 3268, 133 3315, 3359, 3400, 3447, 3503, 3573, 3654, 3743, 3829, 3920, 134 4018, 4117, 4223, 4337, 4449, 4548, 4646, 4752, 4853, 4959, 135 136 /* 1980.0 thru 2011.0 */ 137 5054, 5138, 5217, 5296, 5379, 5434, 5487, 5532, 5582, 5630, 138 5686, 5757, 5831, 5912, 5998, 6078, 6163, 6230, 6297, 6347, 139 6383, 6409, 6430, 6447, 6457, 6469, 6485, 6515, 6546, 6578, 140 6607, 6632, 161 141 }; 162 142 163 /* calculate DeltaT = ET - UT1 in seconds. Describes the irregularities 143 144 /* Given MJD return DeltaT = ET - UT1 in seconds. Describes the irregularities 164 145 * of the Earth rotation rate in the ET time scale. 165 146 */ 166 double deltat(double mj) 147 double 148 deltat(double mj) 167 149 { 168 double Y;169 double p, B;150 static double ans, lastmj; 151 double Y, p, B; 170 152 int d[6]; 171 153 int i, iy, k; 172 static double ans; 173 static double lastmj = -10000; 174 175 if (mj == lastmj) { 176 return(ans); 154 155 if (mj == lastmj) 156 return (ans); 157 lastmj = mj; 158 159 mjd_year (mj, &Y); 160 161 if( Y > TABEND ) { 162 /* Extrapolate future values beyond the lookup table. */ 163 if (Y > (TABEND + 100.0)) { 164 /* Morrison & Stephenson (2004) long-term curve fit. */ 165 B = 0.01 * (Y - 1820.0); 166 ans = 32.0 * B * B - 20.0; 167 168 } else { 169 170 double a, b, c, d, m0, m1; 171 172 /* Cubic interpolation between last tabulated value 173 * and long-term curve evaluated at 100 years later. 174 */ 175 176 /* Last tabulated delta T value. */ 177 a = 0.01 * dt[TABSIZ-1]; 178 /* Approximate slope in past 10 years. */ 179 b = 0.001 * (dt[TABSIZ-1] - dt[TABSIZ - 11]); 180 181 /* Long-term curve 100 years hence. */ 182 B = 0.01 * (TABEND + 100.0 - 1820.0); 183 m0 = 32.0 * B*B - 20.0; 184 /* Its slope. */ 185 m1 = 0.64 * B; 186 187 /* Solve for remaining coefficients of an interpolation polynomial 188 * that agrees in value and slope at both ends of the 100-year 189 * interval. 190 */ 191 d = 2.0e-6 * (50.0 * (m1 + b) - m0 + a); 192 c = 1.0e-4 * (m0 - a - 100.0 * b - 1.0e6 * d); 193 194 /* Note, the polynomial coefficients do not depend on Y. 195 * A given tabulation and long-term formula 196 * determine the polynomial. 197 * Thus, for the IERS table ending at 2011.0, the coefficients are 198 * a = 66.32 199 * b = 0.223 200 * c = 0.03231376 201 * d = -0.0001607784 202 */ 203 204 /* Compute polynomial value at desired time. */ 205 p = Y - TABEND; 206 ans = a + p * (b + p * (c + p * d)); 207 } 208 209 return (ans); 177 210 } 178 lastmj = mj; 179 180 Y = 2000.0 + (mj - J2000)/365.25; 181 182 if( Y > TABEND) { 183 /* linear interpolation from table end; stern */ 184 B = Y - TABEND; 185 ans = dt[TABSIZ-1] + B * (dt[TABSIZ-1] - dt[TABSIZ-11])/10; 186 ans *= 0.01; 187 return(ans); 211 212 213 /* Use Morrison and Stephenson (2004) prior to the year 1700. */ 214 if( Y < 1700.0 ) { 215 if (Y <= -1000.0) { 216 /* Morrison and Stephenson long-term fit. */ 217 B = 0.01 * (Y - 1820.0); 218 ans = 32.0 * B * B - 20.0; 219 220 } else { 221 222 /* Morrison and Stephenson recommend linear interpolation 223 * between tabulations. 224 */ 225 iy = Y; 226 iy = (iy + 1000) / 100; /* Integer index into the table. */ 227 B = -1000 + 100 * iy; /* Starting year of tabulated interval. */ 228 p = m_s[iy]; 229 ans = p + 0.01 * (Y - B) * (m_s[iy + 1] - p); 230 } 231 232 return (ans); 188 233 } 189 234 190 if( Y < TABSTART) { 191 if( Y >= 948.0 - 15.0 ) { 192 /* Stephenson and Morrison, stated domain is 948 to 1600: 193 * 25.5(centuries from 1800)^2 - 1.9159(centuries from 1955)^2 194 * Here we offset by -15 y to minimize the discontinuity, 195 * thus we use it from 933.0 to 1620.0, 196 * and from the end of the table to 2130.0. 197 * f(1620.0) = 60.955200, slope -0.079 s/y 198 * f(2004.0) = 105.649728, slope 1.02 s/y 199 * f(2048.0) = 155.176, slope 1.23 s/y 200 * f(2084.0) = 202.49, slope 1.4 s/y 201 * f(2130.0) = 272, slope .1616 202 * f(2150.0) = 305, slope .17 203 */ 204 B = 0.01*(Y - 2000.0); 205 ans = (23.58 * B + 100.3)*B + 101.6; 206 } else { 207 /* Borkowski */ 208 /* f(2004.0) = 542.7435, slope 2.65 s/y */ 209 B = 0.01*(Y - 2000.0) + 3.75; 210 ans = 35.0 * B * B + 40.; 211 } 212 return(ans); 213 } 214 215 /* Besselian interpolation from tabulated values. 235 /* Besselian interpolation between tabulated values 236 * in the telescopic era. 216 237 * See AA page K11. 217 238 */ 218 239 219 /* value for 1620.1 is 121.96 or so, not 124.0 */ 220 221 /* Index into the table. 222 */ 240 /* Index into the table. */ 223 241 p = floor(Y); 224 iy = (int)(p - TABSTART); 225 /* Zeroth order estimate is value at start of year 226 */ 242 iy = (int) (p - TABSTART); 243 /* Zeroth order estimate is value at start of year */ 227 244 ans = dt[iy]; 228 245 k = iy + 1; … … 230 247 goto done; /* No data, can't go on. */ 231 248 232 /* The fraction of tabulation interval 233 */ 249 /* The fraction of tabulation interval */ 234 250 p = Y - p; 235 251 236 /* First order interpolated value 237 */ 252 /* First order interpolated value */ 238 253 ans += p*(dt[k] - dt[iy]); 239 254 if( (iy-1 < 0) || (iy+2 >= TABSIZ) ) 240 255 goto done; /* can't do second differences */ 241 256 242 /* Make table of first differences 243 */ 257 /* Make table of first differences */ 244 258 k = iy - 2; 245 for ( i=0; i<5; i++) {259 for (i=0; i<5; i++) { 246 260 if( (k < 0) || (k+1 >= TABSIZ) ) 247 261 d[i] = 0; 248 else d[i] = dt[k+1] - dt[k]; 249 k += 1; 262 else 263 d[i] = dt[k+1] - dt[k]; 264 k += 1; 250 265 } 251 266 252 /* Compute second differences 253 */ 267 /* Compute second differences */ 254 268 for( i=0; i<4; i++ ) 255 269 d[i] = d[i+1] - d[i]; 256 270 B = 0.25*p*(p-1.0); 257 271 ans += B*(d[1] + d[2]); 258 if ( iy+2 >= TABSIZ)272 if (iy+2 >= TABSIZ) 259 273 goto done; 260 274 261 /* Compute third differences 262 */ 275 /* Compute third differences */ 263 276 for( i=0; i<3; i++ ) 264 277 d[i] = d[i+1] - d[i]; 265 278 B = 2.0*B/3.0; 266 279 ans += (p-0.5)*B*d[1]; 267 if ((iy-2 < 0) || (iy+3 > TABSIZ) )280 if ((iy-2 < 0) || (iy+3 > TABSIZ) ) 268 281 goto done; 269 282 270 /* Compute fourth differences 271 */ 283 /* Compute fourth differences */ 272 284 for( i=0; i<2; i++ ) 273 285 d[i] = d[i+1] - d[i]; … … 275 287 ans += B*(d[0] + d[1]); 276 288 277 done: 289 done: 290 291 ans *= 0.01; 292 293 #if 0 /* ndot = -26.0 assumed; no correction. */ 294 278 295 /* Astronomical Almanac table is corrected by adding the expression 279 296 * -0.000091 (ndot + 26)(year-1955)^2 seconds … … 284 301 * are not affected by errors in Lunar or planetary theory. 285 302 */ 286 ans *= 0.01; 287 if( Y < 1955.0 ) { 288 B = (Y - 1955.0); 289 ans += -0.000091 * (-25.8 + 26.0) * B * B; 290 } 303 if( Y < 1955.0 ) 304 { 305 B = (Y - 1955.0); 306 #if 1 307 ans += -0.000091 * (-25.8 + 26.0) * B * B; 308 #else 309 ans += -0.000091 * (-23.8946 + 26.0) * B * B; 310 #endif 311 } 312 313 #endif /* 0 */ 314 291 315 return( ans ); 292 316 } 293 317 294 318 295 #ifdef TEST_DT 296 main() 319 #ifdef TEST_MAIN 320 321 /* Exercise program. 322 */ 323 #include <stdio.h> 324 #include <stdlib.h> 325 326 int main(int ac, char *av[]) 297 327 { 298 double ans, y; 299 300 while (scanf("%lf", &y) == 1) { 301 ans = deltat((y - 2000.0)*365.25 + J2000); 302 printf("%.4lf %.4lf\n", y, ans); 303 } 328 double ans, mj, y = atof(av[1]); 329 year_mjd (y, &mj); 330 ans = deltat(mj); 331 printf( "%.4lf\n", ans ); 332 return (0); 304 333 } 305 334 #endif 306 307 /* For RCS Only -- Do Not Edit */308 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: deltat.c,v $ $Date: 2009-07-16 10:34:37 $ $Revision: 1.8 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/earthsat.c
r3654 r4017 784 784 785 785 /* For RCS Only -- Do Not Edit */ 786 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: earthsat.c,v $ $Date: 20 09-07-16 10:34:37 $ $Revision: 1.9$ $Name: not supported by cvs2svn $"};786 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: earthsat.c,v $ $Date: 2011-09-21 16:17:49 $ $Revision: 1.10 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/eq_ecl.c
r3654 r4017 70 70 71 71 /* For RCS Only -- Do Not Edit */ 72 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: eq_ecl.c,v $ $Date: 20 09-07-16 10:34:37 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};72 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: eq_ecl.c,v $ $Date: 2011-09-21 16:17:49 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/eq_gal.c
r3654 r4017 97 97 98 98 /* For RCS Only -- Do Not Edit */ 99 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: eq_gal.c,v $ $Date: 20 09-07-16 10:34:37 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};99 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: eq_gal.c,v $ $Date: 2011-09-21 16:17:49 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/formats.c
r3654 r4017 210 210 211 211 /* For RCS Only -- Do Not Edit */ 212 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: formats.c,v $ $Date: 20 09-07-16 10:34:37 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};212 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: formats.c,v $ $Date: 2011-09-21 16:17:49 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/helio.c
r3654 r4017 49 49 50 50 /* For RCS Only -- Do Not Edit */ 51 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: helio.c,v $ $Date: 20 09-07-16 10:34:37 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};51 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: helio.c,v $ $Date: 2011-09-21 16:17:49 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/jupmoon.c
r3654 r4017 389 389 390 390 /* For RCS Only -- Do Not Edit */ 391 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: jupmoon.c,v $ $Date: 20 09-07-16 10:34:37 $ $Revision: 1.6$ $Name: not supported by cvs2svn $"};391 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: jupmoon.c,v $ $Date: 2011-09-21 16:17:49 $ $Revision: 1.7 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/libration.c
r3654 r4017 2216 2216 2217 2217 /* For RCS Only -- Do Not Edit */ 2218 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: libration.c,v $ $Date: 20 09-07-16 10:34:37 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};2218 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: libration.c,v $ $Date: 2011-09-21 16:17:49 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/magdecl.c
r3654 r4017 379 379 380 380 /* For RCS Only -- Do Not Edit */ 381 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: magdecl.c,v $ $Date: 20 09-07-16 10:34:37 $ $Revision: 1.7$ $Name: not supported by cvs2svn $"};381 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: magdecl.c,v $ $Date: 2011-09-21 16:17:49 $ $Revision: 1.8 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/marsmoon.c
r3654 r4017 263 263 264 264 /* For RCS Only -- Do Not Edit */ 265 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: marsmoon.c,v $ $Date: 20 09-07-16 10:34:37 $ $Revision: 1.6$ $Name: not supported by cvs2svn $"};265 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: marsmoon.c,v $ $Date: 2011-09-21 16:17:49 $ $Revision: 1.7 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/misc.c
r3654 r4017 501 501 502 502 /* For RCS Only -- Do Not Edit */ 503 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: misc.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.9$ $Name: not supported by cvs2svn $"};503 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: misc.c,v $ $Date: 2011-09-21 16:17:49 $ $Revision: 1.10 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/mjd.c
r3654 r4017 254 254 255 255 /* For RCS Only -- Do Not Edit */ 256 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: mjd.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};256 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: mjd.c,v $ $Date: 2011-09-21 16:17:49 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/moon.c
r3654 r4017 3465 3465 3466 3466 /* For RCS Only -- Do Not Edit */ 3467 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: moon.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.9$ $Name: not supported by cvs2svn $"};3467 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: moon.c,v $ $Date: 2011-09-21 16:17:49 $ $Revision: 1.10 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/mooncolong.c
r3654 r4017 234 234 235 235 /* For RCS Only -- Do Not Edit */ 236 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: mooncolong.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};236 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: mooncolong.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/moonnf.c
r3654 r4017 67 67 68 68 /* For RCS Only -- Do Not Edit */ 69 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: moonnf.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.6$ $Name: not supported by cvs2svn $"};69 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: moonnf.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.7 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/nutation.c
r3654 r4017 439 439 440 440 /* For RCS Only -- Do Not Edit */ 441 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: nutation.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};441 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: nutation.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/obliq.c
r3654 r4017 25 25 26 26 /* For RCS Only -- Do Not Edit */ 27 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: obliq.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};27 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: obliq.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/parallactic.c
r3654 r4017 52 52 53 53 /* For RCS Only -- Do Not Edit */ 54 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: parallactic.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.6$ $Name: not supported by cvs2svn $"};54 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: parallactic.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.7 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/parallax.c
r3654 r4017 40 40 41 41 /* For RCS Only -- Do Not Edit */ 42 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: parallax.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};42 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: parallax.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/plans.c
r3654 r4017 225 225 226 226 /* For RCS Only -- Do Not Edit */ 227 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: plans.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};227 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: plans.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/plshadow.c
r3654 r4017 48 48 49 49 /* For RCS Only -- Do Not Edit */ 50 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: plshadow.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.6$ $Name: not supported by cvs2svn $"};50 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: plshadow.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.7 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/precess.c
r3654 r4017 144 144 145 145 /* For RCS Only -- Do Not Edit */ 146 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: precess.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};146 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: precess.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/preferences.h
r3654 r4017 29 29 30 30 /* For RCS Only -- Do Not Edit 31 * @(#) $RCSfile: preferences.h,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.8$ $Name: not supported by cvs2svn $31 * @(#) $RCSfile: preferences.h,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $ 32 32 */ -
trunk/SophyaExt/XephemAstroLib/reduce.c
r3654 r4017 76 76 77 77 /* For RCS Only -- Do Not Edit */ 78 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: reduce.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};78 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: reduce.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/refract.c
r3654 r4017 89 89 90 90 /* For RCS Only -- Do Not Edit */ 91 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: refract.c,v $ $Date: 20 09-07-16 10:34:38 $ $Revision: 1.9$ $Name: not supported by cvs2svn $"};91 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: refract.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.10 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/rings.c
r3654 r4017 43 43 44 44 /* For RCS Only -- Do Not Edit */ 45 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: rings.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.7$ $Name: not supported by cvs2svn $"};45 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: rings.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.8 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/riset.c
r3654 r4017 98 98 99 99 /* For RCS Only -- Do Not Edit */ 100 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: riset.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};100 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: riset.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/riset_cir.c
r3654 r4017 383 383 384 384 /* For RCS Only -- Do Not Edit */ 385 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: riset_cir.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};385 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: riset_cir.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/satlib.h
r3654 r4017 2 2 #define __SATLIB_H 3 3 4 /* $Id: satlib.h,v 1. 8 2009-07-16 10:34:39cmv Exp $ */4 /* $Id: satlib.h,v 1.9 2011-09-21 16:17:50 cmv Exp $ */ 5 5 6 6 typedef struct _SatElem { … … 203 203 204 204 /* For RCS Only -- Do Not Edit 205 * @(#) $RCSfile: satlib.h,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $205 * @(#) $RCSfile: satlib.h,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $ 206 206 */ -
trunk/SophyaExt/XephemAstroLib/satmoon.c
r3654 r4017 508 508 509 509 /* For RCS Only -- Do Not Edit */ 510 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: satmoon.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.6$ $Name: not supported by cvs2svn $"};510 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: satmoon.c,v $ $Date: 2011-09-21 16:17:50 $ $Revision: 1.7 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/satspec.h
r3654 r4017 2 2 #define __SATSPEC_H 3 3 4 /* $Id: satspec.h,v 1. 8 2009-07-16 10:34:39cmv Exp $ */4 /* $Id: satspec.h,v 1.9 2011-09-21 16:17:51 cmv Exp $ */ 5 5 6 6 #include "sattypes.h" … … 40 40 41 41 /* For RCS Only -- Do Not Edit 42 * @(#) $RCSfile: satspec.h,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $42 * @(#) $RCSfile: satspec.h,v $ $Date: 2011-09-21 16:17:51 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $ 43 43 */ -
trunk/SophyaExt/XephemAstroLib/sattypes.h
r3654 r4017 2 2 #define __SATTYPES_H 3 3 4 /* $Id: sattypes.h,v 1. 8 2009-07-16 10:34:39cmv Exp $ */4 /* $Id: sattypes.h,v 1.9 2011-09-21 16:17:51 cmv Exp $ */ 5 5 6 6 typedef struct _Vec3 { … … 25 25 26 26 /* For RCS Only -- Do Not Edit 27 * @(#) $RCSfile: sattypes.h,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $27 * @(#) $RCSfile: sattypes.h,v $ $Date: 2011-09-21 16:17:51 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $ 28 28 */ -
trunk/SophyaExt/XephemAstroLib/sdp4.c
r3654 r4017 428 428 429 429 /* For RCS Only -- Do Not Edit */ 430 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: sdp4.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};430 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: sdp4.c,v $ $Date: 2011-09-21 16:17:51 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/sgp4.c
r3654 r4017 399 399 400 400 /* For RCS Only -- Do Not Edit */ 401 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: sgp4.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};401 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: sgp4.c,v $ $Date: 2011-09-21 16:17:51 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/sphcart.c
r3654 r4017 41 41 42 42 /* For RCS Only -- Do Not Edit */ 43 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: sphcart.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};43 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: sphcart.c,v $ $Date: 2011-09-21 16:17:51 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/sun.c
r3654 r4017 42 42 43 43 /* For RCS Only -- Do Not Edit */ 44 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: sun.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};44 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: sun.c,v $ $Date: 2011-09-21 16:17:51 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/thetag.c
r3654 r4017 3 3 #include "deepconst.h" 4 4 5 /* @(#) $Id: thetag.c,v 1. 8 2009-07-16 10:34:39cmv Exp $ */5 /* @(#) $Id: thetag.c,v 1.9 2011-09-21 16:17:51 cmv Exp $ */ 6 6 7 7 … … 88 88 89 89 /* For RCS Only -- Do Not Edit */ 90 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: thetag.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};90 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: thetag.c,v $ $Date: 2011-09-21 16:17:51 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/twobody.c
r3654 r4017 241 241 242 242 /* For RCS Only -- Do Not Edit */ 243 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: twobody.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.7$ $Name: not supported by cvs2svn $"};243 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: twobody.c,v $ $Date: 2011-09-21 16:17:51 $ $Revision: 1.8 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/umoon.c
r3654 r4017 268 268 269 269 /* For RCS Only -- Do Not Edit */ 270 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: umoon.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.6$ $Name: not supported by cvs2svn $"};270 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: umoon.c,v $ $Date: 2011-09-21 16:17:51 $ $Revision: 1.7 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/utc_gst.c
r3654 r4017 93 93 94 94 /* For RCS Only -- Do Not Edit */ 95 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: utc_gst.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};95 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: utc_gst.c,v $ $Date: 2011-09-21 16:17:51 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/vector.h
r3654 r4017 2 2 #define __SATVECTOR_H 3 3 4 /* $Id: vector.h,v 1. 8 2009-07-16 10:34:39cmv Exp $ */4 /* $Id: vector.h,v 1.9 2011-09-21 16:17:51 cmv Exp $ */ 5 5 6 6 #define dotp(A,B) ((A).x*(B).x+(A).y*(B).y+(A).z*(B).z) … … 16 16 17 17 /* For RCS Only -- Do Not Edit 18 * @(#) $RCSfile: vector.h,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $18 * @(#) $RCSfile: vector.h,v $ $Date: 2011-09-21 16:17:51 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $ 19 19 */ -
trunk/SophyaExt/XephemAstroLib/vsop87.c
r3654 r4017 207 207 208 208 /* For RCS Only -- Do Not Edit */ 209 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: vsop87.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.9$ $Name: not supported by cvs2svn $"};209 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: vsop87.c,v $ $Date: 2011-09-21 16:17:51 $ $Revision: 1.10 $ $Name: not supported by cvs2svn $"}; -
trunk/SophyaExt/XephemAstroLib/vsop87.h
r3654 r4017 90 90 91 91 /* For RCS Only -- Do Not Edit 92 * @(#) $RCSfile: vsop87.h,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $92 * @(#) $RCSfile: vsop87.h,v $ $Date: 2011-09-21 16:17:52 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $ 93 93 */ -
trunk/SophyaExt/XephemAstroLib/vsop87_data.c
r3654 r4017 6986 6986 6987 6987 /* For RCS Only -- Do Not Edit */ 6988 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: vsop87_data.c,v $ $Date: 20 09-07-16 10:34:39 $ $Revision: 1.8$ $Name: not supported by cvs2svn $"};6988 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: vsop87_data.c,v $ $Date: 2011-09-21 16:17:52 $ $Revision: 1.9 $ $Name: not supported by cvs2svn $"};
Note:
See TracChangeset
for help on using the changeset viewer.