IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2014, 10:59:37 AM (12 years ago)
Author:
eugene
Message:

adding stack mags to dvopsps detection output; adding option to reset the dvoDetections table; adding makeEquals to sqlUtilities; intelligently(?) select photcode ranges for dvopsps; massive re-work of stackbatch.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140717/ippToPsps/jython/dvo.py

    r37133 r37156  
    680680
    681681        if (useP2 ==0 and useST ==1):
    682             #grab only stacks
    683             cmd += " -photcode-start 11000 -photcode-end 11500"
     682            # grab only stacks
     683            if self.config.gpc1test:
     684                # gpc1test -> SIMTEST.x.SkyChip
     685                cmd += " -photcode-start 14100 -photcode-end 14500"
     686            else:
     687                # not gpc1test -> GPC1.x.SkyShip
     688                cmd += " -photcode-start 11000 -photcode-end 11500"
    684689
    685690        if (useP2 ==1 and useST==0):
    686691            #grab only P2s (4000-4500 are test cameras, SIMTEST and SIMMOSAIC)
    687             # XXX EAM 20140729 : this is a terrible hack...
    688             cmd += " -photcode-start 4000 -photcode-end 10577"
     692            if self.config.gpc1test:
     693                # gpc1test -> SIMTEST.x.Chip
     694                cmd += " -photcode-start  4100 -photcode-end 4500"
     695            else:
     696                # not gpc1test -> GPC1.x.XYnn
     697                cmd += " -photcode-start 10000 -photcode-end 10577"
    689698
    690699        self.logger.infoPair("Running dvopsps", cmd)
Note: See TracChangeset for help on using the changeset viewer.