Changeset 2641 in Sophya for trunk/SophyaExt
- Timestamp:
- Dec 3, 2004, 11:39:58 AM (21 years ago)
- Location:
- trunk/SophyaExt/XephemAstroLib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/XephemAstroLib/circum.c
r2551 r2641 808 808 elongation(lpd, psi, lsn-PI, &el); 809 809 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. 812 813 * 813 814 * precise geocentric deflection is: g1 * tan(el/2) … … 818 819 * g2 varies from 0 (highest contribution) to 2 819 820 */ 820 if (el<degrad(170) || el>degrad(179.75) ) return;821 if (el<degrad(170) || el>degrad(179.75) || rho<rsn) return; 821 822 822 823 /* get cartesian vectors */ … … 860 861 861 862 /* 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 $"};863 static 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 398 398 { 399 399 /* 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)); 401 401 } 402 402 … … 784 784 785 785 /* 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 $"};786 static 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 55 55 fclose(wmmdat); 56 56 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); 58 58 return (-2); 59 59 } … … 379 379 380 380 /* 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 $"};381 static 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.