IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 4, 2008, 2:18:44 PM (18 years ago)
Author:
eugene
Message:

new macro to test presence of required globals; change globals to upper case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/detrend.process.pro

    r16208 r16298  
     1## detrend.process.pro : globals and support macros : -*- sh -*-
    12## this file contains the tasks for running the detrend processing stage
    23## these tasks use the books detPendingProcessedImfile and detPendingProcessedExp
    34
    4 if ($?network == 0)
    5   $network = 1
    6 end
    7 if ($?parallel == 0)
    8   $parallel = 0
    9 end
    10 if ($?VERBOSE == 0)
    11   echo "VERBOSE not defined: load pantasks.pro first"
    12   break
    13 end
    14 if ($?LOGDIR == 0)
    15   echo "LOGDIR not defined: load pantasks.pro first"
    16   break
    17 end
     5# test for required global variables
     6check.globals
    187
    198$LOGSUBDIR = $LOGDIR/detrend
     
    7665  host         local
    7766
    78   periods      -poll $loadpoll
    79   periods      -exec $loadexec
     67  periods      -poll $LOADPOLL
     68  periods      -exec $LOADEXEC
    8069  periods      -timeout 30
    8170  npending     1
     
    129118    book npages detPendingProcessedImfile -var N
    130119    if ($N == 0) break
    131     if ($network == 0) break
     120    if ($NETWORK == 0) break
    132121   
    133122    # look for new images in detPendingProcessedImfile
     
    202191  host         local
    203192
    204   periods      -poll $loadpoll
    205   periods      -exec $loadexec
     193  periods      -poll $LOADPOLL
     194  periods      -exec $LOADEXEC
    206195  periods      -timeout 30
    207196  npending     1
     
    255244    book npages detPendingProcessedExp -var N
    256245    if ($N == 0) break
    257     if ($network == 0) break
     246    if ($NETWORK == 0) break
    258247   
    259248    # look for new exposures in detPendingProcessedExp
Note: See TracChangeset for help on using the changeset viewer.