IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12109


Ignore:
Timestamp:
Feb 27, 2007, 6:01:29 PM (19 years ago)
Author:
Paul Price
Message:

Fixing capitalisation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/warp.pro

    r12108 r12109  
    3636macro warp.status
    3737  book listbook warpInputExp
    38   book listbook warpPendingSkycell
     38  book listbook warpPendingSkyCell
    3939end
    4040
     
    4242macro warp.reset
    4343  book init warpInputExp
    44   book init warpPendingSkycell
     44  book init warpPendingSkyCell
    4545end
    4646
     
    189189
    190190### Load tasks for doing the warps
    191 ### Tasks are loaded into warpPendingSkycell.
     191### Tasks are loaded into warpPendingSkyCell.
    192192task           warp.skycell.load
    193193  host         local
     
    217217  task.exit    0
    218218    # convert 'stdout' to book format
    219     ipptool2book stdout warpPendingSkycell -key warp_id:skycell_id:tess_id -uniq -setword dbname $options:0
     219    ipptool2book stdout warpPendingSkyCell -key warp_id:skycell_id:tess_id -uniq -setword dbname $options:0
    220220    if ($VERBOSE > 2)
    221       book listbook warpPendingSkycell
     221      book listbook warpPendingSkyCell
    222222    end
    223223
    224224    # delete existing entries in the appropriate states
    225     process_cleanup warpPendingSkycell
     225    process_cleanup warpPendingSkyCell
    226226  end
    227227
     
    238238
    239239### Run tasks for calculating the warp overlaps
    240 ### Tasks are taken from warpPendingSkycell.
     240### Tasks are taken from warpPendingSkyCell.
    241241task           warp.skycell.run
    242242  periods      -poll $runpoll
     
    245245
    246246  task.exec
    247     book npages warpPendingSkycell -var N
     247    book npages warpPendingSkyCell -var N
    248248    if ($N == 0) break
    249249    if ($network == 0) break
    250250   
    251     # look for new images in warpPendingSkycell (state == NULL)
    252     book getpage warpPendingSkycell 0 -var pageName -key state NULL
     251    # look for new images in warpPendingSkyCell (state == NULL)
     252    book getpage warpPendingSkyCell 0 -var pageName -key state NULL
    253253    if ($pageName == NULL) break
    254254
    255     book setword warpPendingSkycell $pageName state RUN
    256     book getword warpPendingSkycell $pageName warp_id -var WARP_ID
    257     book getword warpPendingSkycell $pageName skycell_id -var SKYCELL_ID
    258     book getword warpPendingSkycell $pageName tess_id -var TESS_ID
    259     book getword warpPendingSkycell $pageName exp_tag -var EXP_TAG
    260     book getword warpPendingSkycell $pageName camera -var CAMERA
    261     book getword warpPendingSkycell $pageName workdir -var WORKDIR
    262     book getword warpPendingSkycell $pageName dbname -var DBNAME
     255    book setword warpPendingSkyCell $pageName state RUN
     256    book getword warpPendingSkyCell $pageName warp_id -var WARP_ID
     257    book getword warpPendingSkyCell $pageName skycell_id -var SKYCELL_ID
     258    book getword warpPendingSkyCell $pageName tess_id -var TESS_ID
     259    book getword warpPendingSkyCell $pageName exp_tag -var EXP_TAG
     260    book getword warpPendingSkyCell $pageName camera -var CAMERA
     261    book getword warpPendingSkyCell $pageName workdir -var WORKDIR
     262    book getword warpPendingSkyCell $pageName dbname -var DBNAME
    263263    set_standard_args
    264264
     
    291291  # default exit status
    292292  task.exit    default
    293     process_exit warpPendingSkycell $options:0 $JOB_STATUS
     293    process_exit warpPendingSkyCell $options:0 $JOB_STATUS
    294294  end
    295295
     
    297297  task.exit    timeout
    298298    showcommand timeout
    299     book setword warpPendingSkycell $options:0 state TIMEOUT
    300   end
    301 end
    302 
     299    book setword warpPendingSkyCell $options:0 state TIMEOUT
     300  end
     301end
     302
Note: See TracChangeset for help on using the changeset viewer.