IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 19, 2013, 4:35:54 PM (13 years ago)
Author:
eugene
Message:

use MEMORY engine for dvoDetectionFull; add error handline for dvopsps; check mysql version; remove some test verbosity; check for image existence in dvoImages; skip bad batches but do not exit; fix precision issues; add -realgpc option (part of -test mode); log times in milliseconds

Location:
trunk/ippToPsps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps

  • trunk/ippToPsps/jython/fits.py

    r35097 r35417  
    8787
    8888    2880 is the magic number that the FITS format uses to break up data: extensions always begin on multiples of 2880 bytes
     89
     90    Note that we may not be able to distinguish the case where a header is expected from one where the absence of a header
     91    just tells us that the header is not available.  In some cases, we may not want to emit the error message ("not found")
     92
     93    XXX WOW! this block is reading the entire file to get the header.
     94    major inefficiency...  I thought the FITS interactions all went
     95    through STILTS
    8996    '''
    90     def findAndReadHeader(self, name):
     97    def findAndReadHeader(self, name, VERBOSE):
    9198
    9299        found = False
     
    114121
    115122            self.file.seek(origIndex, 0)
    116             self.logger.errorPair("Could not read header", name)
     123            if VERBOSE: self.logger.errorPair("Could not read header", name)
    117124            return
    118125        else:
Note: See TracChangeset for help on using the changeset viewer.