- Timestamp:
- Nov 8, 2011, 2:44:12 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110906
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippToPsps/jython/fits.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110906
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20110906/ippToPsps/jython/fits.py
r32207 r32630 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.
