Changeset 2641 in Sophya for trunk/SophyaExt


Ignore:
Timestamp:
Dec 3, 2004, 11:39:58 AM (21 years ago)
Author:
cmv
Message:

mise a jour version xephem 3.6.2 cmv 3/12/04

Location:
trunk/SophyaExt/XephemAstroLib
Files:
3 edited

Legend:

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

    r2551 r2641  
    808808        elongation(lpd, psi, lsn-PI, &el);
    809809        el = fabs(el);
    810         /* only continue if object is within about 10 deg around the sun
    811          * and not obscured by the sun's disc (radius 0.25 deg)
     810        /* only continue if object is within about 10 deg around the sun,
     811         * not obscured by the sun's disc (radius 0.25 deg) and farther away
     812         * than the sun.
    812813         *
    813814         * precise geocentric deflection is:  g1 * tan(el/2)
     
    818819         *              g2 varies from 0 (highest contribution) to 2
    819820         */
    820         if (el<degrad(170) || el>degrad(179.75)) return;
     821        if (el<degrad(170) || el>degrad(179.75) || rho<rsn) return;
    821822
    822823        /* get cartesian vectors */
     
    860861
    861862/* For RCS Only -- Do Not Edit */
    862 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: circum.c,v $ $Date: 2004-06-15 16:52:37 $ $Revision: 1.3 $ $Name: not supported by cvs2svn $"};
     863static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: circum.c,v $ $Date: 2004-12-03 10:39:58 $ $Revision: 1.4 $ $Name: not supported by cvs2svn $"};
  • trunk/SophyaExt/XephemAstroLib/earthsat.c

    r2551 r2641  
    398398{
    399399        /* figure its daft if long enough to decay 1 rev/day */
    400         return (fabs(op->es_epoch - mjd) > 1/op->es_decay);
     400        return (fabs(op->es_epoch - mjd) > 1/fabs(op->es_decay));
    401401}
    402402
     
    784784
    785785/* For RCS Only -- Do Not Edit */
    786 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: earthsat.c,v $ $Date: 2004-06-15 16:52:38 $ $Revision: 1.3 $ $Name: not supported by cvs2svn $"};
     786static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: earthsat.c,v $ $Date: 2004-12-03 10:39:58 $ $Revision: 1.4 $ $Name: not supported by cvs2svn $"};
  • trunk/SophyaExt/XephemAstroLib/magdecl.c

    r2551 r2641  
    5555        fclose(wmmdat);
    5656        if (s < 0) {
    57             sprintf (err, "Magnetic model only available for %g .. %g. See http://www.ngdc.noaa.gov", ti, ti+5);
     57            sprintf (err, "%s: Magnetic model only available for %g .. %g. See http://www.ngdc.noaa.gov", mfile, ti, ti+5);
    5858            return (-2);
    5959        }
     
    379379
    380380/* For RCS Only -- Do Not Edit */
    381 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: magdecl.c,v $ $Date: 2004-06-15 16:54:12 $ $Revision: 1.1 $ $Name: not supported by cvs2svn $"};
     381static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: magdecl.c,v $ $Date: 2004-12-03 10:39:58 $ $Revision: 1.2 $ $Name: not supported by cvs2svn $"};
Note: See TracChangeset for help on using the changeset viewer.