IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 10, 2010, 7:38:09 PM (16 years ago)
Author:
eugene
Message:

updates from eam_branches/20091201 (main change was PATTERN to PATTERN.ROW, added PATTERN.CELL)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageParseCamera.c

    r24492 r26895  
    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        }
     90        outPattern->save = true;
    8191    }
    8292
     
    255265        pmFPAfile *psphotInput = pmFPAfileDefineFromFile (config, chipImage, 1, 1, "PSPHOT.INPUT");
    256266        PS_ASSERT (psphotInput, false);
     267
     268        // specify the number of psphot input images
     269        psMetadataAddS32 (config->arguments, PS_LIST_TAIL, "PSPHOT.INPUT.NUM", PS_META_REPLACE, "number of inputs", 1);
    257270
    258271        // define associated psphot input/output files
Note: See TracChangeset for help on using the changeset viewer.