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/calibration.pro

    r16275 r16298  
     1## calibration.pro : globals and support macros : -*- sh -*-
    12## this file contains the tasks for running the calibration stage
    23## these tasks use the book 'calBook'
    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/calibration
     
    113102  host         local
    114103
    115   periods      -poll $loadpoll
    116   periods      -exec $loadexec
     104  periods      -poll $LOADPOLL
     105  periods      -exec $LOADEXEC
    117106  periods      -timeout 60
    118107  # trange     Hourly@00:00 Hourly@00:10
     
    127116    book npages calBook -var N
    128117    if ($N == 0) break
    129     if ($network == 0) break
     118    if ($NETWORK == 0) break
    130119   
    131120    # look for new images in calBook
     
    152141    # specify choice of remote host
    153142    # set a specific DVO host here
    154     if ($parallel)
     143    if ($PARALLEL)
    155144      host anyhost
    156145    else
Note: See TracChangeset for help on using the changeset viewer.