IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30240 for trunk/ippTasks


Ignore:
Timestamp:
Jan 12, 2011, 1:08:55 PM (16 years ago)
Author:
watersc1
Message:

updates and bugfixes to registration. Will test this afternoon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/register.pro

    r30180 r30240  
    102102
    103103$valid_burntool_value = 14
     104$sunrise = '17:30:00'
     105$sunset  = '03:30:00'
    104106
    105107macro replace.survey.values
     
    302304    # XXX register_imfile.pl differs from the standard script : it does not have an 'outroot' argument, and it does not take '--redirect'
    303305    $run = register_imfile.pl --exp_id $EXP_ID --tmp_class_id $TMP_CLASS_ID --tmp_exp_name $TMP_EXP_NAME --uri $URI --logfile $logfile --bytes $BYTES --md5sum $MD5SUM
     306    $run = $run --sunset $sunset --sunrise $sunrise
    304307    add_standard_args run
    305308
     
    544547  # select entried from the current DB; cycle to the next DB, if it exists
    545548  task.exec
     549     book npages nsData -var Npages
     550     if ($Npages == 0)
     551       $today = `date -u +%Y-%m-%d`
     552     else
     553       book getpage nsData $ns_datePAGE -var today
     554       $ns_datePAGE ++
     555       if ($ns_datePAGE >= $Npages) set ns_datePAGE = 0
     556     end
     557
    546558    $run = regtool -pendingburntoolimfile
    547     $today = `date -u +%Y-%m-%d`
     559
    548560# debugging purposes
    549561#   $today = "2010-12-25"
    550     $run = $run -date $today -valid_burntool $valid_burntool_value
     562    $dateobs_begin = $today\T$sunset
     563    $dateobs_end   = $today\T$sunrise
     564    $run = $run -dateobs_begin $dateobs_begin -dateobs_end $dateobs_end -valid_burntool $valid_burntool_value
    551565    if ($DB:n == 0)
    552566      option DEFAULT
Note: See TracChangeset for help on using the changeset viewer.