Ignore:
Timestamp:
Nov 22, 2006, 2:53:31 PM (19 years ago)
Author:
cmv
Message:

mise en conformite xephem 3.7.2 cmv 22/11/2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/XephemAstroLib/deltat.c

    r2818 r3111  
    144144    /* 1999 USNO data 1998.0 thru 2000.0 (McBurnett) */
    145145     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 */
    150149
    151150    /* original 1997 USNO extrapolation (stern), 1998.0 thru 2004.0
     
    178177        Y = 2000.0 + (mj - J2000)/365.25;
    179178
    180         if( Y > TABEND  &&  Y < 2130.0 ) {
     179        if( Y > TABEND) {
    181180            /* linear interpolation from table end; stern */
    182181            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;
    184183            ans *= 0.01;
    185184            return(ans);
    186185        }
    187186
    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 ) {
    190189                /* Stephenson and Morrison, stated domain is 948 to 1600:
    191190                 * 25.5(centuries from 1800)^2 - 1.9159(centuries from 1955)^2
     
    304303
    305304/* For RCS Only -- Do Not Edit */
    306 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: deltat.c,v $ $Date: 2005-08-21 10:02:37 $ $Revision: 1.5 $ $Name: not supported by cvs2svn $"};
     305static 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.