IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12107


Ignore:
Timestamp:
Feb 27, 2007, 5:54:08 PM (19 years ago)
Author:
Paul Price
Message:

Fixing capitalisation to avoid warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/warp.pro

    r12074 r12107  
    22
    33### This is done in two (main) steps.  After a warp (with associated warp_id) is defined,
    4 ### overlaps between the exposure being warped and skycells are calculated (tasks in warpPendingExp).
     4### overlaps between the exposure being warped and skycells are calculated (tasks in warpInputExp).
    55### Then for each skycell, the warp is made (tasks in warpPendingSkycell).
    66
     
    2626
    2727### Initialise the books containing the tasks to do
    28 book init warpPendingExp
    29 book init warpPendingSkycell
     28book init warpInputExp
     29book init warpPendingSkyCell
    3030
    3131### Database lists
     
    3535### Check status of warping tasks
    3636macro warp.status
    37   book listbook warpPendingExp
     37  book listbook warpInputExp
    3838  book listbook warpPendingSkycell
    3939end
     
    4141### Reset warping tasks
    4242macro warp.reset
    43   book init warpPendingExp
     43  book init warpInputExp
    4444  book init warpPendingSkycell
    4545end
     
    7878
    7979### Load tasks for calculating the warp overlaps
    80 ### Tasks are loaded into warpPendingExp.
     80### Tasks are loaded into warpInputExp.
    8181task           warp.exp.load
    8282  host         local
     
    106106  task.exit    0
    107107    # convert 'stdout' to book format
    108     ipptool2book stdout warpPendingExp -key warp_id -uniq -setword dbname $options:0
     108    ipptool2book stdout warpInputExp -key warp_id -uniq -setword dbname $options:0
    109109    if ($VERBOSE > 2)
    110       book listbook warpPendingExp
     110      book listbook warpInputExp
    111111    end
    112112
    113113    # delete existing entries in the appropriate states
    114     process_cleanup warpPendingExp
     114    process_cleanup warpInputExp
    115115  end
    116116
     
    127127
    128128### Run tasks for calculating the warp overlaps
    129 ### Tasks are taken from warpPendingExp.
     129### Tasks are taken from warpInputExp.
    130130task           warp.exp.run
    131131  periods      -poll $runpoll
     
    134134
    135135  task.exec
    136     book npages warpPendingExp -var N
     136    book npages warpInputExp -var N
    137137    if ($N == 0) break
    138138    if ($network == 0) break
    139139   
    140     # look for new images in warpPendingExp (state == NULL)
    141     book getpage warpPendingExp 0 -var pageName -key state NULL
     140    # look for new images in warpInputExp (state == NULL)
     141    book getpage warpInputExp 0 -var pageName -key state NULL
    142142    if ($pageName == NULL) break
    143143
    144     book setword warpPendingExp $pageName state RUN
    145     book getword warpPendingExp $pageName warp_id -var WARP_ID
    146     book getword warpPendingExp $pageName camera -var CAMERA
    147     book getword warpPendingExp $pageName workdir -var WORKDIR
    148     book getword warpPendingExp $pageName dbname -var DBNAME
     144    book setword warpInputExp $pageName state RUN
     145    book getword warpInputExp $pageName warp_id -var WARP_ID
     146    book getword warpInputExp $pageName camera -var CAMERA
     147    book getword warpInputExp $pageName workdir -var WORKDIR
     148    book getword warpInputExp $pageName dbname -var DBNAME
    149149    set_standard_args
    150150
     
    177177  # default exit status
    178178  task.exit    default
    179     process_exit warpPendingExp $options:0 $JOB_STATUS
     179    process_exit warpInputExp $options:0 $JOB_STATUS
    180180  end
    181181
     
    183183  task.exit    timeout
    184184    showcommand timeout
    185     book setword warpPendingExp $options:0 state TIMEOUT
     185    book setword warpInputExp $options:0 state TIMEOUT
    186186  end
    187187end
     
    239239### Run tasks for calculating the warp overlaps
    240240### Tasks are taken from warpPendingSkycell.
    241 task           warp.exp.run
     241task           warp.skycell.run
    242242  periods      -poll $runpoll
    243243  periods      -exec $runexec
Note: See TracChangeset for help on using the changeset viewer.