IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 15, 2006, 1:58:11 PM (19 years ago)
Author:
eugene
Message:

adding some multisite features

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/pantasks.pro

    r10746 r10760  
    99# $LOGDIR = `ipp_datapath.pl path://ESSENCE`
    1010# $LOGDIR = `ipp_datapath.pl path://SIMTEST`
    11 $LOGDIR = `ipp_datapath.pl path://ISPTEST`
    12 
    13 $LOGDIR = $LOGDIR/logs
    14 exec mkdir -p $LOGDIR
     11# $LOGDIR = `ipp_datapath.pl path://ISPTEST`
     12# $LOGDIR = $LOGDIR/logs
     13# exec mkdir -p $LOGDIR
    1514
    1615$loadpoll = 1
     
    1918$runexec = 1
    2019
    21 macro init.controller
     20macro init.essence
     21  $LOGDIR = `ipp_datapath.pl path://ESSENCE`
     22  $LOGDIR = $LOGDIR/logs
     23  exec mkdir -p $LOGDIR
     24
     25  if ($parallel)
     26    controller exit true
     27    controller host add sn2
     28    controller host add sn3
     29    controller host add sn4
     30    controller host add sn5
     31  end
     32end
     33
     34macro init.isptest
     35  $LOGDIR = `ipp_datapath.pl path://ISPTEST`
     36  $LOGDIR = $LOGDIR/logs
     37  exec mkdir -p $LOGDIR
     38
    2239  if ($parallel)
    2340    controller exit true
     
    3148    controller host add po09
    3249    controller host add po10
    33 #    controller host add sn6
    34 # sn7 serves the disk
    3550  end
    3651end
     
    4055macro load.tasks
    4156  input $scripts/phase0.pro
    42 #  input $scripts/phase2.pro
    43 #  input $scripts/phase3.pro
    44 #  input $scripts/detrend.process.pro
    45 #  input $scripts/detrend.stack.pro
    46 #  input $scripts/detrend.norm.pro
    47 #  input $scripts/detrend.resid.pro
    48 #  input $scripts/detrend.reject.pro
    49 end
     57  input $scripts/phase2.pro
     58# input $scripts/phase3.pro
    5059
    51 macro define.bias
    52   exec dettool -definebyquery -det_type bias -exp_type bias -camera isp
    53   run
    54 end
    55 
    56 macro define.dark
    57   exec dettool -definebyquery -det_type dark -exp_type dark -camera isp
    58   run
    59 end
    60 
    61 macro define.flat
    62   exec dettool -definebyquery -det_type flat -exp_type flat -camera isp
    63   run
    64 end
    65 
    66 macro define.all
    67   ## perhaps not the best way to run this...
    68   break
    69   exec dettool -definebyquery -det_type bias -exp_type bias -camera isp
    70   exec dettool -definebyquery -det_type dark -exp_type dark -camera isp
    71   exec dettool -definebyquery -det_type flat -exp_type flat -camera isp
    72   run
    73 end
    74 
    75 macro cleanup
    76   exec rm -f *.log
    77 
    78   exec rm -f ../bias/*.log
    79   exec rm -f ../bias/*.stats
    80   exec rm -f ../bias/*.detproc.*.fits
    81   exec rm -f ../bias/*.detproc.*.jpg
    82   exec rm -f ../bias/*.detproc.*.list
    83   exec rm -f ../bias/*.detresid.*.fits
    84   exec rm -f ../bias/*.detresid.*.jpg
    85   exec rm -f ../bias/*.detresid.*.list
    86   exec rm -f ../bias/ISP.bias.*.fits
    87   exec rm -f ../bias/ISP.bias.*.jpg
    88   exec rm -f ../bias/ISP.bias.*.log
    89 
    90   exec rm -f ../dark/*.log
    91   exec rm -f ../dark/*.stats
    92   exec rm -f ../dark/*.detproc.*.fits
    93   exec rm -f ../dark/*.detproc.*.jpg
    94   exec rm -f ../dark/*.detproc.*.list
    95   exec rm -f ../dark/*.detresid.*.fits
    96   exec rm -f ../dark/*.detresid.*.jpg
    97   exec rm -f ../dark/*.detresid.*.list
    98   exec rm -f ../dark/ISP.dark.*.fits
    99   exec rm -f ../dark/ISP.dark.*.jpg
    100   exec rm -f ../dark/ISP.dark.*.log
    101 
    102   exec rm -f ../flat/*.log
    103   exec rm -f ../flat/*.stats
    104   exec rm -f ../flat/*.detproc.*.fits
    105   exec rm -f ../flat/*.detproc.*.jpg
    106   exec rm -f ../flat/*.detproc.*.list
    107   exec rm -f ../flat/*.detresid.*.fits
    108   exec rm -f ../flat/*.detresid.*.jpg
    109   exec rm -f ../flat/*.detresid.*.list
    110   exec rm -f ../flat/ISP.flat.*.fits
    111   exec rm -f ../flat/ISP.flat.*.jpg
    112   exec rm -f ../flat/ISP.flat.*.log
    113 
    114   exec rm -f ../object/*.log
    115   exec rm -f ../object/*.p2.*.fits
    116   exec rm -f ../object/*.p3.*.jpg
     60  input $scripts/detrend.process.pro
     61  input $scripts/detrend.stack.pro
     62  input $scripts/detrend.norm.pro
     63  input $scripts/detrend.resid.pro
     64  input $scripts/detrend.reject.pro
    11765end
    11866
Note: See TracChangeset for help on using the changeset viewer.