- Timestamp:
- May 11, 2026, 3:12:08 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-pstamp-20260421/ippTasks/simtest.basic.auto
r27214 r43016 6 6 # failure on BLOCK -> CHECK 7 7 8 # a stage starts in state INIT.BLOCK. 9 10 # the "automate.block" task runs the 'block' command regularly. if it 11 # returns a valid result, the block is set and the state remains in 12 # block. if there is no result (ie, no matching BIAS, etc), the stage 13 # is put to state INIT.CHECK. 14 15 # the "automate.check" tasks runs the 'check' command regularly. if 16 # it returns ncheck valid entries (default ncheck = 1), the state goes 17 # to INIT.LAUNCH. 18 19 # the "automate.launch" tasks runs the 'launch' command once. if it returns 20 # ncheck valid entries (default ncheck = 1), the state goes to 21 # INIT.LAUNCH. 22 8 23 # XXX these steps all refer to "@DBNAME@"; they need to be more generic, even for the basic simtest analysis 9 24 10 25 automate METADATA 11 26 name STR BIAS 12 check STR "regtool - processedexp -exp_type BIAS -inst @CAMERA@ -dbname @DBNAME@"27 check STR "regtool -dbname @DBNAME@ -processedexp -exp_type BIAS -inst @CAMERA@" 13 28 ncheck S32 20 14 launch STR "dettool -d efinebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type BIAS -select_exp_type BIAS -dbname @DBNAME@"15 block STR "dettool - runs -active -det_type BIAS -dbname @DBNAME@"29 launch STR "dettool -dbname @DBNAME@ -definebyquery -time_begin 2010/01/01 -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type BIAS -select_exp_type BIAS" 30 block STR "dettool -dbname @DBNAME@ -runs -active -det_type BIAS" 16 31 END 17 32 18 33 automate METADATA 19 34 name STR DARK 20 check STR "detselect - search -inst @CAMERA@ -det_type BIAS -dbname @DBNAME@"21 launch STR "dettool -d efinebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type DARK -select_exp_type DARK -dbname @DBNAME@"22 block STR "dettool - runs -active -det_type DARK -dbname @DBNAME@"35 check STR "detselect -dbname @DBNAME@ -search -inst @CAMERA@ -det_type BIAS -time 2010/01/01" 36 launch STR "dettool -dbname @DBNAME@ -definebyquery -time_begin 2010/01/01 -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type DARK -select_exp_type DARK" 37 block STR "dettool -dbname @DBNAME@ -runs -active -det_type DARK" 23 38 END 24 39 25 40 automate METADATA 26 41 name STR SHUTTER 27 check STR "detselect - search -inst @CAMERA@ -det_type DARK -dbname @DBNAME@"28 launch STR "dettool -d efinebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type SHUTTER -filter r -select_exp_type SKYFLAT -select_filter r -dbname @DBNAME@"29 block STR "dettool - runs -active -det_type SHUTTER -dbname @DBNAME@"42 check STR "detselect -dbname @DBNAME@ -search -inst @CAMERA@ -det_type DARK -time 2010/01/01" 43 launch STR "dettool -dbname @DBNAME@ -definebyquery -time_begin 2010/01/01 -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type SHUTTER -filter r -select_exp_type SKYFLAT -select_filter r" 44 block STR "dettool -dbname @DBNAME@ -runs -active -det_type SHUTTER" 30 45 END 31 46 32 47 automate METADATA 33 48 name STR FLAT-r 34 check STR "detselect - search -inst @CAMERA@ -det_type SHUTTER -dbname @DBNAME@"35 launch STR "dettool -d efinebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type FLAT -filter r -select_exp_type SKYFLAT -select_filter r -dbname @DBNAME@"36 block STR "dettool - runs -active -det_type FLAT -filter r -dbname @DBNAME@"49 check STR "detselect -dbname @DBNAME@ -search -inst @CAMERA@ -det_type SHUTTER -time 2010/01/01" 50 launch STR "dettool -dbname @DBNAME@ -definebyquery -time_begin 2010/01/01 -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type FLAT -filter r -select_exp_type SKYFLAT -select_filter r" 51 block STR "dettool -dbname @DBNAME@ -runs -active -det_type FLAT -filter r" 37 52 END 38 53 39 54 automate METADATA 40 55 name STR FLAT-i 41 check STR "detselect - search -inst @CAMERA@ -det_type SHUTTER -dbname @DBNAME@"42 launch STR "dettool -d efinebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type FLAT -filter i -select_exp_type SKYFLAT -select_filter i -dbname @DBNAME@"43 block STR "dettool - runs -active -det_type FLAT -filter i -dbname @DBNAME@"56 check STR "detselect -dbname @DBNAME@ -search -inst @CAMERA@ -det_type SHUTTER -time 2010/01/01" 57 launch STR "dettool -dbname @DBNAME@ -definebyquery -time_begin 2010/01/01 -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type FLAT -filter i -select_exp_type SKYFLAT -select_filter i" 58 block STR "dettool -dbname @DBNAME@ -runs -active -det_type FLAT -filter i" 44 59 END 45 60 61 ## the lines below assume the simtest suite injects the chips with an end state of chip, but currently they only go to 'reg' 46 62 automate METADATA 47 63 name STR OBJECT-i 48 check STR "detselect -dbname @DBNAME@ -search -inst @CAMERA@ -filter i -det_type FLAT"49 launch STR "chiptool -dbname @DBNAME@ -updaterun -inst @CAMERA@ - filter i -label wait-set_label proc -set_data_group simtest_i -set_dist_group simtest"64 check STR "detselect -dbname @DBNAME@ -search -inst @CAMERA@ -det_type FLAT -filter i -time 2010/01/01" 65 launch STR "chiptool -dbname @DBNAME@ -updaterun -inst @CAMERA@ -label wait -filter i -set_label proc -set_data_group simtest_i -set_dist_group simtest" 50 66 block STR NONE 51 67 END … … 53 69 automate METADATA 54 70 name STR OBJECT-r 55 check STR "detselect -dbname @DBNAME@ -search -inst @CAMERA@ -filter r -det_type FLAT"56 launch STR "chiptool -dbname @DBNAME@ -updaterun -inst @CAMERA@ - filter r -label wait-set_label proc -set_data_group simtest_r -set_dist_group simtest"71 check STR "detselect -dbname @DBNAME@ -search -inst @CAMERA@ -det_type FLAT -filter r -time 2010/01/01" 72 launch STR "chiptool -dbname @DBNAME@ -updaterun -inst @CAMERA@ -label wait -filter r -set_label proc -set_data_group simtest_r -set_dist_group simtest" 57 73 block STR NONE 58 74 END 59 75 60 ### Stack automation 61 automate METADATA 62 name STR STACK 63 regular STR "stacktool -definebyquery -set_label proc -set_data_group simtest_r -set_dist_group simtest -set_workdir file://@CWD@/stack -min_new 4 -min_frac 2 -select_good_frac_min 0.2 -min_num 4 -dbname @DBNAME@" 64 END 65 66 ### Diff automation 67 automate METADATA 68 name STR DIFF 69 regular STR "difftool -definewarpstack -set_label proc -set_workdir file://@CWD@/diff -good_frac 0.2 -dbname @DBNAME@" 70 END 71 72 #### Magic automation??? 73 #automate METADATA 74 # name STR MAGIC 75 # regular STR "magictool -definebyquery -workdir file://@CWD@/magic -good_frac 0.2 -dbname @DBNAME@" 76 #END 76 ### ### Stack automation 77 ### automate METADATA 78 ### name STR STACK 79 ### regular STR "stacktool -dbname @DBNAME@ -definebyquery -set_label proc -set_data_group simtest_r -set_dist_group simtest -set_workdir file://@CWD@/stack -min_new 4 -min_frac 2 -select_good_frac_min 0.2 -min_num 4" 80 ### END 81 ### 82 ### ### Diff automation 83 ### automate METADATA 84 ### name STR DIFF 85 ### regular STR "difftool -dbname @DBNAME@ -definewarpstack -set_label proc -set_workdir file://@CWD@/diff -good_frac 0.2" 86 ### END 77 87 78 88 ### automate METADATA 79 89 ### name STR OBJECT-r 80 ### check STR "detselect - search -inst @CAMERA@ -det_type FLAT -dbname @DBNAME@-filter r"81 ### launch STR "chiptool - unblock -label simtest-r -dbname @DBNAME@"82 ### block STR "chiptool - unmasked -label simtest-r -dbname @DBNAME@"90 ### check STR "detselect -dbname @DBNAME@ -search -inst @CAMERA@ -det_type FLAT -filter r" 91 ### launch STR "chiptool -dbname @DBNAME@ -unblock -label simtest-r" 92 ### block STR "chiptool -dbname @DBNAME@ -unmasked -label simtest-r" 83 93 ### END 84 94 85 95 ### automate METADATA 86 96 ### name STR OBJECT-i 87 ### check STR "detselect - search -inst @CAMERA@ -det_type FLAT -dbname @DBNAME@-filter i"88 ### launch STR "chiptool - unblock -label simtest-i -dbname @DBNAME@"89 ### block STR "chiptool - unmasked -label simtest-i -dbname @DBNAME@"97 ### check STR "detselect -dbname @DBNAME@ -search -inst @CAMERA@ -det_type FLAT -filter i" 98 ### launch STR "chiptool -dbname @DBNAME@ -unblock -label simtest-i" 99 ### block STR "chiptool -dbname @DBNAME@ -unmasked -label simtest-i" 90 100 ### END 91 101 … … 108 118 ### name STR OBJECT-i 109 119 ### block STR "chiptool -dbname @DBNAME@ -unmasked -label wait -filter i -time_begin 2008/1/1 -time_end 2008/1/2" 110 ### check STR "detselect -dbname @DBNAME@ -search -inst @CAMERA@ -det_type FLAT - dbname @DBNAME@ -filter i -time_begin 2008/1/1 -time_end 2008/1/2"111 ### launch STR "chiptool -dbname @DBNAME@ -set_label proc -label wait - dbname @DBNAME@ -time_begin 2008/1/1 -time_end 2008/1/2"120 ### check STR "detselect -dbname @DBNAME@ -search -inst @CAMERA@ -det_type FLAT -filter i -time_begin 2008/1/1 -time_end 2008/1/2" 121 ### launch STR "chiptool -dbname @DBNAME@ -set_label proc -label wait -time_begin 2008/1/1 -time_end 2008/1/2" 112 122 ### END 113 123
Note:
See TracChangeset
for help on using the changeset viewer.
