Changeset 37918
- Timestamp:
- Feb 20, 2015, 1:30:18 PM (11 years ago)
- Location:
- trunk/ippToPsps/jython
- Files:
-
- 3 edited
-
dvo.py (modified) (3 diffs)
-
dvoforcedobjects.py (modified) (1 diff)
-
forcedobjectbatch.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/dvo.py
r37246 r37918 654 654 useP2 = 0 655 655 useST = 0 656 656 useFW = 0 657 useDF = 0 657 658 for batchType in self.skychunk.batchTypes: 658 659 self.logger.infoPair("batchType", batchType) … … 661 662 if batchType == "P2": 662 663 useP2 = 1 663 664 if batchType == "DF": 665 useDF = 1 666 if batchType == "FW": 667 useFW = 1 668 669 664 670 if (useP2 == 0 and useST == 1): 665 671 # grab only stacks … … 680 686 cmd += " -photcode-start 10000 -photcode-end 10577" 681 687 688 if (useFW == 1): 689 if (self.config.camera == "simtest"): 690 print "need photcodes for non gpc1 camera" 691 else: 692 cmd += " -photcode-start 12000 -photcode-end 12500" 693 if (useFW == 1): 694 if (self.config.camera == "simtest"): 695 print "need photcodes for non gpc1 camera" 696 else: 697 print "need photcode for warp for gpc1 camera, default is no selection, should work, could be slow" 698 699 700 682 701 self.logger.infoPair("Running dvopsps", cmd) 683 702 p = Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE) -
trunk/ippToPsps/jython/dvoforcedobjects.py
r37551 r37918 40 40 # TODO path to DVO prog hardcoded temporarily 41 41 # TODO this needs to be modified for forced objects 42 cmd = "dvopsps objects"42 cmd = "dvopsps forced_warp_objects" 43 43 cmd += " -dbhost " + self.scratchDb.dbHost 44 44 cmd += " -dbname " + self.scratchDb.dbName -
trunk/ippToPsps/jython/forcedobjectbatch.py
r37917 r37918 14 14 from ipptopspsdb import IppToPspsDb 15 15 from scratchdb import ScratchDb 16 from dvoforcedobjects import DvoForcedObjects # need one specific for cpy ?16 from dvoforcedobjects import DvoForcedObjects # need one specific for cpy. 17 17 from sqlUtility import sqlUtility 18 18
Note:
See TracChangeset
for help on using the changeset viewer.
