IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2014, 2:34:33 PM (12 years ago)
Author:
eugene
Message:

add method getKeyFloat to generate a safe header float for sql; add some options to handle test data cases; StackModelFit* now basically works

File:
1 edited

Legend:

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

    r37156 r37160  
    679679                useP2 = 1
    680680
    681         if (useP2 ==0 and useST ==1):
     681        if (useP2 == 0 and useST == 1):
    682682            # grab only stacks
    683             if self.config.gpc1test:
    684                 # gpc1test -> SIMTEST.x.SkyChip
     683            if (self.config.camera == "simtest"):
     684                # SIMTEST.x.SkyChip
    685685                cmd += " -photcode-start 14100 -photcode-end 14500"
    686686            else:
     
    688688                cmd += " -photcode-start 11000 -photcode-end 11500"
    689689
    690         if (useP2 ==1 and useST==0):
    691             #grab only P2s (4000-4500 are test cameras, SIMTEST and SIMMOSAIC)
    692             if self.config.gpc1test:
    693                 # gpc1test -> SIMTEST.x.Chip
     690        if (useP2 == 1 and useST == 0):
     691            # grab only P2s (4000-4500 are test cameras, SIMTEST and SIMMOSAIC)
     692            if (self.config.camera == "simtest"):
     693                # SIMTEST.x.Chip
    694694                cmd += " -photcode-start  4100 -photcode-end 4500"
    695695            else:
Note: See TracChangeset for help on using the changeset viewer.