Changeset 32455
- Timestamp:
- Sep 29, 2011, 3:16:31 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/fits.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/fits.py
r32207 r32455 31 31 # ok, we have a file, now copy it locally to save on NFS overhead 32 32 self.logger.debugPair("FITS file", self.originalPath) 33 self.localCopyPath = self.localDir + "/temp.fits"34 shutil.copy2(self.originalPath, self.localCopyPath)33 #self.localCopyPath = self.localDir + "/temp.fits" 34 #shutil.copy2(self.originalPath, self.localCopyPath) 35 35 36 36 # open the local copy and parse the ridiculou plain-text header 37 self.file = open(self.localCopyPath) 37 #self.file = open(self.localCopyPath) 38 self.file = open(self.originalPath) 38 39 self.header = self.parseHeader() 39 self.logger.debugPair("FITS local copy", self.localCopyPath)40 #self.logger.debugPair("FITS local copy", self.localCopyPath) 40 41 self.logger.debugPair("FITS primary header", "%d cards found" % len(self.header)) 41 42 … … 53 54 ''' 54 55 def getPath(self): 55 return self.localCopyPath 56 #return self.localCopyPath 57 return self.originalPath 56 58 57 59 '''
Note:
See TracChangeset
for help on using the changeset viewer.
