IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35514


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

trying to turn on the sources (problem with PSPHOT.DETECTIONS

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

Legend:

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

    r35513 r35514  
    8686    pswarpFileActivation(config, detectorFiles, true);
    8787
     88    // need to read in these (but only if CMF, right?)
     89    pmFPAfileActivate(config->files, true, "PSWARP.ASTROM");
     90
    8891    // pswarpFileActivation(config, independentFiles, true);
     92
    8993
    9094    pmFPAview *view = pmFPAviewAlloc(0);
  • branches/eam_branches/ipp-20130419/pswarp/src/pswarpParseCamera.c

    r35513 r35514  
    157157    }
    158158
    159 # if (0)
    160     // XXX wait on sources
    161159    if (astrom && psMetadataLookupBool(&mdok, recipe, "SOURCES")) {
    162         pmFPAfile *outSources = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.SOURCES");
     160        // pmFPAfile *outSources = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.SOURCES");
     161        pmFPAfile *outSources = pmFPAfileDefineOutputForFormat(config, output->fpa, "PSWARP.OUTPUT.SOURCES", skycell->cameraName, skycell->formatName);
    163162        if (!outSources) {
    164163            psError(psErrorCodeLast(), false, "Failed to build FPA from PSWARP.OUTPUT.SOURCES");
     
    167166        outSources->save = true;
    168167    }
    169 # endif
    170168
    171169    if (inBackground && psMetadataLookupBool(&mdok, recipe, "BACKGROUND.MODEL")) {
Note: See TracChangeset for help on using the changeset viewer.