IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 25, 2014, 3:40:27 PM (12 years ago)
Author:
heather
Message:

first set of changes for new pv2 schema

File:
1 edited

Legend:

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

    r35417 r36697  
    182182                            # XXXX EAM : in parallel model, this should happen for all P2 & Stack batches
    183183                            #
    184                             if (batchType == 'P2' or batchType == 'ST') and smfsPerGB > 30:
     184                            if (batchType == 'P2' or batchType == 'ST' or batchType == 'DF' or batchType == 'FW') and smfsPerGB > 30:
    185185                                if not self.dvoDetections.sync():
    186186                                    self.logger.errorPair("Could not sync DVO with MySQL", "skipping")
     
    285285                            useFullTables)
    286286   
     287                elif batchType == "DF":
     288                    batch = DiffBatch(self.logger,
     289                            self.config,
     290                            self.skychunk,
     291                            self.gpc1Db,
     292                            self.ippToPspsDb,
     293                            self.scratchDb,
     294                            id,
     295                            batchID,
     296                            useFullTables)
     297   
     298                elif batchType == "DO":
     299                    batch = DiffObjectBatch(self.logger,
     300                            self.config,
     301                            self.skychunk,
     302                            self.gpc1Db,
     303                            self.ippToPspsDb,
     304                            self.scratchDb,
     305                            id,
     306                            batchID,
     307                            useFullTables)
     308   
     309                elif batchType == "FW":
     310                    batch = ForcedWarpBatch(self.logger,
     311                            self.config,
     312                            self.skychunk,
     313                            self.gpc1Db,
     314                            self.ippToPspsDb,
     315                            self.scratchDb,
     316                            id,
     317                            batchID,
     318                            useFullTables)
     319   
     320                elif batchType == "FO":
     321                    batch = ForcedObjectBatch(self.logger,
     322                            self.config,
     323                            self.skychunk,
     324                            self.gpc1Db,
     325                            self.ippToPspsDb,
     326                            self.scratchDb,
     327                            id,
     328                            batchID,
     329                            useFullTables)
     330   
    287331                batch.run()
    288332   
Note: See TracChangeset for help on using the changeset viewer.