IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 18, 2006, 5:24:09 PM (20 years ago)
Author:
Paul Price
Message:

Adding pmReadoutWriteNext, which is to be used in concert with pmReadoutReadNext. Updated pmFPAWrite, pmChipWrite, pmCellWrite to optionally not write the pixels (i.e., PHU only), so that an output file should always have a PHU. This necessitated some small changes to the way the 'concepts' are written, in the case that they don't exist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmConceptsWrite.c

    r6888 r6896  
    129129                             )
    130130{
     131    if (!hdu->header) {
     132        return false;
     133    }
    131134    switch (item->type) {
    132135    case PS_DATA_STRING:
     
    166169    if (item->type == PS_DATA_LIST) {
    167170        psList *values = item->data.V;  // List of outputs
     171        if (values->n == 0) {
     172            // Nothing to write
     173            return false;
     174        }
    168175        psList *keys = psStringSplit(keywords, " ,;"); // List of keywords
    169176        if (keys->n != values->n) {
Note: See TracChangeset for help on using the changeset viewer.