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

    r16274 r16298  
     1## flatcorr.pro : tasks to run flat-field correction : -*- sh -*-
    12## this file contains the tasks for running the flatcorr stage
    23## these tasks use the book 'flatcorrBook'
    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/flatcorr
     
    10796  host         local
    10897
    109   periods      -poll $loadpoll
    110   periods      -exec $loadexec
     98  periods      -poll $LOADPOLL
     99  periods      -exec $LOADEXEC
    111100  periods      -timeout 60
    112101  # trange     Hourly@00:00 Hourly@00:10
     
    121110    book npages flatcorrBook -var N
    122111    if ($N == 0) break
    123     if ($network == 0) break
     112    if ($NETWORK == 0) break
    124113   
    125114    # look for new images in flatcorrBook
     
    140129    # specify choice of remote host
    141130    # set a specific DVO host here
    142     if ($parallel)
     131    if ($PARALLEL)
    143132      host anyhost
    144133    else
Note: See TracChangeset for help on using the changeset viewer.