- Timestamp:
- Mar 30, 2012, 2:49:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/ippScripts/scripts/magic_destreak.pl
- Property svn:mergeinfo set to
r32851 r33638 99 99 100 100 my $ipprc = PS::IPP::Config->new( $camera ) or my_die( "Unable to set up", $magic_ds_id, $component, $PS_EXIT_CONFIG_ERROR ); # IPP configuration 101 $ipprc->redirect_output($logfile) or my_die( "Unable to redirect output", $magic_ds_id, $component, $PS_EXIT_SYS_ERROR ) if $logfile; 101 102 if ($logfile) { 103 $ipprc->redirect_to_logfile($logfile) or my_die( "Unable to redirect output", $magic_ds_id, $component, $PS_EXIT_SYS_ERROR ); 104 print "\n\n"; 105 print "Continuing script $0 on $host at $date\n\n"; 106 } 102 107 103 108 $cam_reduction = 'DEFAULT' if !$cam_reduction or ($cam_reduction eq 'NULL'); … … 180 185 } 181 186 182 my $statsFile = "$outroot/$exp_id.mds.$magic_ds_id.$stage_id.$component.stats"; 187 # XXX: create a DESTREAK file rule. For now just steal one that will work 188 my $error; 189 my $statsFile = $ipprc->prepare_output("PSASTRO.STATS", "$outroot/$exp_id.mds.$magic_ds_id.$stage_id.$component", undef, 1, \$error) or &my_die("failed to prepare output for stats", $magic_ds_id, $component, $error); 183 190 184 191 my $backup_path_base; … … 252 259 foreach my $skycell (@$skycells) { 253 260 my $skycell_uri; 254 if ($skycell->{data_state} eq "full" and $skycell->{quality} == 0) { 261 $skycell->{quality} = undef; 262 # XXXXXXXX remake all skycells to avoid dead instances (ipp064) 263 if (0 and $skycell->{data_state} eq "full" and $skycell->{quality} == 0) { 255 264 $skycell_uri = $ipprc->filename("PPSUB.OUTPUT", $skycell->{path_base}); 256 265 my $skycell_id = $skycell->{skycell_id};
Note:
See TracChangeset
for help on using the changeset viewer.
