IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37461


Ignore:
Timestamp:
Oct 4, 2014, 4:33:31 PM (12 years ago)
Author:
heather
Message:

some tweaks to make it check all necessary labels

Location:
trunk/tools/heather
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/heather/queuesliceslap2.pl

    r37311 r37461  
    44
    55
    6 #$label = "LAP.ThreePi.20130717";
    7 $label = "LAP.ThreePi.20130717.pole3";
    8 #$label = "LAP.ThreePi.20130717.pole3.CNP";
    9 
     6$label1 = "LAP.ThreePi.20130717";
     7$label2 = "LAP.ThreePi.20130717.pole3";
     8$label3 = "LAP.ThreePi.20130717.pole3.CNP";
     9#heather done bad things to segments and slices...
     10@labels = ($label1, $label2, $label3);
    1011@segments = (0,1,2,3,4,5,6,7,8);
     12#@segments=(0,1);
    1113@segments1 = ( -35, -22,-10,2,14,26,38,50,62);
    1214@segments2 = ( -22,-10,2,14,26,38,50,62,75);
     
    1416
    1517@slices = ("00","02","04","06","08","10","12","14","16","18","20","22");
    16  
     18@slices = ("00","02","04");
     19
     20foreach $label (@labels) {
     21
    1722foreach $slice (@slices) {
    1823   
     
    2126    foreach $num (@segments) {
    2227
    23         $dvodb = "LAP.PV2.20130717";
    24         $minidvodb_group = "LAP.PV2.slice$slice.$segments[$num].cam";
     28        $dvodb = "LAP.PV2.V2.20130717";
     29        $minidvodb_group = "LAP.PV2.V2.slice$slice.$segments[$num].cam";
    2530        $dvodb_label = "$minidvodb_group";
    2631        $ra_min = $slice*15.0;
     
    3742
    3843}
    39 $com2 = "addtool -definebyquery  -label $label -set_dvodb $dvodb -set_minidvodb_group LAP.PV2.pole.cam -set_minidvodb -set_label LAP.PV2.pole.cam -stage cam -uncensored -ra_min 0 -ra_max 360 -decl_min 75 -decl_max 90 -dbname gpc1";
     44$com2 = "addtool -definebyquery  -label $label -set_dvodb $dvodb -set_minidvodb_group LAP.PV2.V2.pole.cam -set_minidvodb -set_label LAP.PV2.V2.pole.cam -stage cam -uncensored -ra_min 0 -ra_max 360 -decl_min 75 -decl_max 90 -dbname gpc1";
    4045print "$com2\n";
    4146`$com2`;
     47}
  • trunk/tools/heather/queuesliceslap2skycal.pl

    r37311 r37461  
    44
    55
    6 #$label = "LAP.ThreePi.20130717";
    7 #$label = "LAP.ThreePi.20130717.pole3";
    8 $label = "LAP.ThreePi.20130717.pole3.CNP";
    9 
     6$label1 = "LAP.ThreePi.20130717";
     7$label2 = "LAP.ThreePi.20130717.pole3";
     8$label3 = "LAP.ThreePi.20130717.pole3.CNP";
     9@labels = ($label1,$label2,$label3);
    1010@segments = (0,1,2,3,4,5,6,7,8);
    1111@segments1 = ( -35, -22,-10,2,14,26,38,50,62);
     
    1414
    1515@slices = ("00","02","04","06","08","10","12","14","16","18","20","22");
    16 
     16foreach $label (@labels) {
    1717foreach $slice (@slices) {
    1818   
     
    2121    foreach $num (@segments) {
    2222
    23         $dvodb = "LAP.PV2.20130717";
    24         $minidvodb_group = "LAP.PV2.slice$slice.$segments[$num].skycal";
     23        $dvodb = "LAP.PV2.V2.20130717";
     24        $minidvodb_group = "LAP.PV2.V2.slice$slice.$segments[$num].skycal";
    2525        $dvodb_label = "$minidvodb_group";
    2626        $ra_min = $slice*15.0;
     
    3636    }
    3737
     38
    3839}
    39 $com2 = "addtool -definebyquery  -label $label -set_dvodb $dvodb -set_minidvodb_group LAP.PV2.pole.skycal -set_minidvodb -set_label LAP.PV2.pole.skycal -stage skycal -uncensored -ra_min 0 -ra_max 360 -dec_min 75 -dec_max 90 -dbname gpc1";
     40$com2 = "addtool -definebyquery  -label $label -set_dvodb $dvodb -set_minidvodb_group LAP.PV2.V2.pole.skycal -set_minidvodb -set_label LAP.PV2.V2.pole.skycal -stage skycal -uncensored -ra_min 0 -ra_max 360 -dec_min 75 -dec_max 90 -dbname gpc1";
    4041print "$com2\n";
    4142`$com2`;
     43}
Note: See TracChangeset for help on using the changeset viewer.