IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 11, 2006, 2:07:20 PM (20 years ago)
Author:
eugene
Message:

updates for task rate, cleanup of pantasks.pro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/pantasks.pro

    r9455 r9490  
    55$WORKDIR = `ipp_workdir.pl`
    66
    7 macro init
     7macro init.controller
    88  if ($parallel)
    99    # controller host add alala
     
    1414    controller host add po06
    1515  end
     16end
     17
     18# need the ability to activate or deactivate specific tasks...
     19
     20macro load.tasks
     21  input $scripts/phase0.pro
     22  input $scripts/phase2.pro
     23  input $scripts/phase3.pro
     24  input $scripts/detrend.process.pro
     25  input $scripts/detrend.stack.pro
     26  input $scripts/detrend.norm.pro
     27  input $scripts/detrend.resid.pro
     28  input $scripts/detrend.reject.pro
     29end
     30
     31macro define.bias
     32  exec dettool -definebyquery -det_type bias -exp_type bias -camera isp
     33  run
     34end
     35
     36macro define.dark
     37  exec dettool -definebyquery -det_type dark -exp_type dark -camera isp
     38  run
     39end
     40
     41macro define.flat
     42  exec dettool -definebyquery -det_type flat -exp_type flat -camera isp
     43  run
     44end
     45
     46macro define.all
     47  ## perhaps not the best way to run this...
     48  break
     49  exec dettool -definebyquery -det_type bias -exp_type bias -camera isp
     50  exec dettool -definebyquery -det_type dark -exp_type dark -camera isp
     51  exec dettool -definebyquery -det_type flat -exp_type flat -camera isp
     52  run
     53end
     54
     55macro cleanup
    1656  exec rm -f *.log
    1757
     
    5696  exec rm -f ../object/*.p3.*.jpg
    5797end
    58 
    59 # need the ability to activate or deactivate specific tasks...
    60 
    61 macro objects
    62   init
    63   exec object.sh
    64   input $scripts/phase0.pro
    65   input $scripts/phase2.pro
    66   input $scripts/phase3.pro
    67   run
    68 end
    69 
    70 macro step1
    71   init
    72   exec upload.sh
    73   input $scripts/phase0.pro
    74   # input $scripts/phase2.pro
    75   # input $scripts/phase3.pro
    76   input $scripts/detrend.process.pro
    77   input $scripts/detrend.stack.pro
    78   input $scripts/detrend.norm.pro
    79   input $scripts/detrend.resid.pro
    80   input $scripts/detrend.reject.pro
    81   run
    82 end
    83 
    84 macro define.bias
    85   exec dettool -definebyquery -det_type bias -exp_type bias -camera isp
    86   run
    87 end
    88 
    89 macro define.dark
    90   exec dettool -definebyquery -det_type dark -exp_type dark -camera isp
    91   run
    92 end
    93 
    94 macro define.flat
    95   exec dettool -definebyquery -det_type flat -exp_type flat -camera isp
    96   run
    97 end
    98 
    99 macro define.all
    100   exec dettool -definebyquery -det_type bias -exp_type bias -camera isp
    101   exec dettool -definebyquery -det_type dark -exp_type dark -camera isp
    102   exec dettool -definebyquery -det_type flat -exp_type flat -camera isp
    103   run
    104 end
Note: See TracChangeset for help on using the changeset viewer.