IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 3, 2007, 10:57:13 AM (19 years ago)
Author:
Paul Price
Message:

Renaming psFits.compConvention to psFits.conventions.compression --- there will be more than one convention (will soon add the 16-bit floats), so it makes sense to bundle them together.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_branch_070920/psLib/src/fits/psFitsHeader.c

    r15174 r15177  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.34.4.6 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2007-10-03 20:16:49 $
     9 *  @version $Revision: 1.34.4.7 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2007-10-03 20:57:13 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    7272    PS_ASSERT_FITS_NON_NULL(fits, false);
    7373
    74     if (!fits->compConvention) {
     74    if (!fits->conventions.compression) {
    7575        // User has turned off compression conventions; doesn't want any nasty surprises
    7676        return false;
     
    250250            } else if (strcasecmp(keyValueFixed, "-INF") == 0) {
    251251                success = psMetadataAddF32(header, PS_LIST_TAIL, keyName, dupFlag, keyComment, -INFINITY);
    252             } else if (!fits->compConvention ||
     252            } else if (!fits->conventions.compression ||
    253253                       (strcmp(keyName, "EXTNAME") != 0 || strcmp(keyValueFixed, "COMPRESSED_IMAGE") != 0)) {
    254254                // Ignore EXTNAME=COMPRESSED_IMAGE if compression convention is to be respected
Note: See TracChangeset for help on using the changeset viewer.