IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 23, 2007, 5:11:19 PM (19 years ago)
Author:
Paul Price
Message:

Enabling different formats for output pmFPAfiles. To do this, needed to overhaul the writing functions to generate a new FPA using the new format, and write that. To get the blank PHU, needed to do similarly for the open function (!), since it writes blanks immediately after opening the file. Tested with inputting 6 megacam split chips and writing to spliced format --- works successfully.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAMosaic.c

    r10966 r11255  
    12001200        return false;
    12011201    }
    1202     targetHDU->header = psMetadataCopy(targetHDU->header, sourceHDU->header);
     1202
     1203    if (sourceHDU->header) {
     1204        targetHDU->header = psMetadataCopy(targetHDU->header, sourceHDU->header);
     1205    } else if (!targetHDU->header) {
     1206        targetHDU->header = psMetadataAlloc();
     1207    }
    12031208
    12041209    if (!pmConfigConformHeader(targetHDU->header, targetHDU->format)) {
Note: See TracChangeset for help on using the changeset viewer.