IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 4, 2008, 1:52:32 PM (18 years ago)
Author:
eugene
Message:

significant work on the I/O pmFPAfiles, especially to get the format / metaCamera correct for the input psf vs the input image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080511/ppSim/src/ppSimLoop.c

    r17848 r17901  
    5656
    5757    ppSimUpdateConceptsFPA (fpa, config);
     58    if (fpa->hdu) { // XXX only do this if there is no INPUT image
     59        if (!ppSimInitHeader(config, fpa, NULL, NULL)) ESCAPE (PS_ERR_UNKNOWN, "problem setting output header");
     60    }
    5861
    5962    pmChip *chip;                       // Chip from FPA
     
    179182        }
    180183
     184        // XXX why no UpdateConceptsChip??
     185
    181186        if (chip->hdu) {
    182187            // XXX only do this if there is no INPUT image
     
    193198            return false;
    194199        }
    195 
    196200    }
    197201
    198202    psFree(stars);
    199203    psFree(galaxies);
    200 
    201     if (fpa->hdu) {
    202         // XXX only do this if there is no INPUT image
    203         if (!ppSimInitHeader(config, fpa, NULL, NULL)) ESCAPE (PS_ERR_UNKNOWN, "problem setting output header");
    204     }
    205204
    206205    if (!pmFPAfileIOChecks(config, view, PM_FPA_AFTER)) {
Note: See TracChangeset for help on using the changeset viewer.