- Timestamp:
- Jan 31, 2013, 4:13:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20121219/ippToPsps/jython/dvoobjects.py
r35063 r35076 12 12 from dvo import Dvo 13 13 14 15 14 ''' 16 15 A class for ingesting DVO detections into MySQL … … 21 20 Constructor 22 21 ''' 23 def __init__(self, logger, config, s cratchDbName=None):22 def __init__(self, logger, config, skychunk, scratchDbName=None): 24 23 25 super(DvoObjects, self).__init__(logger, config, s cratchDbName)24 super(DvoObjects, self).__init__(logger, config, skychunk, scratchDbName) 26 25 27 26 # declare DVO file types of interest … … 38 37 for fileType in self.ingestFileTypes: 39 38 40 path = self. config.dvoLocation + "/" + region + "." + fileType39 path = self.skychunk.dvoLocation + "/" + region + "." + fileType 41 40 tableName = self.scratchDb.getDbFriendlyTableName(region + "." + fileType) 42 41 … … 64 63 cmd += " -dbuser " + self.scratchDb.dbUser 65 64 cmd += " -dbpass " + self.scratchDb.dbPass 66 cmd += " -D CATDIR " + self. config.dvoLocation65 cmd += " -D CATDIR " + self.skychunk.dvoLocation 67 66 cmd += " -cpt " + region 68 67 69 if self. config.parallel:68 if self.skychunk.parallel: 70 69 cmd += " -parallel" 71 70
Note:
See TracChangeset
for help on using the changeset viewer.
