IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32916


Ignore:
Timestamp:
Dec 9, 2011, 9:52:29 AM (15 years ago)
Author:
bills
Message:

use prepare_output for stats file to avoid dead instances. Remake all skycell files for now
to avoid dead instances

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20111110/ippScripts/scripts/magic_destreak.pl

    r32871 r32916  
    185185}
    186186
    187 my $statsFile = "$outroot/$exp_id.mds.$magic_ds_id.$stage_id.$component.stats";
     187#my $statsFile = "$outroot/$exp_id.mds.$magic_ds_id.$stage_id.$component.stats";
     188
     189# steal a filerule that will work
     190my $error;
     191my $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);
    188192
    189193my $backup_path_base;
     
    258262                    my $skycell_uri;
    259263                    $skycell->{quality} = undef;
    260                     if ($skycell->{data_state} eq "full" and $skycell->{quality} == 0) {
     264                    # XXXXXXXX remake all skycells to avoid ipp064
     265                    if (0 and $skycell->{data_state} eq "full" and $skycell->{quality} == 0) {
    261266                        $skycell_uri = $ipprc->filename("PPSUB.OUTPUT", $skycell->{path_base});
    262267                        my $skycell_id = $skycell->{skycell_id};
Note: See TracChangeset for help on using the changeset viewer.