Changeset 38956 for trunk/ippToPsps/jython/detectionbatch.py
- Timestamp:
- Oct 23, 2015, 6:06:25 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/detectionbatch.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/detectionbatch.py
r38954 r38956 112 112 # MJD-OBS is the exposure start, EXTIME / 172800 = (EXPTIME sec / 84600 sec/day) / 2 113 113 self.obsTime = float(self.header['MJD-OBS']) + (float(self.header['EXPTIME']) / 172800.0) 114 114 115 ## MEH md5sum options test 116 self.md5sum = None 117 self.md5sum = self.fits.getMd5sum() 118 #self.md5sum = self.fits.getMd5sumShell() 119 #self.md5sum = self.fits.getMd5sumFile() 120 115 121 # set up some defauts 116 122 self.totalNumPhotoRef = 0 … … 137 143 sqlLine = sqlUtility("INSERT INTO FrameMeta (") 138 144 139 # sqlLine.group("md5sum", ' needs a number');140 141 145 sqlLine.group("frameID", str(self.expID)); 142 146 sqlLine.group("frameName", self.expName); … … 148 152 sqlLine.group("telescopeID", "1"); 149 153 sqlLine.group("analysisVer", self.analysisVer); 154 sqlLine.group("md5sum", str(self.md5sum)) 150 155 sqlLine.group("photoScat", self.getKeyFloat(self.header, "%.8f", 'ZPT_ERR')); 151 156 sqlLine.group("expStart", self.getKeyFloat(self.header, "%.10f", 'MJD-OBS'));
Note:
See TracChangeset
for help on using the changeset viewer.
