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/dvo/skycat.c

    r7680 r7917  
    3535
    3636  if (argc != 1) {
    37     fprintf (stderr, "USAGE: skycat [-all]\n");
     37    gprint (GP_ERR, "USAGE: skycat [-all]\n");
    3838    return (FALSE);
    3939  }
     
    4747  skylist = SkyListByRadius (sky, Depth, graphmode.coords.crval1, graphmode.coords.crval2, Radius);
    4848 
    49   if (VERBOSE) fprintf (stderr, "region: %6.2f - %6.2f, %6.2f - %6.2f\n",
     49  if (VERBOSE) gprint (GP_ERR, "region: %6.2f - %6.2f, %6.2f - %6.2f\n",
    5050                        graphmode.coords.crval1 - Radius, graphmode.coords.crval1 + Radius,
    5151                        graphmode.coords.crval2 - Radius, graphmode.coords.crval2 + Radius);
     
    6565  for (i = 0; i < Nregions; i++) {
    6666    if (ShowAll || (stat (skylist[0].filename[i], &filestat) != -1)) {
    67       if (VERBOSE) fprintf (stderr, "%3d %s %6.2f - %6.2f, %6.2f - %6.2f\n", i, regions[i][0].name,
     67      if (VERBOSE) gprint (GP_ERR, "%3d %s %6.2f - %6.2f, %6.2f - %6.2f\n", i, regions[i][0].name,
    6868                            regions[i][0].Rmin, regions[i][0].Rmax, regions[i][0].Dmin, regions[i][0].Dmax);
    6969
     
    9393  }
    9494
    95   fprintf (stderr, "plotting %d catalogs\n", Npts/8);
     95  gprint (GP_ERR, "plotting %d catalogs\n", Npts/8);
    9696  Xvec.Nelements = Xvec.Nelements = Npts;
    9797  if (Npts > 0) {
Note: See TracChangeset for help on using the changeset viewer.