IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 10, 2012, 3:44:12 PM (14 years ago)
Author:
bills
Message:

If one of the inputs to psphotStack fails the deconvolution limit cut don't
fault the run, instead proceed with the analysis but mark that input to
be skipped in the Radial Aperture section. This was a bit more complicated
than expected

File:
1 edited

Legend:

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

    r33980 r34136  
    5555    pmReadout *readout = pmFPAviewThisReadout(view, file->fpa);
    5656    psAssert (readout, "missing readout?");
     57
     58    if (psMetadataLookupBool (&status, readout->analysis, "PSPHOT.SKIP.INPUT")) {
     59        psLogMsg ("psphot", PS_LOG_DETAIL, "skipping replace all sources for input file %d", index);
     60        return true;
     61    }
    5762
    5863    pmDetections *detections = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.DETECTIONS");
     
    304309    psAssert (readout, "missing readout?");
    305310
     311    if (psMetadataLookupBool (&status, readout->analysis, "PSPHOT.SKIP.INPUT")) {
     312        psLogMsg ("psphot", PS_LOG_DETAIL, "skipping reset models for input file %d", index);
     313        return true;
     314    }
     315
     316
    306317    // XXX the sources have already been copied (merge into here?)
    307318    pmDetections *detections = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.DETECTIONS");
Note: See TracChangeset for help on using the changeset viewer.