Changeset 41439
- Timestamp:
- Nov 25, 2020, 4:09:10 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r41438 r41439 175 175 } 176 176 } 177 178 177 my $results = lookup($ipprc, $rowList, $imagedb, $req_type, $stage, $id, $tess_id, $component, 179 178 $need_magic, $dateobs_begin, $dateobs_end, $filter, $data_group, $option_mask, $mjd_min, $mjd_max, … … 1674 1673 ## MEH hack -- add width, height corners -- chip gap problem and need to add more points to try 1675 1674 ## -- 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.0051677 1675 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) { 1679 1677 ## +/-ra +/-dec corner 1680 1678 #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.
