Changeset 3111 in Sophya for trunk/SophyaExt/XephemAstroLib/deltat.c
- Timestamp:
- Nov 22, 2006, 2:53:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/XephemAstroLib/deltat.c
r2818 r3111 144 144 /* 1999 USNO data 1998.0 thru 2000.0 (McBurnett) */ 145 145 6297, 6347, 6383, 146 /* 1999 extrapolation (McBurnett), 2001.0 thru 2006.0 147 Ramp up to 1.6 s/yr to transition smoothly to Stevenson formula 148 in 2130.0 */ 149 6440, 6510, 6600, 6750, 6900, 7060 146 /* 1999 extrapolation (McBurnett), 2001.0 thru 2006.0 */ 147 /* 6440, 6510, 6600, 6750, 6900, 7060 */ 148 6409, 6430, 6447, 6507, 6578, 6610 /* ECD */ 150 149 151 150 /* original 1997 USNO extrapolation (stern), 1998.0 thru 2004.0 … … 178 177 Y = 2000.0 + (mj - J2000)/365.25; 179 178 180 if( Y > TABEND && Y < 2130.0) {179 if( Y > TABEND) { 181 180 /* linear interpolation from table end; stern */ 182 181 B = Y - TABEND; 183 ans = dt[TABSIZ-1] + B * (dt[TABSIZ-1] - dt[TABSIZ- 2]);182 ans = dt[TABSIZ-1] + B * (dt[TABSIZ-1] - dt[TABSIZ-11])/10; 184 183 ans *= 0.01; 185 184 return(ans); 186 185 } 187 186 188 if( Y < TABSTART || Y >= 2130.0) {189 if( (Y >= 948.0 - 15.0 && Y < TABSTART) || Y >= 2130.0 ) {187 if( Y < TABSTART) { 188 if( Y >= 948.0 - 15.0 ) { 190 189 /* Stephenson and Morrison, stated domain is 948 to 1600: 191 190 * 25.5(centuries from 1800)^2 - 1.9159(centuries from 1955)^2 … … 304 303 305 304 /* For RCS Only -- Do Not Edit */ 306 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: deltat.c,v $ $Date: 200 5-08-21 10:02:37 $ $Revision: 1.5$ $Name: not supported by cvs2svn $"};305 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: deltat.c,v $ $Date: 2006-11-22 13:53:29 $ $Revision: 1.6 $ $Name: not supported by cvs2svn $"};
Note:
See TracChangeset
for help on using the changeset viewer.