IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 20, 2015, 1:30:18 PM (11 years ago)
Author:
heather
Message:

forcedwarptest

File:
1 edited

Legend:

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

    r37246 r37918  
    654654        useP2 = 0   
    655655        useST = 0
    656        
     656        useFW = 0
     657        useDF = 0
    657658        for batchType in self.skychunk.batchTypes:
    658659            self.logger.infoPair("batchType", batchType)
     
    661662            if batchType == "P2":
    662663                useP2 = 1
    663 
     664            if batchType == "DF":
     665                useDF = 1
     666            if batchType == "FW":
     667                useFW = 1
     668               
     669               
    664670        if (useP2 == 0 and useST == 1):
    665671            # grab only stacks
     
    680686                cmd += " -photcode-start 10000 -photcode-end 10577"
    681687
     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               
    682701        self.logger.infoPair("Running dvopsps", cmd)
    683702        p = Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE)
Note: See TracChangeset for help on using the changeset viewer.