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/drizzle.c

    r4689 r7917  
    2727
    2828  if (argc != 5) {
    29     fprintf (stderr, "USAGE: transform <from> <to> <weight> (Nlinear)\n");
    30     fprintf (stderr, "  output buffer must exist with target astrometry header\n");
    31     fprintf (stderr, "  Nlinear is the pixel scale for linear astrometric transformation\n");
     29    gprint (GP_ERR, "USAGE: transform <from> <to> <weight> (Nlinear)\n");
     30    gprint (GP_ERR, "  output buffer must exist with target astrometry header\n");
     31    gprint (GP_ERR, "  Nlinear is the pixel scale for linear astrometric transformation\n");
    3232    return (FALSE);
    3333  }
     
    4343  /* for the moment, disable WRP / DIS */
    4444  if (!strcmp(&coords_in.ctype[4], "-WRP") || !strcmp(&coords_out.ctype[4], "-WRP")) {
    45     fprintf (stderr, "WRP mode not implemented for astrom\n");
     45    gprint (GP_ERR, "WRP mode not implemented for astrom\n");
    4646    return (FALSE);
    4747  }
     
    5050  scale_out = sqrt(fabs(coords_out.cdelt1*coords_out.cdelt2*(coords_out.pc1_1*coords_out.pc2_2 - coords_out.pc1_2*coords_out.pc2_1)));
    5151 
    52   fprintf (stderr, "%f - %f\n", scale_in, scale_out);
     52  gprint (GP_ERR, "%f - %f\n", scale_in, scale_out);
    5353
    5454  if (scale_in > scale_out) {
Note: See TracChangeset for help on using the changeset viewer.