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

    r25186 r25188  
    1010bool ppMopsWrite(const ppMopsDetections *det, const ppMopsArguments *args)
    1111{
     12    psTrace("ppMops.write", 1, "Writing %ld rows to %s", det->num, args->output);
     13
    1214    psFits *fits = psFitsOpen(args->output, "w"); // FITS file
    1315    if (!fits) {
     
    1517        return false;
    1618    }
     19
    1720
    1821    psMetadata *header = psMetadataAlloc(); // Header to write
     
    110113    psFree(header);
    111114    psFitsClose(fits);
     115
     116    psTrace("ppMops.write", 1, "Done writing %ld rows to %s", det->num, args->output);
     117
    112118    return true;
    113119}
Note: See TracChangeset for help on using the changeset viewer.