Index: trunk/ippToPsps/jython/fits.py
===================================================================
--- trunk/ippToPsps/jython/fits.py	(revision 35097)
+++ trunk/ippToPsps/jython/fits.py	(revision 35417)
@@ -87,6 +87,13 @@
 
     2880 is the magic number that the FITS format uses to break up data: extensions always begin on multiples of 2880 bytes
+
+    Note that we may not be able to distinguish the case where a header is expected from one where the absence of a header
+    just tells us that the header is not available.  In some cases, we may not want to emit the error message ("not found")
+
+    XXX WOW! this block is reading the entire file to get the header.
+    major inefficiency...  I thought the FITS interactions all went
+    through STILTS
     '''
-    def findAndReadHeader(self, name):
+    def findAndReadHeader(self, name, VERBOSE):
 
         found = False
@@ -114,5 +121,5 @@
 
             self.file.seek(origIndex, 0)
-            self.logger.errorPair("Could not read header", name)
+            if VERBOSE: self.logger.errorPair("Could not read header", name)
             return
         else: 
