IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12369


Ignore:
Timestamp:
Mar 8, 2007, 5:59:18 PM (19 years ago)
Author:
Paul Price
Message:

Fixing up workdir a bit better.

Location:
trunk/ippTasks
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/camera.pro

    r12368 r12369  
    143143    exec mkdir -p $outroot
    144144
     145    $run = camera_exp.pl --exp_id $EXP_ID --cam_id $CAM_ID --camera $CAMERA $ARGS
     146    if ($WORKDIR != NULL)
     147      $run = $run --workdir $outroot
     148    end
     149
    145150    # save the pageName for future reference below
    146151    options $pageName
     
    148153    # create the command line
    149154    if ($VERBOSE > 1)
    150       echo command camera_exp.pl --exp_id $EXP_ID --cam_id $CAM_ID --camera $CAMERA --workdir $outroot $ARGS
     155      echo command $run
    151156    end
    152     command camera_exp.pl --exp_id $EXP_ID --cam_id $CAM_ID --camera $CAMERA --workdir $outroot $ARGS
     157    command $run
    153158  end
    154159
  • trunk/ippTasks/chip.pro

    r12368 r12369  
    146146    exec mkdir -p $outroot
    147147
     148    $run = chip_imfile.pl --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA $ARGS
     149    if ($WORKDIR != NULL)
     150      $run = $run --workdir $outroot
     151    end
     152
    148153    # save the pageName for future reference below
    149154    options $pageName
     
    151156    # create the command line
    152157    if ($VERBOSE > 1)
    153       echo command chip_imfile.pl --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA --workdir $outroot $ARGS
     158      echo command $run
    154159    end
    155     command chip_imfile.pl --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA --workdir $outroot $ARGS
     160    command $run
    156161  end
    157162
  • trunk/ippTasks/detrend.norm.pro

    r12368 r12369  
    175175    exec mkdir -p $outroot
    176176
     177    $run = detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE $ARGS
     178    if ($WORKDIR != NULL)
     179      $run = $run --workdir $outroot
     180    end
     181
    177182    # save the pageName for future reference below
    178183    options $pageName
     
    180185    # create example job options as a demonstration
    181186    if ($VERBOSE > 1)
    182       echo command detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --workdir $outroot $ARGS
    183     end
    184     command detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --workdir $outroot $ARGS
     187      echo command $run
     188    end
     189    command $run
    185190  end
    186191
     
    293298    exec mkdir -p $outroot
    294299
     300    $run = detrend_norm_apply.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --value $NORM --input_uri $URI --camera $CAMERA --det_type $DET_TYPE $ARGS
     301    if ($WORKDIR != NULL)
     302      $run = $run --workdir $outroot
     303    end
     304   
    295305    # save the pageName for future reference below
    296306    options $pageName
     
    298308    # create example job options as a demonstration
    299309    if ($VERBOSE > 1)
    300       echo command detrend_norm_apply.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --value $NORM --input_uri $URI --camera $CAMERA --det_type $DET_TYPE --workdir $outroot $ARGS
    301     end
    302     command detrend_norm_apply.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --value $NORM --input_uri $URI --camera $CAMERA --det_type $DET_TYPE --workdir $outroot $ARGS
     310      echo command $run
     311    end
     312    command $run
    303313  end
    304314
     
    408418    exec mkdir -p $outroot
    409419
     420    $run = detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE  $ARGS
     421    if ($WORKDIR != NULL)
     422      $run = $run --workdir $outroot
     423    end
     424
    410425    # save the pageName for future reference below
    411426    options $pageName
     
    413428    # create example job options as a demonstration
    414429    if ($VERBOSE > 1)
    415       echo command detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE --workdir $outroot $ARGS
    416     end
    417     command detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE --workdir $outroot $ARGS
     430      echo command $run
     431    end
     432    command $run
    418433  end
    419434
  • trunk/ippTasks/detrend.process.pro

    r12368 r12369  
    165165    exec mkdir -p $outroot
    166166
     167    $run = detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class_id $CLASS_ID --input_uri $URI --camera $CAMERA $ARGS
     168    if ($WORKDIR != NULL)
     169      $run = $run --workdir $outroot
     170    end
     171
    167172    # save the pageName for future reference below
    168173    options $pageName
     
    170175    # create example job options as a demonstration
    171176    if ($VERBOSE > 1)
    172       echo command detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class_id $CLASS_ID --input_uri $URI --camera $CAMERA --workdir $outroot $ARGS
    173     end
    174     command detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class_id $CLASS_ID --input_uri $URI --camera $CAMERA --workdir $outroot $ARGS
     177      echo command $run
     178    end
     179    command $run
    175180  end
    176181
     
    282287    exec mkdir -p $outroot
    283288
     289    $run = detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --camera $CAMERA $ARGS
     290    if ($WORKDIR != NULL)
     291      $run = $run --workdir $outroot
     292    end
     293
    284294    # save the pageName for future reference below
    285295    options $pageName
     
    287297    # create example job options as a demonstration
    288298    if ($VERBOSE > 1)
    289       echo command detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --camera $CAMERA --workdir $outroot $ARGS
    290     end
    291     command detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --camera $CAMERA --workdir $outroot $ARGS
     299      echo command $run
     300    end
     301    command $run
    292302  end
    293303
  • trunk/ippTasks/detrend.reject.pro

    r12368 r12369  
    144144    exec mkdir -p $outroot
    145145
     146    $run = detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA $ARGS
     147    if ($WORKDIR != NULL)
     148      $run = $run --workdir $outroot
     149    end
     150
    146151    # save the pageName for future reference below
    147152    options $pageName
     
    149154    # create example job options as a demonstration
    150155    if ($VERBOSE > 1)
    151       echo command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS
     156      echo command $run
    152157    end
    153     command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS
     158    command $run
    154159 end
    155160
  • trunk/ippTasks/detrend.resid.pro

    r12368 r12369  
    165165    exec mkdir -p $outroot
    166166
     167    $run = detrend_resid.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE $ARGS
     168    if ($WORKDIR != NULL)
     169      $run = $run --workdir $outroot
     170    end
     171
    167172    # save the pageName for future reference below
    168173    options $pageName
     
    170175    # create command
    171176    if ($VERBOSE > 1)
    172       echo command detrend_resid.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE --workdir $outroot $ARGS
    173     end
    174     command detrend_resid.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE --workdir $outroot $ARGS
     177      echo command $run
     178    end
     179    command $run
    175180  end
    176181
     
    283288    exec mkdir -p $outroot
    284289
     290    $run = detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA $ARGS
     291    if ($WORKDIR != NULL)
     292      $run = $run --workdir $outroot
     293    end
     294
    285295    # save the pageName for future reference below
    286296    options $pageName
     
    288298    # create example job options as a demonstration
    289299    if ($VERBOSE > 1)
    290       echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS
    291     end
    292     command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS
     300      echo command $run
     301    end
     302    command $run
    293303  end
    294304
  • trunk/ippTasks/detrend.stack.pro

    r12368 r12369  
    148148    options $pageName
    149149
     150    $run = detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA $ARGS
     151    if ($WORKDIR != NULL)
     152      $run = $run --workdir $outroot
     153    end
     154
    150155    # create the command line
    151156    if ($VERBOSE > 1)
    152       echo command detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS
     157      echo command $run
    153158    end
    154     command detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS
     159    command $run
    155160  end
    156161
  • trunk/ippTasks/diff.pro

    r12368 r12369  
    152152    exec mkdir -p $outroot
    153153
     154    $run = diff_skycell.pl --diff_id $DIFF_ID $ARGS
     155    if ($WORKDIR != NULL)
     156      $run = $run --workdir $outroot
     157    end
     158
    154159    # save the pageName for future reference below
    155160    options $pageName
     
    157162    # create the command line
    158163    if ($VERBOSE > 1)
    159       echo command diff_skycell.pl --diff_id $DIFF_ID --workdir $outroot $ARGS
     164      echo command $run
    160165    end
    161     command diff_skycell.pl --diff_id $DIFF_ID --workdir $outroot $ARGS
     166    command $run
    162167  end
    163168
  • trunk/ippTasks/stack.pro

    r12368 r12369  
    152152    exec mkdir -p $outroot
    153153
     154    $run = stack_skycell.pl --stack_id $STACK_ID $ARGS
     155    if ($WORKDIR != NULL)
     156      $run = $run --workdir $outroot
     157    end
     158
    154159    # save the pageName for future reference below
    155160    options $pageName
     
    157162    # create the command line
    158163    if ($VERBOSE > 1)
    159       echo command stack_skycell.pl --stack_id $STACK_ID --workdir $outroot $ARGS
     164      echo command $run
    160165    end
    161     command stack_skycell.pl --stack_id $STACK_ID --workdir $outroot $ARGS
     166    command $run
    162167  end
    163168
  • trunk/ippTasks/warp.pro

    r12368 r12369  
    169169    exec mkdir -p $outroot
    170170
     171    $run = warp_overlap.pl --warp_id $WARP_ID --camera $CAMERA $ARGS
     172    if ($WORKDIR != NULL)
     173      $run = $run --workdir $WORKDIR
     174    end
     175
    171176    # save the pageName for future reference below
    172177    options $pageName
     
    174179    # create the command line
    175180    if ($VERBOSE > 1)
    176       echo command warp_overlap.pl --warp_id $WARP_ID --camera $CAMERA --workdir $outroot $ARGS
    177     end
    178     command warp_overlap.pl --warp_id $WARP_ID --camera $CAMERA --workdir $outroot $ARGS
     181      echo command $run
     182    end
     183    command $run
    179184  end
    180185
     
    287292    exec mkdir -p $outroot
    288293
     294    $run = warp_skycell.pl --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_id $TESS_ID --camera $CAMERA $ARGS
     295    if ($WORKDIR != NULL)
     296      $run = $run --workdir $outroot
     297    end
     298
    289299    # save the pageName for future reference below
    290300    options $pageName
     
    292302    # create the command line
    293303    if ($VERBOSE > 1)
    294       echo command warp_skycell.pl --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_id $TESS_ID --camera $CAMERA --workdir $outroot $ARGS
    295     end
    296     command warp_skycell.pl --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_id $TESS_ID --camera $CAMERA --workdir $outroot $ARGS
     304      echo command $run
     305    end
     306    command $run
    297307  end
    298308
Note: See TracChangeset for help on using the changeset viewer.