IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 10, 2010, 6:28:51 PM (16 years ago)
Author:
watersc1
Message:

Skycell Summary and stack Association stuff should be finished. I'll merge and do final tests on monday.

Location:
branches/czw_branch/20100519
Files:
9 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20100519

  • branches/czw_branch/20100519/ippTasks/Makefile.am

    r27149 r28304  
    2020        diff.pro \
    2121        stack.pro \
     22        staticsky.pro \
    2223        summit.copy.pro \
    2324        survey.pro \
     
    3132        dqstats.pro \
    3233        science.cleanup.pro \
     34        minidvodb.pro \
    3335        nightly_stacks.pro \
    3436        lossy_compress.pro
  • branches/czw_branch/20100519/ippTasks/addstar.pro

    r27280 r28304  
    4545end
    4646
     47
    4748# this variable will cycle through the known database names
    4849$addstar_DB = 0
    4950$addstar_revert_DB = 0
     51
    5052
    5153# select images ready for addstar analysis
     
    6466
    6567  task.exec
    66     if ($LABEL:n == 0) break
     68   # if ($LABEL:n == 0) break
    6769    $run = addtool -pendingexp
    6870    if ($DB:n == 0)
     
    134136    book getword addPendingExp $pageName reduction -var REDUCTION
    135137    book getword addPendingExp $pageName dvodb  -var DVODB
     138    book getword addPendingExp $pageName minidvodb  -var MINIDVODB
     139    book getword addPendingExp $pageName minidvodb_name  -var MINIDVODB_NAME
     140    book getword addPendingExp $pageName minidvodb_group  -var MINIDVODB_GROUP
    136141    book getword addPendingExp $pageName image_only -var IMAGE_ONLY
    137142    book getword addPendingExp $pageName dbname -var DBNAME
     
    164169      $run = $run --image-only
    165170    end
     171    if ("$MINIDVODB" == "T")
     172    $run = $run --minidvodb
     173    $run = $run --minidvodb_group $MINIDVODB_GROUP
     174        if (("$MINIDVODB_NAME" != "NULL") && ("$MINIDVODB_NAME" != "(null)"))
     175           $run = $run --minidvodb_name $MINIDVODB_NAME #have addstar_run.pl grab the 'active' name if it is NULL
     176        end
     177    end
    166178   
    167179    add_standard_args run
  • branches/czw_branch/20100519/ippTasks/diff.pro

    r28045 r28304  
    1111book init diffSkyfile
    1212#book init diffCleanup
     13book init diffPendingSummary
    1314
    1415### Database lists
     
    1617$diffAdvance_DB = 0
    1718$diff_revert_DB = 0
     19$diffSummary_DB = 0
    1820#$diffCleanup_DB = 0
    1921
     
    2729macro diff.reset
    2830  book init diffSkyfile
     31  book init diffPendingSummary
    2932#  book init diffCleanup
    3033end
     
    573576    book getword warpPendingSummary $pageName tess_id -var TESS_DIR
    574577    book getword diffPendingSummary $pageName diff_mode -var DIFF_MODE
    575     book getword diffPendingSummary $pageName exp_tag -var EXP_TAG
    576578    book getword diffPendingSummary $pageName state -var RUN_STATE
    577579
     
    598600    basename $TESS_DIR -var TESS_ID
    599601
    600     sprintf outroot "%s/%s/%s/%s.%s.%sdif.%s.%s" $WORKDIR $TESS_ID $SKYCELL_ID $TESS_ID $SKYCELL_ID $DIFF_TAG $DIFF_ID
    601         ## generate outroot specific to this exposure
     602    ## generate outroot specific to this exposure
     603    sprintf outroot "%s/%s/%s/%s.%s.%sdif.%s.summary" $WORKDIR $TESS_ID $SKYCELL_ID $TESS_ID $SKYCELL_ID $DIFF_TAG $DIFF_ID
    602604
    603605
  • branches/czw_branch/20100519/ippTasks/lossy_compress.pro

    r27315 r28304  
    149149
    150150        # specify choice of remote host
    151         set.host.for.camera $CAMERA $TMP_CLASS_ID
     151        set.host.for.camera $CAMERA $CLASS_ID
    152152
    153153        # set logfile name
    154154        if ("$WORKDIR" == "NULL")
    155             sprintf logfile "compress_log/%s.%d.lossycomp.%s.log" $EXP_NAME $EXP_ID $CLASS_ID
     155            sprintf logfile "compress_log/%s.%d.lossycomp.%s.log" $EXP_NAME $EXP_ID $TMP_CLASS_ID
    156156        else
    157157            sprintf logfile "%s/%s/%s.lossycomp.%s.log" $WORKDIR $EXP_TAG $EXP_TAG $TMP_CLASS_ID
     
    275275
    276276        # specify choice of remote host
    277         set.host.for.camera $CAMERA $TMP_CLASS_ID
     277        set.host.for.camera $CAMERA $CLASS_ID
    278278
    279279        # set logfile name
    280280        if ("$WORKDIR" == "NULL")
    281             sprintf logfile "compress_log/%s.%d.lossycomp.%s.log" $EXP_NAME $EXP_ID $CLASS_ID
     281            sprintf logfile "compress_log/%s.%d.lossycomp.%s.log" $EXP_NAME $EXP_ID $TMP_CLASS_ID
    282282        else
    283283            sprintf logfile "%s/%s/%s.lossycomp.%s.log" $WORKDIR $EXP_TAG $EXP_TAG $TMP_CLASS_ID
  • branches/czw_branch/20100519/ippTasks/nightly_stacks.pro

    r27860 r28304  
    55macro nightly.stacks.on
    66    ns.initday.on
     7    ns.detrends.off
    78    ns.registration.on
    89    ns.burntool.on
     
    1314macro nightly.stacks.off
    1415    ns.initday.off
     16    ns.detrends.off
    1517    ns.registration.off
    1618    ns.burntool.off
     
    2123macro ns.on
    2224    ns.initday.on
     25    ns.detrends.off
    2326    ns.registration.on
    2427    ns.burntool.on
     
    2932macro ns.off
    3033    ns.initday.off
     34    ns.detrends.off
    3135    ns.registration.off
    3236    ns.burntool.off
     
    4145end
    4246
     47macro ns.detrends.on
     48  task ns.detrends.load
     49    active true
     50  end
     51end
     52
    4353macro ns.registration.on
    4454  task ns.registration.load
     
    7686macro ns.initday.off
    7787  task ns.initday.load
     88    active false
     89  end
     90end
     91
     92macro ns.detrends.off
     93  task ns.detrends.load
    7894    active false
    7995  end
     
    186202  #operation times out?
    187203  task.exit    timeout
     204    showcommand timeout
     205  end
     206end
     207
     208#
     209# Queue off any possible detrend verification runs
     210#
     211task              ns.detrends.load
     212  host            local
     213  periods         -poll $LOADPOLL
     214  periods         -exec $LOADEXEC
     215  periods         -timeout 30
     216  trange          23:00:00 24:00:00 -nmax 1
     217  npending        1
     218
     219  task.exec
     220    stdout $LOGDIR/ns.detrends.log
     221    stdout $LOGDIR/ns.detrends.log
     222    $today = `date +%Y-%m-%d`
     223
     224    command automate_stacks.pl --queue_detrends --date $today
     225  end
     226 
     227  task.exit       0
     228    # nothign to do here
     229  end
     230  # locked list
     231  task.exit       default
     232    showcommand failure
     233  end
     234  task.exit       crash
     235    showcommand crash
     236  end
     237  # operation times out
     238  task.exit       timeout
    188239    showcommand timeout
    189240  end
  • branches/czw_branch/20100519/ippTasks/stack.pro

    r27929 r28304  
    349349# end
    350350
     351
     352
     353
    351354task stack.revert
    352355  host         local
  • branches/czw_branch/20100519/ippTasks/survey.pro

    r27294 r28304  
    207207
    208208macro survey.add.addstar
    209   if ($0 != 3)
    210     echo "USAGE: survey.add.addstar (label) (dvodb)"
     209  if ($0 != 4)
     210    echo "USAGE: survey.add.addstar (label) (dvodb) (minidvodb_group)"
    211211    break
    212212  end
    213213  book newpage SURVEY_ADDSTAR $1
    214214  book setword SURVEY_ADDSTAR $1 DVODB $2
     215  book setword SURVEY_ADDSTAR $1 MINIDVODB_GROUP $3
    215216  book setword SURVEY_ADDSTAR $1 STATE PENDING
    216217end
     
    638639    book setword SURVEY_ADDSTAR $label STATE DONE
    639640    book getword SURVEY_ADDSTAR $label DVODB -var dvodb
     641    book getword SURVEY_ADDSTAR $label MINIDVODB_GROUP -var minidvodb_group
    640642 
    641643 #   $run = addtool -definebyquery -destreaked -label $label -set_dvodb $dbodb
     
    648650    end
    649651   
    650     $run = $run -definebyquery -destreaked -label $label -set_dvodb $dvodb
     652    $run = $run -definebyquery -destreaked -label $label -set_dvodb $dvodb -set_minidvodb_group $minidvodb_group -set_minidvodb -set_label $minidvodb_group
    651653    echo $run
    652654    command $run
  • branches/czw_branch/20100519/ippTasks/warp.pro

    r28045 r28304  
    1313book init warpPendingSkyCell
    1414book init warpPendingCleanup
     15book init warpPendingSummary
    1516
    1617### Database lists
     
    1920$warp_revert_overlap_DB = 0
    2021$warp_revert_warped_DB = 0
     22$warpSummary_DB = 0
    2123
    2224### Check status of warping tasks
     
    3032  book init warpInputExp
    3133  book init warpPendingSkyCell
     34  book init warpPendingSummary
    3235end
    3336
Note: See TracChangeset for help on using the changeset viewer.