Changeset 7917 for trunk/Ohana/src/opihi/cmd.astro/precess.c
- Timestamp:
- Jul 16, 2006, 10:58:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.astro/precess.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/precess.c
r2598 r7917 15 15 in_epoch = out_epoch = 2000.0; 16 16 if (argc != 5) { 17 fprintf (stderr, "USAGE: precess (from) (to) RA DEC \n");18 fprintf (stderr, " you may use B for B1950.0 or J for J2000.0\n");17 gprint (GP_ERR, "USAGE: precess (from) (to) RA DEC \n"); 18 gprint (GP_ERR, " you may use B for B1950.0 or J for J2000.0\n"); 19 19 return (FALSE); 20 20 } … … 56 56 } 57 57 58 fprintf (stderr, "converting from J%f to J%f\n", in_epoch, out_epoch);58 gprint (GP_ERR, "converting from J%f to J%f\n", in_epoch, out_epoch); 59 59 60 60 T = (out_epoch - in_epoch) / 100.0; … … 77 77 if (RA < 0) 78 78 RA += 360; 79 fprintf (GetOutfile(), "%f %f -> %f %f\n", A, D, RA, DEC);79 gprint (GP_LOG, "%f %f -> %f %f\n", A, D, RA, DEC); 80 80 return (TRUE); 81 81 } … … 86 86 87 87 if (xvec[0].Nelements != yvec[0].Nelements) { 88 fprintf (stderr, "vectors %s and %s not the same length\n", argv[3], argv[4]);88 gprint (GP_ERR, "vectors %s and %s not the same length\n", argv[3], argv[4]); 89 89 return (FALSE); 90 90 }
Note:
See TracChangeset
for help on using the changeset viewer.
