Changeset 24191
- Timestamp:
- May 14, 2009, 5:01:49 PM (17 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 2 edited
-
ipp_mops_translate.pl (modified) (2 diffs)
-
ipp_serial_mops.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_mops_translate.pl
r24190 r24191 78 78 check_fitsio($status); 79 79 80 # Plate scales81 my $cdelt1 = $$inHeader{'CDELT1'} or die("Can't find CDELT1");82 my $cdelt2 = $$inHeader{'CDELT2'} or die("Can't find CDELT2");83 84 80 # Read table data 85 81 $inFits->movnam_hdu(BINARY_TBL, $extname, 0, $status) and check_fitsio($status); … … 109 105 } 110 106 107 # Plate scales 108 #my $cdelt1 = $$inHeader{'CDELT1'} or die("Can't find CDELT1"); 109 #my $cdelt2 = $$inHeader{'CDELT2'} or die("Can't find CDELT2"); 110 ### XXX WCS wasn't being set in inverse diffs, but it's available elsewhere 111 my $cdelt1 = $$scale[0] / 3600; 112 my $cdelt2 = $$scale[1] / 3600; 111 113 112 114 # Parse the list of columns -
trunk/ippScripts/scripts/ipp_serial_mops.pl
r24190 r24191 89 89 JOIN diffInputSkyfile USING(diff_id) 90 90 WHERE diffInputSkyfile.warp1 IS NOT NULL 91 AND diffRun.state = 'full' 91 92 AND diffRun.exposure = 1 92 93 $where_label … … 100 101 JOIN diffInputSkyfile USING(diff_id) 101 102 WHERE diffInputSkyfile.warp2 IS NOT NULL 103 AND diffRun.state = 'full' 102 104 AND diffRun.exposure = 1 103 105 AND diffRun.bothways = 1 … … 108 110 JOIN camRun USING(cam_id) 109 111 JOIN chipRun USING(chip_id) 110 WHERE diffRun.state = 'full' 111 ANDrawExp.camera = '$camera'112 JOIN rawExp USING(exp_id) 113 WHERE rawExp.camera = '$camera' 112 114 GROUP BY exp_id;"; 113 115 … … 129 131 130 132 foreach my $skycell ( @$skycells ) { 131 my $skycell_id = $ diff->{skycell_id};132 my $path_base = $ diff->{path_base};133 my $skycell_id = $skycell->{skycell_id}; 134 my $path_base = $skycell->{path_base}; 133 135 134 136 my $sources = $inverse ? "PPSUB.INVERSE.SOURCES" : "PPSUB.OUTPUT.SOURCES";
Note:
See TracChangeset
for help on using the changeset viewer.
