IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2006, 10:58:49 PM (20 years ago)
Author:
eugene
Message:

major updates to use gprint for buffered / threaded printing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.astro/transform.c

    r3404 r7917  
    1414
    1515  if (argc != 3) {
    16     fprintf (stderr, "USAGE: transform <from> <to>\n");
     16    gprint (GP_ERR, "USAGE: transform <from> <to>\n");
    1717    return (FALSE);
    1818  }
     
    2626  /* for the moment, disable WRP / DIS */
    2727  if (!strcmp(&coords_in.ctype[4], "-WRP") || !strcmp(&coords_out.ctype[4], "-WRP")) {
    28     fprintf (stderr, "WRP mode not implemented for astrom\n");
     28    gprint (GP_ERR, "WRP mode not implemented for astrom\n");
    2929    return (FALSE);
    3030  }
     
    4646
    4747  for (j = 0; j < in[0].header.Naxis[1]; j++) {
    48     fprintf (stderr, ".");
     48    gprint (GP_ERR, ".");
    4949    for (i = 0; i < in[0].header.Naxis[0]; i++, Vin++) {
    5050      for (dx = 0.0 + 0.5*frac; dx < 1.0 - 0.5*frac; dx += frac) {
Note: See TracChangeset for help on using the changeset viewer.