IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31414


Ignore:
Timestamp:
Apr 29, 2011, 4:42:09 PM (15 years ago)
Author:
bills
Message:

call ppStampUpdateHeader before performing photometric analysis
so that the cmf file contains all of the information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackLoop.c

    r31203 r31414  
    134134    ppStackMemDump("final");
    135135
     136    // Update Header
     137    // Do this before performing photometry so that the cmf header gets all of the information.
     138    if (!ppStackUpdateHeader(stack, options, config)) {
     139        psError(psErrorCodeLast(), false, "Unable to update header.");
     140        psFree(stack);
     141        return false;
     142    }
     143
    136144    // Photometry
    137145    psTrace("ppStack", 1, "Photometering stacked image....\n");
     
    143151    ppStackMemDump("photometry");
    144152
    145     // Update Header
    146     if (!ppStackUpdateHeader(stack, options, config)) {
    147         psError(psErrorCodeLast(), false, "Unable to update header.");
    148         psFree(stack);
    149         return false;
    150     }
    151153    // Create JPEGS
    152154    if (!ppStackJPEGs(stack, options, config)) {
Note: See TracChangeset for help on using the changeset viewer.