Changeset 18869 for trunk/psLib/src/fits/psFitsHeader.c
- Timestamp:
- Aug 1, 2008, 4:50:41 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
r18421 r18869 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.4 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2008-0 7-04 03:18:06$9 * @version $Revision: 1.47 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2008-08-02 02:50:41 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 47 47 // List of FITS header keys not to write (handled by cfitsio); NULL-terminated 48 48 static const char *noWriteFitsKeys[] = { "SIMPLE", "XTENSION", "BITPIX", "NAXIS", "EXTNAME", "BSCALE", 49 "BZERO", "TFIELDS", "PCOUNT", "GCOUNT", "PSBITPIX", NULL };49 "BZERO", "TFIELDS", "PCOUNT", "GCOUNT", "PSBITPIX", "BLANK", NULL }; 50 50 51 51 // List of the start of FITS header keys not to write (handled by cfitsio); NULL-terminated … … 53 53 54 54 // List of compressed FITS header keys not to write (handled by cfitsio); NULL-terminated 55 static const char *noWriteCompressedKeys[] = { "ZBITPIX", "ZIMAGE", "ZBITPIX", "ZCMPTYPE", NULL }; 55 static const char *noWriteCompressedKeys[] = { "ZBITPIX", "ZIMAGE", "ZBITPIX", "ZCMPTYPE", "ZSIMPLE", 56 "ZEXTEND", "ZBLANK", NULL }; 56 57 57 58 // List of the start of FITS header keys not to write (handled by cfitsio); NULL-terminated … … 555 556 556 557 // Options for compression 557 if (compress != PS_FITS_COMPRESS_NONE && 558 (!fits->options || fits->options->conventions.compression)) { 558 if (!fits->options || fits->options->conventions.compression) { 559 559 // Check to see if the keyword should be translated 560 560 name = (char*)keywordUntranslate(name, compressTranslation); // Casting away const for cfitsio
Note:
See TracChangeset
for help on using the changeset viewer.
