IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18624


Ignore:
Timestamp:
Jul 18, 2008, 1:10:11 PM (18 years ago)
Author:
bills
Message:

dquery jobs aren't queued by row number. They are split up by input image.
All rows are looked at by each job and the ones whose coordinates are
contained in the input generate a line in the response file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/dqueryparse.pl

    r18619 r18624  
    101101
    102102#
    103 # we don't parse the file here, pass it to fakedresponse it will create a response for each
    104 # row in the file
     103# XXX Eventually we will parse the file here, to look up the list of input images to be processed
     104# and queue a job for each image.
     105# The request file will be one of the arguments. Each job will look at all rows and create entries
     106# in the response file the coordinates that overlap the image.
     107#
     108# In the meantime we don't parse the file here, pass it to the program fakedresponse.
     109# It creates a response file with a line for each row in the request file
     110
    105111my $response_file = "$out_dir/response.fits";
    106112my $fault;
     
    123129    my $command = "$pstamptool -addjob -req_id $req_id -uri $req_file -outputBase $out_dir";
    124130    $command .= " -job_type detect_query -state stop -fault $fault";
    125     $command .= " -rownum 1";
     131    $command .= " -rownum 0";
    126132    $command .= " -dbname $dbname" if $dbname;
    127133
Note: See TracChangeset for help on using the changeset viewer.