IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36364


Ignore:
Timestamp:
Dec 10, 2013, 12:53:15 PM (13 years ago)
Author:
mhuber
Message:

misc ppStack issues -- if cfitsio fault then really want status as well as filename; psFree has to be used/uncomment back in in ppStack, actual cause of any possible abort must rather itself be fixed

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackLoop.c

    r35167 r36364  
    8787        pmCellFreeData(options->cells->data[i]);
    8888    }
    89     //    psFree(stack);
     89    //MEH -- uncomment back out
     90    //psFree(stack);
    9091
    9192    // Pixel rejection
     
    181182        return false;
    182183    }
    183     //    psFree(stack);
     184    //MEH uncomment back out..
     185    //psFree(stack);
    184186    psLogMsg("ppStack", PS_LOG_INFO, "Stage 7: Cleanup, WCS & JPEGS: %f sec", psTimerClear("PPSTACK_STEPS"));
    185187    ppStackMemDump("cleanup");
  • trunk/ppStack/src/ppStackMatch.c

    r35868 r36364  
    66#define COVAR_FRAC 0.01                 // Truncation fraction for covariance matrix
    77
    8 // #define TESTING                         // Enable debugging output
     8// #define TESTING                      // Enable debugging output
    99// #define TESTING_REUSE_CONV           // Enable debugging for re-using convolved outputs from previous run
    10 
    1110// #define TESTING_CZW
    1211
     
    156155    if (options->convolve) {
    157156        pmReadout *conv = pmReadoutAlloc(NULL); // Conv readout, for holding results temporarily
     157
     158        // MEH -- earlier defn needed with new simple mode modifications to  use TESTING_REUSE_CONV...
     159        //const char *typeStr = psMetadataLookupStr(NULL, ppsub, "KERNEL.TYPE"); // Kernel type
     160        //pmSubtractionKernelsType type = pmSubtractionKernelsTypeFromString(typeStr); // Kernel type
     161
    158162#ifdef TESTING_REUSE_CONV
    159163        // This is a hack to use the temporary convolved images and kernel generated previously.
  • trunk/psLib/src/fits/psFits.c

    r28208 r36364  
    243243        (&fptr, name, iomode, &status);
    244244        if (fptr == NULL || status != 0) {
    245             psFitsDumpErrors(PS_ERR_IO, _("Could not open file,'%s'"), name);
     245            // MEH -- if cfitsio error and have status, really want to know it as well and should be added where lacking elsewhere
     246            psFitsDumpErrors(PS_ERR_IO, _("Could not open file,'%s %d'"), name,status);
    246247            return NULL;
    247248        }
Note: See TracChangeset for help on using the changeset viewer.