IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6590


Ignore:
Timestamp:
Mar 14, 2006, 5:36:21 PM (20 years ago)
Author:
Paul Price
Message:

Adding trace statements to read.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/astrom/pmHDU.c

    r6575 r6590  
    5252
    5353    // Move to the appropriate extension
     54    psTrace(__func__, 5, "Moving to extension %s...\n", hdu->extname);
    5455    if (strcasecmp(hdu->extname, "PHU") == 0) {
    5556        if (! psFitsMoveExtNum(fits, 0, false)) {
     
    7273    // Read the header
    7374    if (! hdu->header) {
     75        psTrace(__func__, 5, "Reading the header...\n");
    7476        hdu->header = psFitsReadHeader(NULL, fits);
    7577    }
     
    8082        #endif
    8183        if (hdu->images) {
     84            psLogMsg(__func__, PS_LOG_WARN, "HDU %s has already been read --- overwriting.\n", hdu->extname);
    8285            psFree(hdu->images);        // Blow away anything existing
    8386        }
     87        psTrace(__func__, 5, "Reading the pixels...\n");
    8488        hdu->images = psFitsReadImageCube(fits, psRegionSet(0,0,0,0));
    8589        return true;
Note: See TracChangeset for help on using the changeset viewer.