IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 7, 2006, 4:01:08 PM (20 years ago)
Author:
Paul Price
Message:

Updating to use current parameter order out of the pxtools, and command lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/detrend.process.pro

    r9506 r10542  
    5454      $CLASS_ID = $word:4
    5555      $URI      = $word:5
    56       queuepush DetrendProcessImfiles -uniq -key 1:3:5 "NEW $DET_ID $DET_TYPE $EXP_TAG $CLASS $CLASS_ID $URI"
     56      $CAMERA   = $word:21
     57      queuepush DetrendProcessImfiles -uniq -key 1:3:5 "NEW $DET_ID $DET_TYPE $EXP_TAG $CLASS $CLASS_ID $URI $CAMERA"
    5758    end
    5859
     
    102103    $CLASS_ID = $word:4
    103104    $URI      = $word:5
     105    $CAMERA   = $word:6
    104106
    105107    $LOG_DIR = `dirname $URI`
     
    116118    # create example job options as a demonstration
    117119    options "$line"
    118     echo command detrend_process_imfile.pl --det_id $DET_ID --exp_tag $EXP_TAG --class $CLASS --class_id $CLASS_ID --det_type $DET_TYPE --input_uri $URI
    119     command detrend_process_imfile.pl --det_id $DET_ID --exp_tag $EXP_TAG --class $CLASS --class_id $CLASS_ID --det_type $DET_TYPE --input_uri $URI
     120    echo command detrend_process_imfile.pl --det_id $DET_ID --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --input_uri $URI --camera $CAMERA
     121    command detrend_process_imfile.pl --det_id $DET_ID --exp_tag $EXP_TAG --class $CLASS --class_id $CLASS_ID --det_type $DET_TYPE --input_uri $URI --camera $CAMERA
    120122  end
    121123
     
    123125  task.exit 0
    124126    queuepush DetrendProcessImfiles -replace -key 1:3:5 "DONE $options:0"
    125     # detrend_process_imfile.pl --force_exist --det_id $DET_ID --exp_tag $EXP_TAG --class $CLASS --class_id $CLASS_ID --det_type $DET_TYPE --input_uri $URI
     127    # detrend_process_imfile.pl --force_exist --det_id $DET_ID --exp_tag $EXP_TAG --class $CLASS --class_id $CLASS_ID --det_type $DET_TYPE --input_uri $URI --camera $CAMERA
    126128  end
    127129
     
    169171      $DET_TYPE = $word:2
    170172      $EXP_TAG  = $word:3
    171       queuepush DetrendProcessExposures -uniq -key 1:2:4 "NEW $DET_ID $ITER $DET_TYPE $EXP_TAG"
     173      $CAMERA   = $word:4
     174      queuepush DetrendProcessExposures -uniq -key 1:2:4 "NEW $DET_ID $ITER $DET_TYPE $EXP_TAG $CAMERA"
    172175    end
    173176
     
    213216    $DET_TYPE = $word:2
    214217    $EXP_TAG  = $word:3
     218    $CAMERA   = $word:4
    215219
    216220    # XXX need the classID in dettool -toprocessedexp -simple output
     
    228232    # create example job options as a demonstration
    229233    options "$line"
    230     echo command detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG
    231     command detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG
     234    echo command detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --camera $CAMERA
     235    command detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --camera $CAMERA
    232236  end
    233237
Note: See TracChangeset for help on using the changeset viewer.