IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 1, 2013, 1:27:47 PM (13 years ago)
Author:
eugene
Message:

fix the plotter stuff (HAF); use boxes scaled by cos(DEC); use ranges for ra float comparisons; use installed perl programs (in PATH); do not attempt to re-publish automatically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/metrics.py

    r33787 r35217  
    2525   
    2626        self.czarDb = CzarDb(self.logger, self.config)
    27         self.plot = Plot(self.logger, self.config, self.ippToPspsDb)
     27        self.plot = Plot(self.logger, self.skychunk, self.config, self.ippToPspsDb)
    2828   
    2929    '''
     
    3737            now = datetime.datetime.now()
    3838            self.logger.infoPair("Time now", now.strftime("%Y-%m-%d %H:%M:%S"))
    39             self.logger.infoPair("Config", self.config.name)
    40             self.logger.infoPair("Loading epoch", self.config.epoch)
    41             self.logger.infoPair("DVO label", self.config.dvoLabel)
    42             self.config.printBoxCoords()
     39            self.logger.infoPair("Config", self.skychunk.name)
     40            self.logger.infoPair("Loading epoch", self.skychunk.epoch)
     41            self.logger.infoPair("DVO label", self.skychunk.dvoLabel)
     42            self.skychunk.printBoxCoords()
    4343       
    4444            self.logger.info("+----+------------------+---------------+-------------------+------------------+----------------+")
     
    7777       
    7878            self.checkClientStatus()
    79 
     79            self.logger.infoPair("here","yay")
    8080            # create a density plot of pending stuff for czartool
    8181            self.plot.createDensityPlot("P2", True)
    8282            self.plot.createDensityPlot("ST", True)
    8383            self.plot.createDensityPlot("OB", True)
    84 
     84            self.logger.infoPair("here","yay2")
    8585            # some clean-up before going to sleep
    8686            self.ippToPspsDb.purgeDeadClients()
     
    132132           prevList = success
    133133   
    134            self.czarDb.insertStats(stage, self.config.name, batchType, numPending, numSuccess, numFail)
     134           self.czarDb.insertStats(stage, self.skychunk.name, batchType, numPending, numSuccess, numFail)
    135135   
    136136           if stage == 'processed': numPendingProcessed = numPending
Note: See TracChangeset for help on using the changeset viewer.