Changeset 19872 for trunk/psLib/src/fits/psFitsHeader.c
- Timestamp:
- Oct 2, 2008, 3:43:43 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFitsHeader.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFitsHeader.c
r18869 r19872 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.4 7$ $Name: not supported by cvs2svn $10 * @date $Date: 2008- 08-02 02:50:41$9 * @version $Revision: 1.48 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2008-10-03 01:43:43 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 80 80 { "ZEXTEND", "EXTEND" }, 81 81 { "ZBLOCKED", "BLOCKED"}, 82 // { "ZPCOUNT", "PCOUNT" },83 // { "ZGCOUNT", "GCOUNT" },84 82 { "ZHECKSUM", "CHECKSUM"}, 85 83 { "ZDATASUM", "DATASUM" }, … … 522 520 } 523 521 } 524 if ((!fits->options || fits->options->conventions.compression) && compress != PS_FITS_COMPRESS_NONE) { 522 523 bool compressing = ((!fits->options || fits->options->conventions.compression) && 524 compress != PS_FITS_COMPRESS_NONE) ? true : false; // Are we compressing? 525 526 if (compressing) { 525 527 psMetadataItem *simpleItem = psMetadataLookup(output, "SIMPLE"); // SIMPLE in the header 526 528 if (simpleItem) { … … 556 558 557 559 // Options for compression 558 if ( !fits->options || fits->options->conventions.compression) {560 if (compressing) { 559 561 // Check to see if the keyword should be translated 560 562 name = (char*)keywordUntranslate(name, compressTranslation); // Casting away const for cfitsio
Note:
See TracChangeset
for help on using the changeset viewer.
