IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26201


Ignore:
Timestamp:
Nov 19, 2009, 1:39:57 PM (16 years ago)
Author:
bills
Message:

if supplied include tess_id and skycell_id in *tool lookup by coordinate
speeds up things immensely

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm

    r26152 r26201  
    236236        $command .= " $id_opt $id";
    237237        $command .= $component_args if $component_args;
    238         # don't include -destreaked if lookup is byid. Let pstampparse check so that the error code gives
    239         # the reason as 'not destreaked'
     238        # don't include -destreaked if lookup is byid. Let pstampparse check so that the
     239        # error code returned to the client for a given component is 'not destreaked'
     240        # instead of 'not found'
    240241        $magic_arg = "";
    241242    } elsif ($req_type eq "byexp") {
     
    250251    } elsif ($req_type eq "bycoord") {
    251252        $command .= " -radius 3.0 -ra $x -decl $y";
     253        if ($img_type ne "raw") {
     254            $command .= " -tess_id $tess_id" if $tess_id;
     255            $command .= " -skycell_id $skycell_id" if $skycell_id;
     256        }
    252257    } else {
    253258        die "Unknown req_type supplied: $req_type";
Note: See TracChangeset for help on using the changeset viewer.