IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 25, 2020, 4:09:10 PM (6 years ago)
Author:
mhuber
Message:

update boundaries slightly for ROI request in active use

File:
1 edited

Legend:

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

    r41438 r41439  
    175175        }
    176176    }
    177 
    178177    my $results = lookup($ipprc, $rowList, $imagedb, $req_type, $stage, $id, $tess_id, $component,
    179178        $need_magic, $dateobs_begin, $dateobs_end, $filter, $data_group, $option_mask, $mjd_min, $mjd_max,
     
    16741673        ## MEH hack -- add width, height corners -- chip gap problem and need to add more points to try
    16751674        ## -- need to adjust RA for DEC and check 0/360, 90 boundary (dont assume coord to image lookup will do it)
    1676         ## -- need to avoid chip/skycell image boundary for ROI so use /1.005
    16771675        if ( ($row->{OPTION_MASK} & $PSTAMP_MULTI_OVERLAP_IMAGE) && !($row->{COORD_MASK} & $PSTAMP_RANGE_IN_PIXELS) ){
    1678             foreach my $f (-1.005, 1.005, -1.5, 1.5, -2.0, 2.0, -2.5, 2.5) {
     1676            foreach my $f (-1.1, 1.1, -1.5, 1.5, -2.0, 2.0, -2.5, 2.5) {
    16791677                ## +/-ra +/-dec corner
    16801678                #printf $pointsList "$npoints %f %f\n", $row->{CENTER_X}+$row->{WIDTH}/2.0/3600.0, $row->{CENTER_Y}+$row->{HEIGHT}/2.0/3600.0;
Note: See TracChangeset for help on using the changeset viewer.