IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34200


Ignore:
Timestamp:
Jul 24, 2012, 3:37:16 PM (14 years ago)
Author:
bills
Message:

change printfs about large footprints to psLogMsg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotCullPeaks.c

    r31154 r34200  
    7373
    7474        if (fp->npix > 30000) {
    75             fprintf (stderr, "big footprint: %f %f to %f %f (%d pix)\n", fp->bbox.x0, fp->bbox.y0, fp->bbox.x1, fp->bbox.y1, fp->npix);
     75            psLogMsg("psphot.cull.footprints", PS_LOG_WARN, "big footprint: %f %f to %f %f (%d pix)\n", fp->bbox.x0, fp->bbox.y0, fp->bbox.x1, fp->bbox.y1, fp->npix);
    7676        }
    7777        psTimerStart ("psphot.cull.footprints");
     
    9797# endif
    9898
     99
    99100        float dtime = psTimerMark ("psphot.cull.footprints");
    100101        if (dtime > 1.0) {
    101             fprintf (stderr, "slow cull for %d (%f sec)\n", i, dtime);
     102            psLogMsg("psphot.cull.footprints", PS_LOG_WARN, "slow cull for %d (%f sec)\n", i, dtime);
    102103        }
    103104    }
Note: See TracChangeset for help on using the changeset viewer.