IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26839


Ignore:
Timestamp:
Feb 9, 2010, 8:35:10 PM (16 years ago)
Author:
Paul Price
Message:

Add output pattern file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/ppImage/src/ppImageParseCamera.c

    r26543 r26839  
    7979        int nScanRows = psMetadataLookupS32(&status, recipe, "SCAN.ROWS");
    8080        pmDetrendSetThreadTasks(nScanRows);
     81    }
     82
     83    if (options->doPatternRow || options->doPatternCell) {
     84        pmFPAfile *outPattern = pmFPAfileDefineOutput(config, input->fpa, "PPIMAGE.PATTERN");
     85        if (!outPattern) {
     86            psError(PS_ERR_IO, false, _("Unable to generate output file from PPIMAGE.PATTERN"));
     87            psFree(options);
     88            return NULL;
     89        }
    8190    }
    8291
     
    256265        PS_ASSERT (psphotInput, false);
    257266
    258         // specify the number of psphot input images
    259         psMetadataAddS32 (config->arguments, PS_LIST_TAIL, "PSPHOT.INPUT.NUM", PS_META_REPLACE, "number of inputs", 1);
    260        
     267        // specify the number of psphot input images
     268        psMetadataAddS32 (config->arguments, PS_LIST_TAIL, "PSPHOT.INPUT.NUM", PS_META_REPLACE, "number of inputs", 1);
     269
    261270        // define associated psphot input/output files
    262271        if (!psphotDefineFiles (config, psphotInput)) {
Note: See TracChangeset for help on using the changeset viewer.