IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41438


Ignore:
Timestamp:
Nov 24, 2020, 9:57:49 AM (6 years ago)
Author:
mhuber
Message:

update boundaries slightly for ROI request

File:
1 edited

Legend:

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

    r40421 r41438  
    16741674        ## MEH hack -- add width, height corners -- chip gap problem and need to add more points to try
    16751675        ## -- 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
    16761677        if ( ($row->{OPTION_MASK} & $PSTAMP_MULTI_OVERLAP_IMAGE) && !($row->{COORD_MASK} & $PSTAMP_RANGE_IN_PIXELS) ){
    1677             foreach my $f (-1.0, 1.0, -1.5, 1.5, -2.0, 2.0, -2.5, 2.5) {
     1678            foreach my $f (-1.005, 1.005, -1.5, 1.5, -2.0, 2.0, -2.5, 2.5) {
    16781679                ## +/-ra +/-dec corner
    16791680                #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.