Index: trunk/psLib/src/fits/psFits.c
===================================================================
--- trunk/psLib/src/fits/psFits.c	(revision 15615)
+++ trunk/psLib/src/fits/psFits.c	(revision 15625)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.73 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-10-19 23:52:39 $
+ *  @version $Revision: 1.74 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-11-16 00:14:49 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -18,8 +18,8 @@
 
 #include <unistd.h>
+#include <string.h>
 
 #include "psFits.h"
 #include "psFitsHeader.h"
-#include "string.h"
 #include "psError.h"
 #include "psAssert.h"
@@ -31,4 +31,5 @@
 #include "psVector.h"
 #include "psAbort.h"
+#include "psFitsFloat.h"
 
 #define MAX_STRING_LENGTH 256  // maximum length string for FITS routines
@@ -164,6 +165,6 @@
     fits->conventions.compression = true;
     fits->conventions.psBitpix = true;
-    fits->bscale = 0.0;
-    fits->bzero = 0.0;
+    fits->bitpix = 0;
+    fits->floatType = PS_FITS_FLOAT_NONE;
     psMemSetDeallocator(fits,(psFreeFunc)fitsFree);
 
@@ -860,4 +861,5 @@
     }
 
+    if (strcmp(string, "NONE") == 0) return PS_FITS_COMPRESS_NONE;
     if (strcmp(string, "GZIP") == 0) return PS_FITS_COMPRESS_GZIP;
     if (strcmp(string, "RICE") == 0) return PS_FITS_COMPRESS_RICE;
