IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19619


Ignore:
Timestamp:
Sep 19, 2008, 12:39:42 PM (18 years ago)
Author:
eugene
Message:

adding simtest.detverify, fixing some bugs

Location:
branches/eam_branch_20080918/ippTasks
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080918/ippTasks/Makefile.am

    r19545 r19619  
    2828        simtest.basic.config \
    2929        simtest.basic.auto \
     30        simtest.detverify.config \
     31        simtest.detverify.auto \
    3032        simtest.flatcorr.config \
    3133        simtest.flatcorr.auto
  • branches/eam_branch_20080918/ippTasks/automate.pro

    r19381 r19619  
    264264      end
    265265      book setword automate $pageName pantaskState INIT.LAUNCH
     266
     267      if ($Ncheck == 1)
     268        # XXX this is a somewhat hackish way to carry information from the 'check' to the 'launch'
     269        book getword tmpCheck page.000 det_id -var DET_ID
     270        book getword tmpCheck page.000 iteration -var ITERATION
     271        book setword automate $pageName det_id $DET_ID
     272        book setword automate $pageName iteration $ITERATION
     273      end
    266274    end
    267275
     
    326334    end
    327335
     336    # modify the launch command to replace certain elements from the page
     337    book getword automate $pageName det_id -var DET_ID
     338    if ("$DET_ID" != "NULL")
     339      echo '$launchCommand'
     340      strsub "$launchCommand" @det_id@ $DET_ID -var launchCommand
     341    end
     342
     343    book getword automate $pageName iteration -var ITERATION
     344    if ("$ITERATION" != "NULL")
     345      echo '$launchCommand'
     346      strsub "$launchCommand" @iteration@ $ITERATION -var launchCommand
     347    end
     348
     349    echo '$launchCommand'
     350
    328351    book setword automate $pageName pantaskState RUN.LAUNCH
    329352
  • branches/eam_branch_20080918/ippTasks/simtest.detverify.auto

    r19612 r19619  
    1717  name       STR BIAS_VERIFY
    1818  check      STR "detselect -search -inst @CAMERA@ -det_type BIAS -dbname @DBNAME@"
    19   launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type BIAS -select_exp_type BIAS -mode verify -dbname @DBNAME@"
     19  launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type BIAS -select_exp_type BIAS -mode verify -ref_det_id @det_id@ -ref_iter @iteration@ -dbname @DBNAME@"
    2020  block      STR "dettool -runs -active -det_type BIAS -mode verify -dbname @DBNAME@"
    2121END
     
    3131  name       STR DARK_VERIFY
    3232  check      STR "detselect -search -inst @CAMERA@ -det_type DARK -dbname @DBNAME@"
    33   launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type DARK -select_exp_type DARK -mode verify -dbname @DBNAME@"
     33  launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type DARK -select_exp_type DARK -mode verify -ref_det_id @det_id@ -ref_iter @iteration@ -dbname @DBNAME@"
    3434  block      STR "dettool -runs -active -det_type DARK -mode verify -dbname @DBNAME@"
    3535END
     
    4545  name       STR SHUTTER_VERIFY
    4646  check      STR "detselect -search -inst @CAMERA@ -det_type SHUTTER -dbname @DBNAME@"
    47   launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type SHUTTER -filter r -select_exp_type FLAT -select_filter r -mode verify -dbname @DBNAME@"
     47  launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type SHUTTER -filter r -select_exp_type FLAT -select_filter r -mode verify -ref_det_id @det_id@ -ref_iter @iteration@ -dbname @DBNAME@"
    4848  block      STR "dettool -runs -active -det_type FLAT -filter r -mode verify -dbname @DBNAME@"
    4949END
     
    6666  name       STR FLAT_VERIFY-r
    6767  check      STR "detselect -search -inst @CAMERA@ -det_type FLAT -filter r -dbname @DBNAME@"
    68   launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type FLAT -filter r -select_exp_type FLAT -select_filter r -mode verify -dbname @DBNAME@"
     68  launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type FLAT -filter r -select_exp_type FLAT -select_filter r -mode verify -ref_det_id @det_id@ -ref_iter @iteration@ -dbname @DBNAME@"
    6969  block      STR "dettool -runs -active -det_type FLAT -filter r -mode verify -dbname @DBNAME@"
    7070END
     
    7373  name       STR FLAT_VERIFY-i
    7474  check      STR "detselect -search -inst @CAMERA@ -det_type FLAT -filter i -dbname @DBNAME@"
    75   launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type FLAT -filter i -select_exp_type FLAT -select_filter i -mode verify -dbname @DBNAME@"
     75  launch     STR "dettool -definebyquery -workdir file://@CWD@/detwork -inst @CAMERA@ -det_type FLAT -filter i -select_exp_type FLAT -select_filter i -mode verify -ref_det_id @det_id@ -ref_iter @iteration@ -dbname @DBNAME@"
    7676  block      STR "dettool -runs -active -det_type FLAT -filter i -mode verify -dbname @DBNAME@"
    7777END
  • branches/eam_branch_20080918/ippTasks/simtest.pro

    r19537 r19619  
    4040    echo "  SIMTEST_AUTO     : define the analysis steps to perform (simtest.auto)"
    4141    echo "  SIMTEST_THREADS  : set the number of threads for the processing node (0)"
     42    echo ""
     43    echo "the following macros can be used to set up specific simtest suites:"
     44    echo "  simtest.setup.basic : run standard simtest suite"
     45    echo "  simtest.setup.detverify : run detrend creation and detrend verification"
     46    echo "  simtest.setup.flatcorr : run a flat-field correction demonstration"
    4247    break
    4348  end
     
    109114# auto: simtest.basic.auto, simtest.flatcorr.auto
    110115
     116macro simtest.setup.basic
     117  $PPSIM_RECIPE = default
     118  $SIMTEST_SEQUENCE = simtest.basic.config
     119  $SIMTEST_AUTO = simtest.basic.auto
     120end
     121
     122macro simtest.setup.detverify
     123  $PPSIM_RECIPE = default
     124  $SIMTEST_SEQUENCE = simtest.detverify.config
     125  $SIMTEST_AUTO = simtest.detverify.auto
     126end
     127
    111128macro simtest.setup.flatcorr
    112129  $PPSIM_RECIPE = FLATCORR
     
    114131  $SIMTEST_AUTO = simtest.flatcorr.auto
    115132end
     133
Note: See TracChangeset for help on using the changeset viewer.