IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 26, 2013, 9:07:23 AM (13 years ago)
Author:
eugene
Message:

major mods to allow multichip output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130419/pswarp/src/pswarpParseCamera.c

    r35421 r35434  
    128128
    129129    // The output skycell
    130     pmFPAfile *output = pmFPAfileDefineSkycell(config, NULL, "PSWARP.OUTPUT");
     130    // XXX The output needs to be in a more generic format, not just skycell.
     131    // I need to understand how badly things depend on SKYCELL being a special format
     132    // (is it just pswarp, or is it everything downstream as well??)
     133    // XXX for a test, generate a generic output (based on output target astrometry)
     134    // XXX pmFPAfile *output = pmFPAfileDefineSkycell(config, NULL, "PSWARP.OUTPUT");
     135    pmFPAfile *output = pmFPAfileDefineOutputForFormat(config, NULL, "PSWARP.OUTPUT", skycell->cameraName, skycell->formatName);
    131136    if (!output) {
    132137        psError(psErrorCodeLast(), false, "Failed to build FPA from PSWARP.OUTPUT");
     
    135140    output->save = true;
    136141
     142    // XXX for a test, skip these
     143# if (0)
    137144    pmFPAfile *outMask = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.MASK");
    138145    if (!outMask) {
     
    159166        outSources->save = true;
    160167    }
     168# endif
    161169
    162170    if (inBackground && psMetadataLookupBool(&mdok, recipe, "BACKGROUND.MODEL")) {
     
    172180    }
    173181   
    174     if (psMetadataLookupBool(&mdok, recipe, "PSF")) {
     182    /// XXX TEST
     183    if (false && psMetadataLookupBool(&mdok, recipe, "PSF")) {
    175184        // This file, PSPHOT.INPUT, is just used as a carrier; output files (eg, PSPHOT.RESID) are defined by
    176185        // psphotDefineFiles
Note: See TracChangeset for help on using the changeset viewer.