Changeset 24252
- Timestamp:
- May 26, 2009, 4:43:29 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/ipp_serial_mops.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_serial_mops.pl
r24193 r24252 19 19 # Look for programs we need 20 20 my $missing_tools; 21 my $ mops = can_run('ipp_mops_translate.pl') or (warn "Can't find ipp_mops_translate.pl" and $missing_tools = 1);21 my $ppmops = can_run('ppMops') or (warn "Can't find ppMops" and $missing_tools = 1); 22 22 my $dsreg = can_run('dsreg') or (warn "Can't find dsreg" and $missing_tools = 1); 23 23 die "Can't find required tools.\n" if $missing_tools; … … 77 77 -- Get a list of exposures on which magic may be performed 78 78 SELECT 79 exp_id, 79 rawExp.exp_id, 80 camProcessedExp.zp_obs, 80 81 MAX(diffWarps.diff_id) AS diff_id, 81 82 -- The following trick pulls out the 'inverse' value for the maximum diff_id … … 110 111 JOIN fakeRun USING(fake_id) 111 112 JOIN camRun USING(cam_id) 113 JOIN camProcessedExp USING(cam_id) 112 114 JOIN chipRun USING(chip_id) 113 115 JOIN rawExp USING(exp_id) … … 125 127 foreach my $diff ( @$diffs ) { 126 128 my $exp_id = $diff->{exp_id}; 129 my $zp = $diff->{zp_obs}; 127 130 my $diff_id = $diff->{diff_id}; 128 131 my $inverse = $diff->{inverse}; … … 146 149 unless ($no_op) { 147 150 $ipprc->file_prepare($output); 148 my $command = "$ mops --input $input --extname SkyChip.psf --output$output";151 my $command = "$ppmops $input $zp $output"; 149 152 my $success = run( command => $command, verbose => $verbose ); 150 153 (carp "Couldn't translate $input\n" and next) unless $success;
Note:
See TracChangeset
for help on using the changeset viewer.
