IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35513


Ignore:
Timestamp:
May 6, 2013, 6:24:22 AM (13 years ago)
Author:
eugene
Message:

mask and variance work

Location:
branches/eam_branches/ipp-20130419/pswarp/src
Files:
2 edited

Legend:

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

    r35512 r35513  
    8989
    9090    pmFPAview *view = pmFPAviewAlloc(0);
    91 
    92     // XXX : need to generate a list of input cells for each output cell
    93     // XXX : psList *cells = psListAlloc(NULL);  // List of cells, for concepts averaging
    9491
    9592    // files associated with the science image
  • branches/eam_branches/ipp-20130419/pswarp/src/pswarpParseCamera.c

    r35449 r35513  
    6767    }
    6868
    69     // XXX I should allow the astrometry input to be either WCS or CMF
    70     // Define the input astrometry file(s)
     69    // Define the input astrometry file(s) (may be either WCS or CMF)
    7170    bool status = false;
    7271    pmFPAfile *astrom = pmFPAfileDefineFromArgs(&status, config, "PSWARP.ASTROM", "ASTROM");
     
    140139    output->save = true;
    141140
    142     // XXX for a test, skip these
    143 # if (0)
    144     pmFPAfile *outMask = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.MASK");
     141    // pmFPAfile *outMask = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.MASK");
     142    pmFPAfile *outMask = pmFPAfileDefineOutputForFormat(config, output->fpa, "PSWARP.OUTPUT.MASK", skycell->cameraName, skycell->formatName);
    145143    if (!outMask) {
    146144        psError(psErrorCodeLast(), false, "Failed to build FPA from PSWARP.OUTPUT.MASK");
     
    150148
    151149    if (inVariance) {
    152         pmFPAfile *outVariance = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.VARIANCE");
     150        // pmFPAfile *outVariance = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.VARIANCE");
     151        pmFPAfile *outVariance = pmFPAfileDefineOutputForFormat(config, output->fpa, "PSWARP.OUTPUT.VARIANCE", skycell->cameraName, skycell->formatName);
    153152        if (!outVariance) {
    154153            psError(psErrorCodeLast(), false, "Failed to build FPA from PSWARP.OUTPUT.VARIANCE");
     
    158157    }
    159158
     159# if (0)
     160    // XXX wait on sources
    160161    if (astrom && psMetadataLookupBool(&mdok, recipe, "SOURCES")) {
    161162        pmFPAfile *outSources = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.SOURCES");
     
    180181    }
    181182   
    182     /// XXX TEST
     183    /// XXX re-enable after sources work
    183184    if (false && psMetadataLookupBool(&mdok, recipe, "PSF")) {
    184185        // This file, PSPHOT.INPUT, is just used as a carrier; output files (eg, PSPHOT.RESID) are defined by
Note: See TracChangeset for help on using the changeset viewer.