- Timestamp:
- Aug 20, 2009, 12:42:13 PM (17 years ago)
- Location:
- branches/czw_branch/cleanup
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippScripts/scripts/publish_file.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/cleanup
- Property svn:mergeinfo changed
/trunk merged: 25052-25060,25063-25068,25070-25084,25087,25156
- Property svn:mergeinfo changed
-
branches/czw_branch/cleanup/ippScripts/scripts/publish_file.pl
r25150 r25158 83 83 my %exp_id; # Exposure identifiers 84 84 my %exp_name; # Exposure names 85 my %direction; # Direction of subtraction86 85 { 87 86 my $command; # Command to run … … 115 114 if ($stage eq 'diff') { 116 115 my $skycell_id = $comp->{skycell_id}; 117 118 # Positive direction119 116 $files{"$skycell_id.pos"} = $ipprc->filename( "PPSUB.OUTPUT.SOURCES", $path_base ); 117 $files{"$skycell_id.neg"} = $ipprc->filename( "PPSUB.INVERSE.SOURCES", $path_base ) if 118 defined $comp->{bothways} and $comp->{bothways}; 120 119 $zp{"$skycell_id.pos"} = $zp; 120 $zp{"$skycell_id.neg"} = $zp if defined $comp->{bothways} and $comp->{bothways}; 121 121 $exp_id{"$skycell_id.pos"} = $comp->{exp_id_1}; 122 $exp_id{"$skycell_id.neg"} = $comp->{exp_id_2} if defined $comp->{bothways} and $comp->{bothways}; 122 123 $exp_name{"$skycell_id.pos"} = $comp->{exp_name_1}; 123 $direction{"$skycell_id.pos"} = 1; 124 125 # Negative direction 126 if (defined $comp->{bothways} and $comp->{bothways}) { 127 $files{"$skycell_id.neg"} = $ipprc->filename( "PPSUB.INVERSE.SOURCES", $path_base ); 128 $zp{"$skycell_id.neg"} = $zp; 129 $exp_id{"$skycell_id.neg"} = $comp->{exp_id_2}; 130 $direction{"$skycell_id.neg"} = 0; 131 $exp_name{"$skycell_id.neg"} = $comp->{exp_name_2}; 132 } 133 124 $exp_name{"$skycell_id.neg"} = $comp->{exp_name_2} if defined $comp->{bothways} and $comp->{bothways}; 134 125 } elsif ($stage eq 'camera') { 135 126 my $cam_id = $comp->{cam_id}; … … 138 129 $exp_id{$cam_id} = $comp->{exp_id}; 139 130 $exp_name{$cam_id} = $comp->{exp_name}; 140 $direction{$cam_id} = 1;141 131 } 142 132 } … … 155 145 my $exp_id = $exp_id{$comp}; 156 146 my $exp_name = $exp_name{$comp}; 157 my $direction = $direction{$comp};158 147 if ($product eq "IPP-MOPS") { 159 148 my $outuri = "$outroot.$comp.fits"; … … 161 150 &my_die( "Unable to resolve output file $outuri", $pub_id, $PS_EXIT_SYS_ERROR); 162 151 163 my $command = "$ppMops $file $zp $exp_id $exp_name $ direction $out";152 my $command = "$ppMops $file $zp $exp_id $exp_name $out"; 164 153 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 165 154 run(command => $command, verbose => $verbose);
Note:
See TracChangeset
for help on using the changeset viewer.
