IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30014


Ignore:
Timestamp:
Dec 9, 2010, 7:19:21 PM (15 years ago)
Author:
watersc1
Message:

First pass updates to nightly_science.pl. Add options to regtool to specifically allow for searching for end of night detrend data.

Location:
branches/czw_branch/20101203
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20101203/ippTasks/nightly_stacks.pro

    r29656 r30014  
    77    ns.detrends.off
    88    ns.dqstats.on
    9     ns.sweetspot.on
    10     ns.registration.on
    11     ns.burntool.on
    12     ns.chips.on
     9#    ns.sweetspot.on
     10#    ns.registration.on
     11#    ns.burntool.on
     12#    ns.chips.on
    1313    ns.stacks.on
     14    ns.diffs.on
    1415end
    1516
     
    1819    ns.detrends.off
    1920    ns.dqstats.off
    20     ns.sweetspot.off
    21     ns.registration.off
    22     ns.burntool.off
    23     ns.chips.off
     21#    ns.sweetspot.off
     22#    ns.registration.off
     23#    ns.burntool.off
     24#    ns.chips.off
    2425    ns.stacks.off
     26    ns.diffs.off
    2527end
    2628
     
    5153end
    5254
    53 macro ns.sweetspot.on
    54   task ns.sweetspot.load
    55     active true
    56   end
    57 end
    58 
    59 macro ns.registration.on
    60   task ns.registration.load
    61     active true
    62   end
    63 end
    64 
    65 macro ns.burntool.on
    66   task ns.burntool.load
    67     active true
    68   end
    69   task ns.burntool.run
    70     active true
    71   end
    72 end
    73 
    74 macro ns.chips.on
    75   task ns.chips.load
    76     active true
    77   end
    78   task ns.chips.run
    79     active true
    80   end
    81 end
     55# macro ns.sweetspot.on
     56#   task ns.sweetspot.load
     57#     active true
     58#   end
     59# end
     60
     61# macro ns.registration.on
     62#   task ns.registration.load
     63#     active true
     64#   end
     65# end
     66
     67# macro ns.burntool.on
     68#   task ns.burntool.load
     69#     active true
     70#   end
     71#   task ns.burntool.run
     72#     active true
     73#   end
     74# end
     75
     76# macro ns.chips.on
     77#   task ns.chips.load
     78#     active true
     79#   end
     80#   task ns.chips.run
     81#     active true
     82#   end
     83# end
    8284
    8385macro ns.stacks.on
     
    9395end
    9496
     97macro ns.diffs.on
     98  task ns.diffs.load
     99    active false
     100  end
     101  task ns.diffs.run
     102    active true
     103  end
     104end
     105
    95106macro ns.initday.off
    96107  task ns.initday.load
     
    111122end
    112123
    113 macro ns.sweetspot.off
    114   task ns.sweetspot.load
    115     active false
    116   end
    117 end
    118 
    119 macro ns.registration.off
    120   task ns.registration.load
    121     active false
    122   end
    123 end
    124 
    125 macro ns.burntool.off
    126   task ns.burntool.load
    127     active false
    128   end
    129   task ns.burntool.run
    130     active false
    131   end
    132 end
    133 
    134 macro ns.chips.off
    135   task ns.chips.load
    136     active false
    137   end
    138   task ns.chips.run
    139     active false
    140   end
    141 end
     124# macro ns.sweetspot.off
     125#   task ns.sweetspot.load
     126#     active false
     127#   end
     128# end
     129
     130# macro ns.registration.off
     131#   task ns.registration.load
     132#     active false
     133#   end
     134# end
     135
     136# macro ns.burntool.off
     137#   task ns.burntool.load
     138#     active false
     139#   end
     140#   task ns.burntool.run
     141#     active false
     142#   end
     143# end
     144
     145# macro ns.chips.off
     146#   task ns.chips.load
     147#     active false
     148#   end
     149#   task ns.chips.run
     150#     active false
     151#   end
     152# end
    142153
    143154macro ns.stacks.off
     
    150161end
    151162
    152 $ns_regPAGE = 0
    153 $ns_burnPAGE = 0
    154 $ns_RburnPAGE = 0
    155 $ns_RburnCELL = 0
    156 $ns_chipPAGE = 0
    157 $ns_RchipPAGE = 0
     163macro ns.diffs.off
     164  task ns.diffs.load
     165    active false
     166  end
     167  task ns.diffs.run
     168    active false
     169  end
     170end
     171
     172# $ns_regPAGE = 0
     173# $ns_burnPAGE = 0
     174# $ns_RburnPAGE = 0
     175# $ns_RburnCELL = 0
     176# $ns_chipPAGE = 0
     177# $ns_RchipPAGE = 0
    158178$ns_stackPAGE = 0
    159179$ns_RstackPAGE = 0
    160180$ns_CstackPAGE = 0
     181$ns_diffPAGE = 0
     182$ns_RdiffPAGE = 0
    161183
    162184book init nsData
    163 book init nsBurntool
     185# book init nsBurntool
    164186#
    165187# Macros to control the book.
     
    177199       echo $date $state
    178200    end
    179     book npages nsBurntool -var Npages
     201#    book npages nsBurntool -var Npages
    180202end
    181203
     
    198220  periods         -exec $LOADEXEC
    199221  periods         -timeout 30
    200   trange          16:30:00 17:30:00 -nmax 1
     222  trange          0:00:00 1:00:00 -nmax 1
    201223  npending        1
    202224
     
    204226    stdout $LOGDIR/ns.initday.log
    205227    stderr $LOGDIR/ns.initday.log
    206     $today = `date +%Y-%m-%d`
     228    $today = `date -u +%Y-%m-%d`
    207229    book newpage nsData $today
    208230    book setword nsData $today nsState NEW
     
    242264    stdout $LOGDIR/ns.detrends.log
    243265    stdout $LOGDIR/ns.detrends.log
    244     $today = `date +%Y-%m-%d`
     266    $today = `date -u +%Y-%m-%d`
    245267
    246268    command automate_stacks.pl --queue_detrends --date $today
     
    278300    stdout $LOGDIR/ns.dqstats.log
    279301    stderr $LOGDIR/ns.dqstats.log
    280     $today = `date +%Y-%m-%d`
     302    $today = `date -u +%Y-%m-%d`
    281303
    282304    command automate_stacks.pl --queue_dqstats --date $today
     
    313335    stdout $LOGDIR/ns.sweetspot.log
    314336    stderr $LOGDIR/ns.sweetspot.log
    315     $today = `date +%Y-%m-%d`
     337    $today = `date -u +%Y-%m-%d`
    316338
    317339    command automate_stacks.pl --queue_sweetspot --date $today
     
    337359# Check to see if registration is complete
    338360#
    339 task              ns.registration.load
    340   host            local
    341   periods         -poll $LOADPOLL
    342   periods         -exec $LOADEXEC
    343   periods         -timeout 30
    344   npending        1
    345 
    346   task.exec
    347     stdout NULL
    348     stderr $LOGDIR/ns.registration.log
    349 
    350     book getpage nsData $ns_regPAGE -var date
    351     book getword nsData $date nsState -var ns_STATE
    352     book npages nsData -var Npages
    353 
    354     if ($VERBOSE > 5)
    355        echo "ns.registration.load: " $ns_regPAGE $date $ns_STATE $Npages
    356     end
    357 
    358     $ns_regPAGE ++
    359     if ($ns_regPAGE >= $Npages) set ns_regPAGE = 0
    360     option $date
    361 
    362     if ("$ns_STATE" != "NEW") break
    363     $run = automate_stacks.pl --check_registration --date $date
    364     command $run
    365   end
    366 
    367   # success
    368   task.exit   0
    369 #    convert 'stdout' to book format
    370     book delpage nsData $options:0
    371     ipptool2book stdout nsData -uniq -key date
    372 
    373     if ($VERBOSE > 2)
    374         book listbook nsData
    375     end
    376   end
    377 
    378   # locked list
    379   task.exit    default
    380     showcommand failure
    381   end
    382   task.exit    crash
    383     showcommand crash
    384   end
    385   #operation times out?
    386   task.exit    timeout
    387     showcommand timeout
    388   end
    389 end
    390 
    391 #
    392 # Check to see if the chips have been properly burntooled and are ready for queueing
    393 #
    394 task              ns.chips.load
    395   host            local
    396   periods         -poll $LOADPOLL
    397   periods         -exec $LOADEXEC
    398   periods         -timeout 300
    399   npending        1
    400 
    401   task.exec
    402      stdout NULL
    403      stderr $LOGDIR/ns.chips.log
    404 
    405      book getpage nsData $ns_chipPAGE -var date
    406      book getword nsData $date nsState -var ns_STATE
    407      book npages nsData -var Npages
    408 
    409      if ($VERBOSE > 5)
    410         echo "ns.chips.load: " $ns_chipPAGE $date $ns_STATE $Npages
    411      end
    412 
    413      $ns_chipPAGE ++
    414      if ($ns_chipPAGE >= $Npages) set ns_chipPAGE = 0
    415      option $date
    416 
    417      if (("$ns_STATE" != "REGISTERED")&&("$ns_STATE" != "BURNING")) break
    418      $run = automate_stacks.pl --check_chips --date $date
    419 
    420      if ("$ns_STATE" == "BURNING")
    421         $run = $run --isburning
    422      end
    423      command $run
    424    end
    425   # success
    426   task.exit   0
    427 #   convert 'stdout' to book format
    428     book delpage nsData $options:0
    429     ipptool2book stdout nsData -uniq -key date
    430 
    431     # remove the burntool page if we're done with it.
    432     book getword nsData $options:0 nsState -var ns_STATE
    433     if ("$ns_STATE" == "QUEUECHIPS")
    434         book delpage nsBurntool $options:0
    435     end
    436 
    437     book getword nsData $options:0 nsNmacros -var ns_Nmacros
    438     if ("$ns_Nmacros" != "NULL")
    439         for i 0 $ns_Nmacros
    440             sprintf macroName "ns%dMacro" $i
    441             book getword nsData $options:0 $macroName -var macroCmd
    442             $macroCmd
    443         end
    444     end
    445 
    446     if ($VERBOSE > 2)
    447         book listbook nsData
    448     end
    449   end
    450 
    451   # locked list
    452   task.exit    default
    453     showcommand failure
    454   end
    455   task.exit    crash
    456     showcommand crash
    457   end
    458   #operation times out?
    459   task.exit    timeout
    460     showcommand timeout
    461   end
    462 end
    463 
    464 #
    465 # Check to see if the chips have been properly burntooled and are ready for queueing
    466 #
    467 task              ns.chips.run
    468   host            local
    469   periods         -poll $LOADPOLL
    470   periods         -exec $LOADEXEC
    471   periods         -timeout 120
    472   npending        1
    473 
    474   task.exec
    475      stdout NULL
    476      stderr $LOGDIR/ns.chips.log
    477 
    478      book getpage nsData $ns_RchipPAGE -var date
    479      book getword nsData $date nsState -var ns_STATE
    480      book npages nsData -var Npages
    481 
    482     if ($VERBOSE > 5)
    483        echo "ns.chips.run: " $ns_RchipPAGE $date $ns_STATE $Npages
    484     end
     361# task              ns.registration.load
     362#   host            local
     363#   periods         -poll $LOADPOLL
     364#   periods         -exec $LOADEXEC
     365#   periods         -timeout 30
     366#   npending        1
     367
     368#   task.exec
     369#     stdout NULL
     370#     stderr $LOGDIR/ns.registration.log
     371
     372#     book getpage nsData $ns_regPAGE -var date
     373#     book getword nsData $date nsState -var ns_STATE
     374#     book npages nsData -var Npages
     375
     376#     if ($VERBOSE > 5)
     377#        echo "ns.registration.load: " $ns_regPAGE $date $ns_STATE $Npages
     378#     end
     379
     380#     $ns_regPAGE ++
     381#     if ($ns_regPAGE >= $Npages) set ns_regPAGE = 0
     382#     option $date
     383
     384#     if ("$ns_STATE" != "NEW") break
     385#     $run = automate_stacks.pl --check_registration --date $date
     386#     command $run
     387#   end
     388
     389#   # success
     390#   task.exit   0
     391# #    convert 'stdout' to book format
     392#     book delpage nsData $options:0
     393#     ipptool2book stdout nsData -uniq -key date
     394
     395#     if ($VERBOSE > 2)
     396#       book listbook nsData
     397#     end
     398#   end
     399
     400#   # locked list
     401#   task.exit    default
     402#     showcommand failure
     403#   end
     404#   task.exit    crash
     405#     showcommand crash
     406#   end
     407#   #operation times out?
     408#   task.exit    timeout
     409#     showcommand timeout
     410#   end
     411# end
     412
     413# #
     414# # Check to see if the chips have been properly burntooled and are ready for queueing
     415# #
     416# task              ns.chips.load
     417#   host            local
     418#   periods         -poll $LOADPOLL
     419#   periods         -exec $LOADEXEC
     420#   periods         -timeout 300
     421#   npending        1
     422
     423#   task.exec
     424#      stdout NULL
     425#      stderr $LOGDIR/ns.chips.log
     426
     427#      book getpage nsData $ns_chipPAGE -var date
     428#      book getword nsData $date nsState -var ns_STATE
     429#      book npages nsData -var Npages
     430
     431#      if ($VERBOSE > 5)
     432#       echo "ns.chips.load: " $ns_chipPAGE $date $ns_STATE $Npages
     433#      end
     434
     435#      $ns_chipPAGE ++
     436#      if ($ns_chipPAGE >= $Npages) set ns_chipPAGE = 0
     437#      option $date
     438
     439#      if (("$ns_STATE" != "REGISTERED")&&("$ns_STATE" != "BURNING")) break
     440#      $run = automate_stacks.pl --check_chips --date $date
     441
     442#      if ("$ns_STATE" == "BURNING")
     443#       $run = $run --isburning
     444#      end
     445#      command $run
     446#    end
     447#   # success
     448#   task.exit   0
     449# #   convert 'stdout' to book format
     450#     book delpage nsData $options:0
     451#     ipptool2book stdout nsData -uniq -key date
     452
     453#     # remove the burntool page if we're done with it.
     454#     book getword nsData $options:0 nsState -var ns_STATE
     455#     if ("$ns_STATE" == "QUEUECHIPS")
     456#       book delpage nsBurntool $options:0
     457#     end
     458
     459#     book getword nsData $options:0 nsNmacros -var ns_Nmacros
     460#     if ("$ns_Nmacros" != "NULL")
     461#       for i 0 $ns_Nmacros
     462#           sprintf macroName "ns%dMacro" $i
     463#           book getword nsData $options:0 $macroName -var macroCmd
     464#           $macroCmd
     465#       end
     466#     end
     467
     468#     if ($VERBOSE > 2)
     469#       book listbook nsData
     470#     end
     471#   end
     472
     473#   # locked list
     474#   task.exit    default
     475#     showcommand failure
     476#   end
     477#   task.exit    crash
     478#     showcommand crash
     479#   end
     480#   #operation times out?
     481#   task.exit    timeout
     482#     showcommand timeout
     483#   end
     484# end
     485
     486# #
     487# # Check to see if the chips have been properly burntooled and are ready for queueing
     488# #
     489# task              ns.chips.run
     490#   host            local
     491#   periods         -poll $LOADPOLL
     492#   periods         -exec $LOADEXEC
     493#   periods         -timeout 120
     494#   npending        1
     495
     496#   task.exec
     497#      stdout NULL
     498#      stderr $LOGDIR/ns.chips.log
     499
     500#      book getpage nsData $ns_RchipPAGE -var date
     501#      book getword nsData $date nsState -var ns_STATE
     502#      book npages nsData -var Npages
     503
     504#     if ($VERBOSE > 5)
     505#        echo "ns.chips.run: " $ns_RchipPAGE $date $ns_STATE $Npages
     506#     end
    485507     
    486      $ns_RchipPAGE ++
    487      if ($ns_RchipPAGE >= $Npages) set ns_RchipPAGE = 0
    488      option $date
    489 
    490      if ("$ns_STATE" != "QUEUECHIPS") break
    491      $BURNTOOLING = 0
    492      $run = automate_stacks.pl --queue_chips --date $date
    493      command $run
    494    end
    495   # success
    496   task.exit   0
    497 #    convert 'stdout' to book format
    498     book delpage nsData $options:0
    499     ipptool2book stdout nsData -uniq -key date
    500 
    501     book getword nsData $options:0 nsNmacros -var ns_Nmacros
    502     if ("$ns_Nmacros" != "NULL")
    503         for i 0 $ns_Nmacros
    504             sprintf macroName "ns%dMacro" $i
    505             book getword nsData $options:0 $macroName -var macroCmd
    506             $macroCmd
    507         end
    508     end
    509 
    510     if ($VERBOSE > 2)
    511         book listbook nsData
    512     end
    513   end
    514 
    515   # locked list
    516   task.exit    default
    517     showcommand failure
    518   end
    519   task.exit    crash
    520     showcommand crash
    521   end
    522   #operation times out?
    523   task.exit    timeout
    524     showcommand timeout
    525   end
    526 end
     508#      $ns_RchipPAGE ++
     509#      if ($ns_RchipPAGE >= $Npages) set ns_RchipPAGE = 0
     510#      option $date
     511
     512#      if ("$ns_STATE" != "QUEUECHIPS") break
     513#      $BURNTOOLING = 0
     514#      $run = automate_stacks.pl --queue_chips --date $date
     515#      command $run
     516#    end
     517#   # success
     518#   task.exit   0
     519# #    convert 'stdout' to book format
     520#     book delpage nsData $options:0
     521#     ipptool2book stdout nsData -uniq -key date
     522
     523#     book getword nsData $options:0 nsNmacros -var ns_Nmacros
     524#     if ("$ns_Nmacros" != "NULL")
     525#       for i 0 $ns_Nmacros
     526#           sprintf macroName "ns%dMacro" $i
     527#           book getword nsData $options:0 $macroName -var macroCmd
     528#           $macroCmd
     529#       end
     530#     end
     531
     532#     if ($VERBOSE > 2)
     533#       book listbook nsData
     534#     end
     535#   end
     536
     537#   # locked list
     538#   task.exit    default
     539#     showcommand failure
     540#   end
     541#   task.exit    crash
     542#     showcommand crash
     543#   end
     544#   #operation times out?
     545#   task.exit    timeout
     546#     showcommand timeout
     547#   end
     548# end
    527549
    528550
     
    557579     command $run
    558580   end
     581
    559582  # success
    560583  task.exit   0
     
    718741end
    719742
    720 #
    721 # Generate a list of date ranges and chips that need to be processed with burntool
    722 #
    723 task              ns.burntool.load
    724   host            local
    725   periods         -poll $LOADPOLL
    726   periods         -exec $LOADEXEC
    727   periods         -timeout 30
    728   npending        1
    729 
    730   task.exec
    731     stdout NULL
    732     stderr $LOGDIR/ns.burntool.log
    733 
    734     book getpage nsData $ns_burnPAGE -var date
    735     book getword nsData $date nsState -var ns_STATE
    736     book npages nsData -var Npages
    737 
    738     if ($VERBOSE > 5)
    739         echo "ns.burntool.load: " $ns_burnPAGE $date $ns_STATE $Npages
    740     end
    741 
    742     $ns_burnPAGE ++
    743     if ($ns_burnPAGE >= $Npages) set ns_burnPAGE = 0
    744     option $date
     743# #
     744# # Generate a list of date ranges and chips that need to be processed with burntool
     745# #
     746# task              ns.burntool.load
     747#   host            local
     748#   periods         -poll $LOADPOLL
     749#   periods         -exec $LOADEXEC
     750#   periods         -timeout 30
     751#   npending        1
     752
     753#   task.exec
     754#     stdout NULL
     755#     stderr $LOGDIR/ns.burntool.log
     756
     757#     book getpage nsData $ns_burnPAGE -var date
     758#     book getword nsData $date nsState -var ns_STATE
     759#     book npages nsData -var Npages
     760
     761#     if ($VERBOSE > 5)
     762#         echo "ns.burntool.load: " $ns_burnPAGE $date $ns_STATE $Npages
     763#     end
     764
     765#     $ns_burnPAGE ++
     766#     if ($ns_burnPAGE >= $Npages) set ns_burnPAGE = 0
     767#     option $date
    745768   
    746     if ("$ns_STATE" != "NEEDSBURNING") break
    747 
    748     $run = automate_stacks.pl --define_burntool --date $date
    749     command $run
    750   end
    751   # success
    752   task.exit   0
    753 #    convert 'stdout' to book format
    754 #    book delpage nsBurntool $options:0
    755     ipptool2book stdout nsBurntool -uniq -key date
    756     book setword nsData $options:0 nsState "QUEUEBURNING"
    757 
    758     book getword nsData $options:0 nsNmacros -var ns_Nmacros
    759     if ("$ns_Nmacros" != "NULL")
    760         for i 0 $ns_Nmacros
    761             sprintf macroName "ns%dMacro" $i
    762             book getword nsData $options:0 $macroName -var macroCmd
    763             $macroCmd
    764         end
    765     end
    766 
    767     if ($VERBOSE > 2)
    768         book listbook nsData
    769     end
    770   end
    771 
    772   # locked list
    773   task.exit    default
    774     showcommand failure
    775   end
    776   task.exit    crash
    777     showcommand crash
    778   end
    779   #operation times out?
    780   task.exit    timeout
    781     showcommand timeout
    782   end
    783 end
    784 
    785 #
    786 # Magically run burntool on the data, based on the information stored in our book.
    787 #
    788 task              ns.burntool.run
    789   periods         -poll $LOADPOLL
    790   periods         -exec $LOADEXEC
    791   periods         -timeout 10800
    792   npending        30
    793   task.exec
    794      stdout NULL
    795      stderr $LOGDIR/ns.burntool.log
    796 
    797      book getpage nsData $ns_RburnPAGE -var date
    798      book getword nsData $date nsState -var ns_STATE
    799      book npages nsData -var Npages
    800 
    801     if ($VERBOSE > 5)
    802         echo "ns.burntool.run: " $ns_RburnPAGE $date $ns_STATE $Npages
    803     end
    804 
    805     $ns_RburnPAGE ++
    806     if ($ns_RburnPAGE >= $Npages) set ns_RburnPAGE = 0
    807     if (("$ns_STATE" != "QUEUEBURNING")&&("$ns_STATE" != "BURNING")) break
    808     $BURNTOOLING = 1
    809     # Find out where in the list of jobs we are
    810     book getword nsBurntool $date btN -var btN
    811     book getword nsBurntool $date btNCounter -var btNcounter
    812 
    813     if ($VERBOSE > 5)
    814         echo "ns.burntool.run: Status: " $btNcounter $date
    815     end
    816 
    817     if ("$ns_STATE" == "QUEUEBURNING")
    818         $new_state = "QUEUEBURNING"
    819     end
    820     if ("$ns_STATE" == "BURNING")
    821         $new_state = "BURNING"
    822     end
    823     if ($btNcounter + 1 > $btN)
    824         $new_state = "BURNING"
    825     end
    826     if ($btNcounter > $btN)
    827         $btNcounter = 0
    828     end
    829     if ($VERBOSE > 5)
    830         echo "ns.burntool.run: Status: " $btNcounter $new_state
    831     end
     769#     if ("$ns_STATE" != "NEEDSBURNING") break
     770
     771#     $run = automate_stacks.pl --define_burntool --date $date
     772#     command $run
     773#   end
     774#   # success
     775#   task.exit   0
     776# #    convert 'stdout' to book format
     777# #    book delpage nsBurntool $options:0
     778#     ipptool2book stdout nsBurntool -uniq -key date
     779#     book setword nsData $options:0 nsState "QUEUEBURNING"
     780
     781#     book getword nsData $options:0 nsNmacros -var ns_Nmacros
     782#     if ("$ns_Nmacros" != "NULL")
     783#       for i 0 $ns_Nmacros
     784#           sprintf macroName "ns%dMacro" $i
     785#           book getword nsData $options:0 $macroName -var macroCmd
     786#           $macroCmd
     787#       end
     788#     end
     789
     790#     if ($VERBOSE > 2)
     791#       book listbook nsData
     792#     end
     793#   end
     794
     795#   # locked list
     796#   task.exit    default
     797#     showcommand failure
     798#   end
     799#   task.exit    crash
     800#     showcommand crash
     801#   end
     802#   #operation times out?
     803#   task.exit    timeout
     804#     showcommand timeout
     805#   end
     806# end
     807
     808# #
     809# # Magically run burntool on the data, based on the information stored in our book.
     810# #
     811# task              ns.burntool.run
     812#   periods         -poll $LOADPOLL
     813#   periods         -exec $LOADEXEC
     814#   periods         -timeout 10800
     815#   npending        30
     816#   task.exec
     817#      stdout NULL
     818#      stderr $LOGDIR/ns.burntool.log
     819
     820#      book getpage nsData $ns_RburnPAGE -var date
     821#      book getword nsData $date nsState -var ns_STATE
     822#      book npages nsData -var Npages
     823
     824#     if ($VERBOSE > 5)
     825#         echo "ns.burntool.run: " $ns_RburnPAGE $date $ns_STATE $Npages
     826#     end
     827
     828#     $ns_RburnPAGE ++
     829#     if ($ns_RburnPAGE >= $Npages) set ns_RburnPAGE = 0
     830#     if (("$ns_STATE" != "QUEUEBURNING")&&("$ns_STATE" != "BURNING")) break
     831#     $BURNTOOLING = 1
     832#     # Find out where in the list of jobs we are
     833#     book getword nsBurntool $date btN -var btN
     834#     book getword nsBurntool $date btNCounter -var btNcounter
     835
     836#     if ($VERBOSE > 5)
     837#       echo "ns.burntool.run: Status: " $btNcounter $date
     838#     end
     839
     840#     if ("$ns_STATE" == "QUEUEBURNING")
     841#       $new_state = "QUEUEBURNING"
     842#     end
     843#     if ("$ns_STATE" == "BURNING")
     844#       $new_state = "BURNING"
     845#     end
     846#     if ($btNcounter + 1 > $btN)
     847#       $new_state = "BURNING"
     848#     end
     849#     if ($btNcounter > $btN)
     850#       $btNcounter = 0
     851#     end
     852#     if ($VERBOSE > 5)
     853#       echo "ns.burntool.run: Status: " $btNcounter $new_state
     854#     end
    832855   
    833     # Increment the counter in the book for the next job.
    834     $counter_update = $btNcounter + 1
    835     book setword nsBurntool $date btNCounter $counter_update
    836 #    book setword nsData $options:0 nsState $options:1
    837     book setword nsData $date nsState $new_state
    838 
    839     # Get the current status of this job, and skip if it doesn't need to process.
    840     sprintf status_label     "bt%dStatus"  $btNcounter
    841     book getword nsBurntool $date $status_label   -var status
    842 
    843     if ($VERBOSE > 5)
    844         echo "ns.burntool.run: Status: " $btNcounter $status $date $status_label
    845     end
    846     if (("$status" == "FINISHED")||("$status" == "RUN")) break 
     856#     # Increment the counter in the book for the next job.
     857#     $counter_update = $btNcounter + 1
     858#     book setword nsBurntool $date btNCounter $counter_update
     859# #    book setword nsData $options:0 nsState $options:1
     860#     book setword nsData $date nsState $new_state
     861
     862#     # Get the current status of this job, and skip if it doesn't need to process.
     863#     sprintf status_label     "bt%dStatus"  $btNcounter
     864#     book getword nsBurntool $date $status_label   -var status
     865
     866#     if ($VERBOSE > 5)
     867#       echo "ns.burntool.run: Status: " $btNcounter $status $date $status_label
     868#     end
     869#     if (("$status" == "FINISHED")||("$status" == "RUN")) break       
    847870   
    848     # Continue loading information to process this job
    849     sprintf start_date_label "bt%dBegin"   $btNcounter
    850     sprintf end_date_label   "bt%dEnd"     $btNcounter
    851     sprintf class_count_label "bt%dClass"   $btNcounter
    852 
    853     book getword nsBurntool $date $start_date_label -var start_date
    854     book getword nsBurntool $date $end_date_label -var end_date
    855     book getword nsBurntool $date $class_count_label -var chip_counter
    856 
    857     # Lookup class_id/host pairs
    858     list word -split $hostmatch:$chip_counter
    859     $class_id = $word:0
    860     $host = $word:1
    861     host $host
    862 #    set.host.for.camera GPC1 $class_id
    863     $logfile = "/data/$host.0/burntool_logs/$class_id.$start_date.log"
    864 
    865     $run = ipp_apply_burntool.pl --class_id $class_id --dateobs_begin $start_date --dateobs_end $end_date --dbname gpc1 --logfile $logfile
     871#     # Continue loading information to process this job
     872#     sprintf start_date_label "bt%dBegin"   $btNcounter
     873#     sprintf end_date_label   "bt%dEnd"     $btNcounter
     874#     sprintf class_count_label "bt%dClass"   $btNcounter
     875
     876#     book getword nsBurntool $date $start_date_label -var start_date
     877#     book getword nsBurntool $date $end_date_label -var end_date
     878#     book getword nsBurntool $date $class_count_label -var chip_counter
     879
     880#     # Lookup class_id/host pairs
     881#     list word -split $hostmatch:$chip_counter
     882#     $class_id = $word:0
     883#     $host = $word:1
     884#     host $host
     885# #    set.host.for.camera GPC1 $class_id
     886#     $logfile = "/data/$host.0/burntool_logs/$class_id.$start_date.log"
     887
     888#     $run = ipp_apply_burntool.pl --class_id $class_id --dateobs_begin $start_date --dateobs_end $end_date --dbname gpc1 --logfile $logfile
    866889       
    867     echo "ns.burntool.run: " $date $btN $btNcounter $start_date $end_date $chip_counter $class_id $host $logfile $run
    868     echo "ns.burntool.run: " $date $btN $btNcounter $chip_counter $new_state
    869 
    870     book setword nsBurntool $date $status_label RUN
    871     option $date $new_state $status_label
    872 
    873     command $run
    874 #     command /bin/true
    875    end
    876   # success
    877   task.exit   0
    878 #    convert 'stdout' to book format
    879     # Set data state based on if we're queueing or waiting
    880     # Set the job state for success.
    881     book setword nsBurntool $options:0 $options:2 FINISHED
    882 
    883     book getword nsData $options:0 nsNmacros -var ns_Nmacros
    884     if ("$ns_Nmacros" != "NULL")
    885         for i 0 $ns_Nmacros
    886             sprintf macroName "ns%dMacro" $i
    887             book getword nsData $options:0 $macroName -var macroCmd
    888             $macroCmd
    889         end
    890     end
    891 
    892     if ($VERBOSE > 2)
    893         book listbook nsData
    894     end
    895   end
    896 
    897   # locked list
    898   task.exit    default
    899     book setword nsBurntool $options:0 $options:2 FAIL
    900     showcommand failure
    901   end
    902   task.exit    crash
    903     book setword nsBurntool $options:0 $options:2 FAIL
    904     showcommand crash
    905   end
    906   #operation times out?
    907   task.exit    timeout
    908     book setword nsBurntool $options:0 $options:2 FAIL
    909     showcommand timeout
    910   end
    911 end
    912 
    913 
    914 #
    915 # This is all burntool related stuff.
    916 #
    917 
    918 macro burntool
    919   if ($0 != 3)
    920     echo "USAGE: burntool (dateobs_begin) (dateobs_end)"
    921     break
    922   end
    923 
    924   for i 0 $hostmatch:n
    925     job -host $word:1 ipp_apply_burntool.pl --class_id $class_id --dateobs_begin $1 --dateobs_end $2 --dbname gpc1 --logfile $logfile
    926   end
    927 end
    928 macro loadhosts
    929   for i 0 $allhosts:n
    930     controller host add $allhosts:$i
    931   end
    932 end
    933 
    934 # sorry this list is messy, it's supposed to be that way to try and keep to burntools from running on the same host at the same time.
    935 
    936 list hostmatch
    937   XY01    ipp014
    938   XY03    ipp038
    939   XY05    ipp023
    940   XY10    ipp039
    941   XY12    ipp024
    942   XY15    ipp040
    943   XY17    ipp020
    944   XY21    ipp041
    945   XY23    ipp042
    946   XY25    ipp043
    947   XY27    ipp028
    948   XY31    ipp044
    949   XY33    ipp029
    950   XY35    ipp045
    951   XY37    ipp030
    952   XY41    ipp046
    953   XY43    ipp031
    954   XY45    ipp047
    955   XY47    ipp032
    956   XY51    ipp048
    957   XY53    ipp033
    958   XY55    ipp049
    959   XY57    ipp034
    960   XY61    ipp050
    961   XY63    ipp035
    962   XY65    ipp051
    963   XY67    ipp036
    964   XY72    ipp052
    965   XY74    ipp015
    966   XY76    ipp053
    967   XY02    ipp014
    968   XY04    ipp038
    969   XY06    ipp023
    970   XY11    ipp039
    971   XY13    ipp024
    972   XY14    ipp040
    973   XY16    ipp020
    974   XY20    ipp041
    975   XY22    ipp042
    976   XY24    ipp043
    977   XY26    ipp028
    978   XY30    ipp044
    979   XY32    ipp029
    980   XY34    ipp045
    981   XY36    ipp030
    982   XY40    ipp046
    983   XY42    ipp031
    984   XY44    ipp047
    985   XY46    ipp032
    986   XY50    ipp048
    987   XY52    ipp033
    988   XY54    ipp049
    989   XY56    ipp034
    990   XY60    ipp050
    991   XY62    ipp035
    992   XY64    ipp051
    993   XY66    ipp036
    994   XY71    ipp052
    995   XY73    ipp015
    996   XY75    ipp053
    997 end
    998 
    999 list allhosts
    1000   ipp043
    1001   ipp014
    1002   ipp015
    1003   ipp023
    1004   ipp024
    1005   ipp020
    1006   ipp028
    1007   ipp029
    1008   ipp030
    1009   ipp031
    1010   ipp032
    1011   ipp033
    1012   ipp034
    1013   ipp035
    1014   ipp036
    1015   ipp038
    1016   ipp039
    1017   ipp040
    1018   ipp041
    1019   ipp042
    1020   ipp044
    1021   ipp045
    1022   ipp046
    1023   ipp047
    1024   ipp048
    1025   ipp049
    1026   ipp050
    1027   ipp051
    1028   ipp052
    1029   ipp053
    1030 end
     890#     echo "ns.burntool.run: " $date $btN $btNcounter $start_date $end_date $chip_counter $class_id $host $logfile $run
     891#     echo "ns.burntool.run: " $date $btN $btNcounter $chip_counter $new_state
     892
     893#     book setword nsBurntool $date $status_label RUN
     894#     option $date $new_state $status_label
     895
     896#     command $run
     897# #     command /bin/true
     898#    end
     899#   # success
     900#   task.exit   0
     901# #    convert 'stdout' to book format
     902#     # Set data state based on if we're queueing or waiting
     903#     # Set the job state for success.
     904#     book setword nsBurntool $options:0 $options:2 FINISHED
     905
     906#     book getword nsData $options:0 nsNmacros -var ns_Nmacros
     907#     if ("$ns_Nmacros" != "NULL")
     908#       for i 0 $ns_Nmacros
     909#           sprintf macroName "ns%dMacro" $i
     910#           book getword nsData $options:0 $macroName -var macroCmd
     911#           $macroCmd
     912#       end
     913#     end
     914
     915#     if ($VERBOSE > 2)
     916#       book listbook nsData
     917#     end
     918#   end
     919
     920#   # locked list
     921#   task.exit    default
     922#     book setword nsBurntool $options:0 $options:2 FAIL
     923#     showcommand failure
     924#   end
     925#   task.exit    crash
     926#     book setword nsBurntool $options:0 $options:2 FAIL
     927#     showcommand crash
     928#   end
     929#   #operation times out?
     930#   task.exit    timeout
     931#     book setword nsBurntool $options:0 $options:2 FAIL
     932#     showcommand timeout
     933#   end
     934# end
     935
     936
     937# #
     938# # This is all burntool related stuff.
     939# #
     940
     941# macro burntool
     942#   if ($0 != 3)
     943#     echo "USAGE: burntool (dateobs_begin) (dateobs_end)"
     944#     break
     945#   end
     946
     947#   for i 0 $hostmatch:n
     948#     job -host $word:1 ipp_apply_burntool.pl --class_id $class_id --dateobs_begin $1 --dateobs_end $2 --dbname gpc1 --logfile $logfile
     949#   end
     950# end
     951# macro loadhosts
     952#   for i 0 $allhosts:n
     953#     controller host add $allhosts:$i
     954#   end
     955# end
     956
     957# # sorry this list is messy, it's supposed to be that way to try and keep to burntools from running on the same host at the same time.
     958
     959# list hostmatch
     960#   XY01    ipp014
     961#   XY03    ipp038
     962#   XY05    ipp023
     963#   XY10    ipp039
     964#   XY12    ipp024
     965#   XY15    ipp040
     966#   XY17    ipp020
     967#   XY21    ipp041
     968#   XY23    ipp042
     969#   XY25    ipp043
     970#   XY27    ipp028
     971#   XY31    ipp044
     972#   XY33    ipp029
     973#   XY35    ipp045
     974#   XY37    ipp030
     975#   XY41    ipp046
     976#   XY43    ipp031
     977#   XY45    ipp047
     978#   XY47    ipp032
     979#   XY51    ipp048
     980#   XY53    ipp033
     981#   XY55    ipp049
     982#   XY57    ipp034
     983#   XY61    ipp050
     984#   XY63    ipp035
     985#   XY65    ipp051
     986#   XY67    ipp036
     987#   XY72    ipp052
     988#   XY74    ipp015
     989#   XY76    ipp053
     990#   XY02    ipp014
     991#   XY04    ipp038
     992#   XY06    ipp023
     993#   XY11    ipp039
     994#   XY13    ipp024
     995#   XY14    ipp040
     996#   XY16    ipp020
     997#   XY20    ipp041
     998#   XY22    ipp042
     999#   XY24    ipp043
     1000#   XY26    ipp028
     1001#   XY30    ipp044
     1002#   XY32    ipp029
     1003#   XY34    ipp045
     1004#   XY36    ipp030
     1005#   XY40    ipp046
     1006#   XY42    ipp031
     1007#   XY44    ipp047
     1008#   XY46    ipp032
     1009#   XY50    ipp048
     1010#   XY52    ipp033
     1011#   XY54    ipp049
     1012#   XY56    ipp034
     1013#   XY60    ipp050
     1014#   XY62    ipp035
     1015#   XY64    ipp051
     1016#   XY66    ipp036
     1017#   XY71    ipp052
     1018#   XY73    ipp015
     1019#   XY75    ipp053
     1020# end
     1021
     1022# list allhosts
     1023#   ipp043
     1024#   ipp014
     1025#   ipp015
     1026#   ipp023
     1027#   ipp024
     1028#   ipp020
     1029#   ipp028
     1030#   ipp029
     1031#   ipp030
     1032#   ipp031
     1033#   ipp032
     1034#   ipp033
     1035#   ipp034
     1036#   ipp035
     1037#   ipp036
     1038#   ipp038
     1039#   ipp039
     1040#   ipp040
     1041#   ipp041
     1042#   ipp042
     1043#   ipp044
     1044#   ipp045
     1045#   ipp046
     1046#   ipp047
     1047#   ipp048
     1048#   ipp049
     1049#   ipp050
     1050#   ipp051
     1051#   ipp052
     1052#   ipp053
     1053# end
  • branches/czw_branch/20101203/ippTools/src/regtool.c

    r29982 r30014  
    13861386    PXOPT_COPY_F64(config->args,   where,  "-posang_min", "posang", ">=");
    13871387    PXOPT_COPY_F64(config->args,   where,  "-posang_max", "posang", "<");
    1388     PXOPT_COPY_STR(config->args,   where,  "-object", "object", "==");
     1388    PXOPT_COPY_STR(config->args,   where,  "-object", "object", "LIKE");
     1389    PXOPT_COPY_STR(config->args,   where,  "-obs_mode", "obs_mode", "LIKE");
     1390    PXOPT_COPY_STR(config->args,   where,  "-comment", "comment", "LIKE");
    13891391    PXOPT_COPY_F32(config->args,   where,  "-sun_angle_min", "sun_angle", ">=");
    13901392    PXOPT_COPY_F32(config->args,   where,  "-sun_angle_max", "sun_angle", "<");
  • branches/czw_branch/20101203/ippTools/src/regtoolConfig.c

    r29982 r30014  
    313313    psMetadataAddF64(processedexpArgs,  PS_LIST_TAIL, "-posang_max",    0,            "search by max rotator position angle", NAN);
    314314    psMetadataAddStr(processedexpArgs,  PS_LIST_TAIL, "-object",        0,            "search by exposure object", NULL);
     315    psMetadataAddStr(processedexpArgs,  PS_LIST_TAIL, "-obs_mode",      0,            "search by exposure obs_mode", NULL);
     316    psMetadataAddStr(processedexpArgs,  PS_LIST_TAIL, "-comment",       0,            "search by exposure comment", NULL);
     317   
    315318    psMetadataAddF32(processedexpArgs,  PS_LIST_TAIL, "-sun_angle_min",    0,         "define min solar angle", NAN);
    316319    psMetadataAddF32(processedexpArgs,  PS_LIST_TAIL, "-sun_angle_max",    0,         "define max solar angle", NAN);
  • branches/czw_branch/20101203/ippconfig/recipes/nightly_science.config

    r29801 r30014  
    1 RETENTION_TIME   U16    9000
    2 
    31CLEAN_MODES MULTI
    42CLEAN_MODES METADATA
    5   MODE STR CHIP
    6   COMMAND STR chiptool
     3  MODE           STR CHIP
     4  COMMAND        STR chiptool -dbname @DBNAME@ -updaterun -set_state goto_cleaned -state full -set_label goto_cleaned -label @LABEL@ -data_group @DATA_GROUP@
    75  RETENTION_TIME U16 30
    86END
    97CLEAN_MODES METADATA
    10   MODE STR WARP
    11   COMMAND STR warptool
     8  MODE           STR WARP
     9  COMMAND        STR warptool -dbname @DBNAME@ -updaterun -set_state goto_cleaned -state full -set_label goto_cleaned -label @LABEL@ -data_group @DATA_GROUP@
    1210  RETENTION_TIME U16 7
    1311END
    1412CLEAN_MODES METADATA
    15   MODE STR DIFF
    16   COMMAND STR difftool
     13  MODE           STR DIFF
     14  COMMAND        STR difftool -dbname @DBNAME@ -updaterun -set_state goto_cleaned -state full -set_label goto_cleaned -label @LABEL@ -data_group @DATA_GROUP@
    1715  RETENTION_TIME S16 30
    18 #  RETENTION_TIME S16 -1
    19 END
    20 CLEAN_MODES METADATA
    21   MODE STR DIST
    22   COMMAND STR disttool
     16END
     17CLEAN_MODES METADATA
     18  MODE           STR DIST
     19  COMMAND        STR disttool -dbname @DBNAME@ -updaterun -set_state goto_cleaned -full -set_label goto_cleaned -label @LABEL@ -time_stamp_end @CURRENT_DATE@
    2320  RETENTION_TIME S16 10
    24   ALTERNATE_CMD STR A
    25 END
    26 CLEAN_MODES METADATA
    27   MODE STR MAGICDS
    28   COMMAND STR magicdstool
     21END
     22CLEAN_MODES METADATA
     23  MODE           STR MAGICDS
     24  COMMAND        STR magicdstool -dbname @DBNAME@ -updaterun -set_state goto_cleaned -state full -set_label goto_cleaned -label @LABEL@
    2925  RETENTION_TIME S16 1
    30   ALTERNATE_CMD STR B
     26END
     27
     28END_OF_NIGHT MULTI
     29END_OF_NIGHT METADATA
     30  NAME           STR MORNING_DARKS
     31  OBSMODE        STR ENGINEERING
     32  EXPTYPE        STR DARK
     33  OBJECT         STR ENGINEERING
     34  COMMENT        STR darks_morn%
    3135END
    3236
     
    4347
    4448MACRO_DEFINITIONS MULTI
    45 #MACRO_DEFINITIONS METADATA
    46 #  PROC_MODE STR check_chips
    47 #  MACRO     STR echo survey.del.destreak @LABEL@
    48 #END
    4949MACRO_DEFINITIONS METADATA
    5050  PROC_MODE STR queue_chips
     
    5555  MACRO     STR survey.add.destreak @LABEL@ /data/ipp053.0/gpc1_destreak
    5656END
    57 #MACRO_DEFINITIONS METADATA
    58 #  PROC_MODE STR check_confirm_stacks
    59 #  MACRO     STR echo survey.add.destreak @LABEL@ /data/ipp053.0/gpc1_destreak
    60 #END
    61 # MACRO_DEFINITIONS METADATA
    62 #   PROC_MODE STR clean_old
    63 #   MACRO     STR
     57
     58TARGETS MULTI
     59TARGETS METADATA
     60  NAME      STR  M31
     61  TESS      STR  M31
     62  OBSMODE   STR  M31
     63  OBJECT    STR  M31%
     64  STACKABLE BOOL TRUE
     65  DIFFABLE  BOOL FALSE
     66  DIST      S16  30
     67END
     68TARGETS METADATA
     69  NAME      STR  MD01
     70  TESS      STR  MD01.V2
     71  OBSMODE   STR  MD
     72  OBJECT    STR  MD01%
     73  STACKABLE BOOL TRUE
     74  DIFFABLE  BOOL FALSE
     75  DIST      S16  30
     76END
     77TARGETS METADATA
     78  NAME      STR  MD02
     79  TESS      STR MD02
     80  OBSMODE   STR MD
     81  OBJECT    STR MD02%
     82  STACKABLE BOOL TRUE
     83  DIFFABLE  BOOL FALSE
     84  DIST      S16 30
     85END
     86TARGETS METADATA
     87  NAME      STR MD03
     88  TESS      STR MD03
     89  OBSMODE   STR MD
     90  OBJECT    STR MD03%
     91  STACKABLE BOOL TRUE
     92  DIFFABLE  BOOL FALSE
     93  DIST      S16 30
     94END
     95TARGETS METADATA
     96  NAME      STR MD04
     97  TESS      STR MD04
     98  OBSMODE   STR MD
     99  OBJECT    STR MD04%
     100  STACKABLE BOOL TRUE
     101  DIFFABLE  BOOL FALSE
     102  DIST      S16 30
     103END
     104TARGETS METADATA
     105  NAME      STR MD05
     106  TESS      STR MD05
     107  OBSMODE   STR MD
     108  OBJECT    STR MD05%
     109  STACKABLE BOOL TRUE
     110  DIFFABLE  BOOL FALSE
     111  DIST      S16 30
     112END
     113TARGETS METADATA
     114  NAME      STR MD06
     115  TESS      STR MD06
     116  OBSMODE   STR MD
     117  OBJECT    STR MD06%
     118  STACKABLE BOOL TRUE
     119  DIFFABLE  BOOL FALSE
     120  DIST      S16 30
     121END
     122TARGETS METADATA
     123  NAME      STR MD07
     124  TESS      STR MD07
     125  OBSMODE   STR MD
     126  OBJECT    STR MD07%
     127  STACKABLE BOOL TRUE
     128  DIFFABLE  BOOL FALSE
     129  DIST      S16 30
     130END
     131TARGETS METADATA
     132  NAME      STR MD08
     133  TESS      STR MD08.V2
     134  OBSMODE   STR MD
     135  OBJECT    STR MD08%
     136  STACKABLE BOOL TRUE
     137  DIFFABLE  BOOL FALSE
     138  DIST      S16 30
     139END
     140TARGETS METADATA
     141  NAME      STR MD09
     142  TESS      STR MD09.V2
     143  OBSMODE   STR MD
     144  OBJECT    STR MD09%
     145  STACKABLE BOOL TRUE
     146  DIFFABLE  BOOL FALSE
     147  DIST      S16 30
     148END
     149TARGETS METADATA
     150  NAME      STR MD10
     151  TESS      STR MD10.V2
     152  OBSMODE   STR MD
     153  OBJECT    STR MD10%
     154  STACKABLE BOOL TRUE
     155  DIFFABLE  BOOL FALSE
     156  DIST      S16 30
     157END
     158TARGETS METADATA
     159  NAME      STR MD11
     160  TESS      STR MD11.V2
     161  OBSMODE   STR MD
     162  OBJECT    STR MD11%
     163  STACKABLE BOOL TRUE
     164  DIFFABLE  BOOL FALSE
     165  DIST      S16 30
     166END
     167TARGETS METADATA
     168  NAME      STR STS
     169  TESS      STR STS
     170  OBSMODE   STR STS%
     171  OBJECT    STR STS%
     172  STACKABLE BOOL FALSE
     173  DIFFABLE  BOOL FALSE
     174END
     175TARGETS METADATA
     176  NAME      STR SweetSpot
     177  TESS      STR RINGS.V0
     178  OBSMODE   STR SS
     179  STACKABLE BOOL FALSE
     180  DIFFABLE  BOOL TRUE
     181  WARP      S16 60
     182END
     183TARGETS METADATA
     184  NAME         STR OSS
     185  DISTRIBUTION STR SweetSpot
     186  TESS         STR RINGS.V0
     187  OBSMODE      STR OSS
     188  STACKABLE   BOOL FALSE
     189  DIFFABLE    BOOL TRUE
     190END
     191TARGETS METADATA
     192  NAME         STR CNP
     193  DISTRIBUTION STR CNP
     194  TESS         STR RINGS.V0
     195  OBSMODE      STR CNP
     196  STACKABLE   BOOL FALSE
     197  DIFFABLE    BOOL FALSE
     198END
     199TARGETS METADATA
     200  NAME         STR ThreePi
     201  TESS         STR RINGS.V0
     202  OBSMODE      STR 3PI
     203  STACKABLE   BOOL FALSE
     204  DIFFABLE    BOOL FALSE
     205  CHIP         S16 14
     206  DIFF         S16 14
     207END
     208# This is a hack, and I freely admit it.
     209# Removed the rest because we do not regularly run microtests.
     210# TARGETS METADATA
     211#   NAME STR microtestMD01
     212#   TESS STR MD01
     213#   OBJECT STR MD01%
     214#   COMMENT STR Microtest Obs%
     215#   STACKABLE BOOL TRUE
    64216# END
    65 # MACRO_DEFINITIONS METADATA
    66 #   PROC_MODE STR check_registration
    67 #   MACRO     STR
     217# TARGETS METADATA
     218#   NAME STR microtestMD01.noPattern
     219#   TESS STR MD01
     220#   OBJECT STR MD01%
     221#   COMMENT STR Microtest Obs%
     222#   REDUCTION STR MICROTEST_NOPATTERN
     223#   STACKABLE BOOL TRUE
    68224# END
    69 # MACRO_DEFINITIONS METADATA
    70 #   PROC_MODE STR define_burntool
    71 #   MACRO     STR
    72 # END
    73 # MACRO_DEFINITIONS METADATA
    74 #   PROC_MODE STR queue_burntool
    75 #   MACRO     STR
    76 # END
    77 # MACRO_DEFINITIONS METADATA
    78 #   PROC_MODE STR check_stacks
    79 #   MACRO     STR
    80 # END
    81 # MACRO_DEFINITIONS METADATA
    82 #   PROC_MODE STR queue_stacks
    83 #   MACRO     STR
    84 # END
    85 # MACRO_DEFINITIONS METADATA
    86 #   PROC_MODE STR check_sweetspot
    87 #   MACRO     STR
    88 # END
    89 # MACRO_DEFINITIONS METADATA
    90 #   PROC_MODE STR queue_sweetspot
    91 #   MACRO     STR
    92 # END
    93 # MACRO_DEFINITIONS METADATA
    94 #   PROC_MODE STR check_dqstats
    95 #   MACRO     STR
    96 # END
    97 # MACRO_DEFINITIONS METADATA
    98 #   PROC_MODE STR queue_dqstats
    99 #   MACRO     STR
    100 # END
    101 # MACRO_DEFINITIONS METADATA
    102 #   PROC_MODE STR check_detrends
    103 #   MACRO     STR
    104 # END
    105 # MACRO_DEFINITIONS METADATA
    106 #   PROC_MODE STR queue_detrends
    107 #   MACRO     STR
    108 # END
    109 
    110 TARGETS MULTI
    111 TARGETS METADATA
    112   NAME STR M31
    113   TESS STR M31
    114   OBSMODE STR M31
    115   OBJECT STR M31%
    116 #  COMMENT STR M31%
    117   STACKABLE BOOL TRUE
    118   DIST S16 30
    119 END
    120 TARGETS METADATA
    121   NAME STR MD01
    122   TESS STR MD01.V2
    123   OBSMODE STR MD
    124   OBJECT STR MD01%
    125 #  COMMENT STR %MD01%
    126   STACKABLE BOOL TRUE
    127   DIST S16 30
    128 END
    129 TARGETS METADATA
    130   NAME STR MD02
    131   TESS STR MD02
    132   OBSMODE STR MD
    133   OBJECT STR MD02%
    134 #  COMMENT STR %MD02%
    135   STACKABLE BOOL TRUE
    136   DIST S16 30
    137 END
    138 TARGETS METADATA
    139   NAME STR MD03
    140   TESS STR MD03
    141   OBSMODE STR MD
    142   OBJECT STR MD03%
    143 #  COMMENT STR %MD03%
    144   STACKABLE BOOL TRUE
    145   DIST S16 30
    146 END
    147 TARGETS METADATA
    148   NAME STR MD04
    149   TESS STR MD04
    150   OBSMODE STR MD
    151   OBJECT STR MD04%
    152 #  COMMENT STR %MD04%
    153   STACKABLE BOOL TRUE
    154   DIST S16 30
    155 END
    156 TARGETS METADATA
    157   NAME STR MD05
    158   TESS STR MD05
    159   OBSMODE STR MD
    160   OBJECT STR MD05%
    161 #  COMMENT STR %MD05%
    162   STACKABLE BOOL TRUE
    163   DIST S16 30
    164 END
    165 TARGETS METADATA
    166   NAME STR MD06
    167   TESS STR MD06
    168   OBSMODE STR MD
    169   OBJECT STR MD06%
    170 #  COMMENT STR %MD06%
    171   STACKABLE BOOL TRUE
    172   DIST S16 30
    173 END
    174 TARGETS METADATA
    175   NAME STR MD07
    176   TESS STR MD07
    177   OBSMODE STR MD
    178   OBJECT STR MD07%
    179 #  COMMENT STR %MD07%
    180   STACKABLE BOOL TRUE
    181   DIST S16 30
    182 END
    183 TARGETS METADATA
    184   NAME STR MD08
    185   TESS STR MD08.V2
    186   OBSMODE STR MD
    187   OBJECT STR MD08%
    188 #  COMMENT STR %MD08%
    189   STACKABLE BOOL TRUE
    190   DIST S16 30
    191 END
    192 TARGETS METADATA
    193   NAME STR MD09
    194   TESS STR MD09.V2
    195   OBSMODE STR MD
    196   OBJECT STR MD09%
    197 #  COMMENT STR %MD09%
    198   STACKABLE BOOL TRUE
    199   DIST S16 30
    200 END
    201 TARGETS METADATA
    202   NAME STR MD10
    203   TESS STR MD10.V2
    204   OBSMODE STR MD
    205   OBJECT STR MD10%
    206 #  COMMENT STR %MD10%
    207   STACKABLE BOOL TRUE
    208   DIST S16 30
    209 END
    210 TARGETS METADATA
    211   NAME STR MD11
    212   TESS STR MD11.V2
    213   OBSMODE STR MD
    214   OBJECT STR MD11%
    215 #  COMMENT STR %MD11%
    216   STACKABLE BOOL TRUE
    217   DIST S16 30
    218 END
    219 TARGETS METADATA
    220   NAME STR STS
    221   TESS STR STS
    222   OBSMODE STR STS%
    223   OBJECT STR STS%
    224 #  COMMENT STR Stellar Transit%
    225   STACKABLE BOOL FALSE
    226 END
    227 TARGETS METADATA
    228   NAME STR SweetSpot
    229   TESS STR RINGS.V0
    230   OBSMODE STR SS
    231 # OBJECT STR SS
    232   STACKABLE BOOL FALSE
    233   EXTRA_PROCESSING BOOL TRUE
    234 #  NOCLEAN BOOL TRUE
    235   WARP S16 60
    236 END
    237 TARGETS METADATA
    238   NAME STR OSS
    239   DISTRIBUTION STR SweetSpot
    240   TESS STR RINGS.V0
    241   OBSMODE STR OSS
    242   STACKABLE BOOL FALSE
    243   EXTRA_PROCESSING BOOL TRUE
    244 END
    245 TARGETS METADATA
    246   NAME STR CNP
    247   DISTRIBUTION STR CNP
    248   TESS STR RINGS.V0
    249   OBSMODE STR CNP
    250   STACKABLE BOOL FALSE
    251   EXTRA_PROCESSING BOOL FALSE
    252 END
    253 TARGETS METADATA
    254   NAME STR ThreePi
    255   TESS STR RINGS.V0
    256   OBSMODE STR 3PI
    257 # OBJECT STR 3PI
    258   STACKABLE BOOL FALSE
    259   CHIP S16 14
    260   DIFF S16 14
    261 END
    262 # This is a hack, and I freely admit it.
    263 TARGETS METADATA
    264   NAME STR microtestMD01
    265   TESS STR MD01
    266   OBJECT STR MD01%
    267   COMMENT STR Microtest Obs%
    268   STACKABLE BOOL TRUE
    269 END
    270 TARGETS METADATA
    271   NAME STR microtestMD01.noPattern
    272   TESS STR MD01
    273   OBJECT STR MD01%
    274   COMMENT STR Microtest Obs%
    275   REDUCTION STR MICROTEST_NOPATTERN
    276   STACKABLE BOOL TRUE
    277 END
    278 TARGETS METADATA
    279   NAME STR microtestMD02
    280   TESS STR MD02
    281   OBJECT STR MD02%
    282   COMMENT STR Microtest Obs%
    283   STACKABLE BOOL TRUE
    284 END
    285 TARGETS METADATA
    286   NAME STR microtestMD02.noPattern
    287   TESS STR MD02
    288   OBJECT STR MD02%
    289   COMMENT STR Microtest Obs%
    290   REDUCTION STR MICROTEST_NOPATTERN
    291   STACKABLE BOOL TRUE
    292 END
    293 TARGETS METADATA
    294   NAME STR microtestMD03
    295   TESS STR MD03
    296   OBJECT STR MD03%
    297   COMMENT STR Microtest Obs%
    298   STACKABLE BOOL TRUE
    299 END
    300 TARGETS METADATA
    301   NAME STR microtestMD03.noPattern
    302   TESS STR MD03
    303   OBJECT STR MD03%
    304   COMMENT STR Microtest Obs%
    305   REDUCTION STR MICROTEST_NOPATTERN
    306   STACKABLE BOOL TRUE
    307 END
    308 TARGETS METADATA
    309   NAME STR microtestMD04
    310   TESS STR MD04
    311   OBJECT STR MD04%
    312   COMMENT STR Microtest Obs%
    313   STACKABLE BOOL TRUE
    314 END
    315 TARGETS METADATA
    316   NAME STR microtestMD04.noPattern
    317   TESS STR MD04
    318   OBJECT STR MD04%
    319   COMMENT STR Microtest Obs%
    320   REDUCTION STR MICROTEST_NOPATTERN
    321   STACKABLE BOOL TRUE
    322 END
    323 TARGETS METADATA
    324   NAME STR microtestMD05
    325   TESS STR MD05
    326   OBJECT STR MD05%
    327   COMMENT STR Microtest Obs%
    328   STACKABLE BOOL TRUE
    329 END
    330 TARGETS METADATA
    331   NAME STR microtestMD05.noPattern
    332   TESS STR MD05
    333   OBJECT STR MD05%
    334   COMMENT STR Microtest Obs%
    335   REDUCTION STR MICROTEST_NOPATTERN
    336   STACKABLE BOOL TRUE
    337 END
    338 TARGETS METADATA
    339   NAME STR microtestMD06
    340   TESS STR MD06
    341   OBJECT STR MD06%
    342   COMMENT STR Microtest Obs%
    343   STACKABLE BOOL TRUE
    344 END
    345 TARGETS METADATA
    346   NAME STR microtestMD06.noPattern
    347   TESS STR MD06
    348   OBJECT STR MD06%
    349   COMMENT STR Microtest Obs%
    350   REDUCTION STR MICROTEST_NOPATTERN
    351   STACKABLE BOOL TRUE
    352 END
    353 TARGETS METADATA
    354   NAME STR microtestMD07
    355   TESS STR MD07
    356   OBJECT STR MD07%
    357   COMMENT STR Microtest Obs%
    358   STACKABLE BOOL TRUE
    359 END
    360 TARGETS METADATA
    361   NAME STR microtestMD07.noPattern
    362   TESS STR MD07
    363   OBJECT STR MD07%
    364   COMMENT STR Microtest Obs%
    365   REDUCTION STR MICROTEST_NOPATTERN
    366   STACKABLE BOOL TRUE
    367 END
    368 TARGETS METADATA
    369   NAME STR microtestMD08
    370   TESS STR MD08
    371   OBJECT STR MD08%
    372   COMMENT STR Microtest Obs%
    373   STACKABLE BOOL TRUE
    374 END
    375 TARGETS METADATA
    376   NAME STR microtestMD08.noPattern
    377   TESS STR MD08
    378   OBJECT STR MD08%
    379   COMMENT STR Microtest Obs%
    380   REDUCTION STR MICROTEST_NOPATTERN
    381   STACKABLE BOOL TRUE
    382 END
    383 TARGETS METADATA
    384   NAME STR microtestMD09
    385   TESS STR MD09
    386   OBJECT STR MD09%
    387   COMMENT STR Microtest Obs%
    388   STACKABLE BOOL TRUE
    389 END
    390 TARGETS METADATA
    391   NAME STR microtestMD09.noPattern
    392   TESS STR MD09
    393   OBJECT STR MD09%
    394   COMMENT STR Microtest Obs%
    395   REDUCTION STR MICROTEST_NOPATTERN
    396   STACKABLE BOOL TRUE
    397 END
    398 TARGETS METADATA
    399   NAME STR microtestMD10
    400   TESS STR MD10
    401   OBJECT STR MD10%
    402   COMMENT STR Microtest Obs%
    403   STACKABLE BOOL TRUE
    404 END
    405 TARGETS METADATA
    406   NAME STR microtestMD10.noPattern
    407   TESS STR MD10
    408   OBJECT STR MD10%
    409   COMMENT STR Microtest Obs%
    410   REDUCTION STR MICROTEST_NOPATTERN
    411   STACKABLE BOOL TRUE
    412 END
    413225
    414226# Detrend verification data
     
    420232  REF_ID   S64 299
    421233  REF_ITER S32 0
    422 #  FILTER   STR
    423234  MAX      S32 10
    424235END
Note: See TracChangeset for help on using the changeset viewer.