Changeset 15625
- Timestamp:
- Nov 15, 2007, 2:14:49 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFits.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFits.c
r15335 r15625 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.7 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2007-1 0-19 23:52:39 $9 * @version $Revision: 1.74 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2007-11-16 00:14:49 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 18 18 19 19 #include <unistd.h> 20 #include <string.h> 20 21 21 22 #include "psFits.h" 22 23 #include "psFitsHeader.h" 23 #include "string.h"24 24 #include "psError.h" 25 25 #include "psAssert.h" … … 31 31 #include "psVector.h" 32 32 #include "psAbort.h" 33 #include "psFitsFloat.h" 33 34 34 35 #define MAX_STRING_LENGTH 256 // maximum length string for FITS routines … … 164 165 fits->conventions.compression = true; 165 166 fits->conventions.psBitpix = true; 166 fits->b scale = 0.0;167 fits-> bzero = 0.0;167 fits->bitpix = 0; 168 fits->floatType = PS_FITS_FLOAT_NONE; 168 169 psMemSetDeallocator(fits,(psFreeFunc)fitsFree); 169 170 … … 860 861 } 861 862 863 if (strcmp(string, "NONE") == 0) return PS_FITS_COMPRESS_NONE; 862 864 if (strcmp(string, "GZIP") == 0) return PS_FITS_COMPRESS_GZIP; 863 865 if (strcmp(string, "RICE") == 0) return PS_FITS_COMPRESS_RICE;
Note:
See TracChangeset
for help on using the changeset viewer.
