IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 5, 2012, 3:48:04 PM (14 years ago)
Author:
eugene
Message:

merge changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120805/ippTasks/survey.pro

    r34265 r34394  
    144144# user functions to manipulate warp/stack diff labels
    145145macro survey.add.WSdiff
    146   if ($0 != 5)
    147     echo "USAGE: survey.add.WSdiff (warp label) (stack label) (dist_group) (workdir base)"
     146  if ($0 != 6)
     147    echo "USAGE: survey.add.WSdiff (warp label) (stack label) (dist_group) (workdir base) (target label)"
    148148    break
    149149  end
     
    152152  book setword SURVEY_DIFF_WARPSTACK $1 DIST_GROUP $3
    153153  book setword SURVEY_DIFF_WARPSTACK $1 WORKDIR $4
     154  book setword SURVEY_DIFF_WARPSTACK $1 TARGET_LABEL $5
    154155  book setword SURVEY_DIFF_WARPSTACK $1 STATE PENDING
    155156end
     
    583584    book getword SURVEY_DIFF_WARPSTACK $label WORKDIR -var workdir
    584585    book getword SURVEY_DIFF_WARPSTACK $label DIST_GROUP -var dist_group
     586    book getword SURVEY_DIFF_WARPSTACK $label TARGET_LABEL -var target_label
    585587
    586588    $year = `date +%Y`
     
    593595    $run = $run -stack_label $stack_label
    594596    $run = $run -set_dist_group $dist_group
    595     $run = $run -set_label $label
    596     $run = $run -set_workdir $workdir/$label/$year/$month/$day
     597    $run = $run -set_label $target_label
     598    $run = $run -set_workdir $workdir/$target_label/$year/$month/$day
    597599    $run = $run -set_reduction WARPSTACK
    598600    $run = $run -available
Note: See TracChangeset for help on using the changeset viewer.