IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 19, 2007, 12:22:18 PM (18 years ago)
Author:
Paul Price
Message:

ppMerge wasn't calling pmFPAUpdateNames, so output headers didn't have required keywords.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeMask.c

    r15611 r15651  
    8585
    8686    pmFPAview *view = pmFPAviewAlloc(0);// View of FPA, for iteration
     87    if (fpaOut->hdu) {
     88        pmFPAUpdateNames(fpaOut, NULL, NULL);
     89    }
    8790    pmFPAWriteMask(fpaOut, data->outFile, config->database, true, false); // Write header only
    8891    pmChip *chipOut;                    // Output chip of interest
    8992    while ((chipOut = pmFPAviewNextChip(view, fpaOut, 1))) {
     93        if (chipOut->hdu) {
     94            pmFPAUpdateNames(fpaOut, chipOut, NULL);
     95        }
    9096        pmChipWriteMask(chipOut, data->outFile, config->database, true, false); // Write header only
    9197        pmCell *cellOut;                   // Output cell of interest
    9298        while ((cellOut = pmFPAviewNextCell(view, fpaOut, 1))) {
     99            if (cellOut->hdu) {
     100                pmFPAUpdateNames(fpaOut, chipOut, cellOut);
     101            }
    93102            pmCellWriteMask(cellOut, data->outFile, config->database, true); // Write header only
    94103
Note: See TracChangeset for help on using the changeset viewer.