Changeset 36447 for trunk/ippToPsps/jython/dvo.py
- Timestamp:
- Jan 15, 2014, 4:38:27 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/dvo.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/dvo.py
r36201 r36447 65 65 if not self.correctDvo: 66 66 print "*******************************************************************************" 67 self.logger.warning("switching to a new dvo: " + self.skychunk.dvoLocation)67 self.logger.warning("switching to a new dvo: '" + self.skychunk.dvoLocation + "'") 68 68 # response = raw_input("(y/n) ") 69 69 # if response == "y": … … 669 669 cmd += " -time-start " + time_start 670 670 cmd += " -time-end " + time_end 671 671 672 useP2 = 0 673 useST = 0 674 675 for batchType in self.skychunk.batchTypes: 676 self.logger.infoPair("batchType", batchType) 677 if batchType == "ST": 678 useST = 1 679 if batchType == "P2": 680 useP2 = 1 681 682 if (useP2 ==0 and useST ==1): 683 #grab only stacks 684 cmd += " -photcode-start 11000 -photcode-end 11500" 685 686 if (useP2 ==1 and useST==0): 687 #grabd only P2s 688 cmd += " -photcode-start 10000 -photcode-end 10577" 689 690 672 691 self.logger.infoPair("Running dvopsps", cmd) 673 692 p = Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE)
Note:
See TracChangeset
for help on using the changeset viewer.
