IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36221 for trunk/ippTasks


Ignore:
Timestamp:
Oct 16, 2013, 3:49:07 PM (13 years ago)
Author:
watersc1
Message:

Functional version of the task and script that I'm running on a test pantasks now. The load step is unreasonably slow, but that may just be due to the host I"m running the pantasks_server on (ippc25).

The date based iteration seems to be working correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/rawcheck.pro

    r36203 r36221  
    55
    66# load in the local configuration (NEB_USER, etc.)
    7 module nebulous.site.pro
     7# module nebulous.site.pro
    88
    99$LOGSUBDIR = $LOGDIR/rawcheck
     
    4242
    4343
    44 
    45 $EXP_ID_START = 0
    46 $EXP_ID_RANGE = 500000
     44$DATEOBS_MIN  = 1970-01-01T00:00:00
    4745
    4846task           rawcheck.load
     
    5048
    5149  # modify these after the tasks are tested
    52   periods      -poll 0.5
     50  periods      -poll 600
    5351  periods      -exec 5
    54   periods      -timeout 1500
     52  periods      -timeout 20
    5553  npending     1
    5654
     
    6664     end     
    6765     
    68      $run = regtool -processedexp -state compressed
     66     $run = regtool -processedexp -state compressed -dateobs_begin $DATEOBS_MIN
    6967     if ($DB:n == 0)
    7068      option DEFAULT
     
    7775    end
    7876    add_poll_args run
    79     add_poll_labels run
     77#    add_poll_labels run
    8078    command $run
    8179  end
     
    8583    # convert 'stdout' to book format
    8684    ipptool2book stdout rawcheckPending -key exp_id -uniq -setword dbname $options:0 -setword pantaskState INIT
    87         if ($VERBOSE > 2)
     85    if ($VERBOSE > 2)
    8886      book listbook rawcheckPending
    8987    end
     88
     89      book listbook rawcheckPending
     90    book npages rawcheckPending -var N
     91    book getpage rawcheckPending N -var pageName
     92    book getword rawcheckPending $pageName dateobs -var DATEOBS_MIN
    9093
    9194    # delete existing entries in the appropriate pantaskStates
     
    112115  periods      -poll 0.5
    113116  periods      -exec 5
    114   periods      -timeout 600
     117  periods      -timeout 1200
     118  host         anyhost
     119
    115120
    116121  task.exec
     
    136141
    137142    # these operations do not require a database to be specified
    138     $run = neb-insck --dbname $DBNAME --exp_id $EXP_ID
     143    $run = rawcheck.pl --dbname $DBNAME --exp_id $EXP_ID
    139144
    140145    # save the pageName for future reference below
Note: See TracChangeset for help on using the changeset viewer.