IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 25, 2009, 2:00:54 PM (17 years ago)
Author:
Paul Price
Message:

Add trace statements for debugging support. Wasn't added sources without matches to the merged list. Seems to work now. Only current concern is the performance of the PS_TREE_SPHERICAL mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_mops/ppMops/src/ppMopsRead.c

    r25187 r25188  
    1010psArray *ppMopsRead(const ppMopsArguments *args)
    1111{
     12    psTrace("ppMops.read", 1, "Reading input detections\n");
     13
    1214    psArray *inNames = args->input;          // Input names
    1315    long num = inNames->n;                   // Number of inputs
     
    4648        }
    4749        ppMopsDetections *det = ppMopsDetectionsAlloc(size);
     50
     51        psTrace("ppMops.read", 3, "Reading %ld rows from %s\n", size, (const char*)inNames->data[i]);
    4852
    4953        det->raBoresight = psMemIncrRefCounter(psMetadataLookupStr(NULL, header, "FPA.RA"));
     
    151155        }
    152156
     157        psTrace("ppMops.read", 2, "Read %ld good rows from %s\n", numGood, (const char*)inNames->data[i]);
     158
    153159        psFree(table);
    154160        detections->data[i] = det;
    155161    }
    156162
     163    psTrace("ppMops.read", 1, "Done reading input detections\n");
    157164
    158165    return detections;
Note: See TracChangeset for help on using the changeset viewer.