IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 2, 2010, 6:29:45 PM (16 years ago)
Author:
watersc1
Message:

Code and regtool rewrites to enable the lossy compression of old data that aren't scientifically useful.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/automate_stacks.pl

    r26990 r27149  
    426426        my ($trash,$start,$end);
    427427        ($trash,$trash,$start,$end) = (split /\s+/,$row);
    428         $metadata_out{"btBegin${N}"} = $start;
    429         $metadata_out{"btEnd${N}"} = $end;
    430         $metadata_out{"btCounter${N}"} = 0;
    431         $N++;
    432         print STDERR "define_burntool: $row\n";
     428       
     429        for (my $class_counter = 0; $class_counter < 60; $class_counter++) {
     430            $metadata_out{"bt${N}Begin"} = $start;
     431            $metadata_out{"bt${N}End"} = $end;
     432            $metadata_out{"bt${N}Class"} = $class_counter;
     433            $metadata_out{"bt${N}Status"} = 'NEW';
     434            $N++;
     435        }
     436        print STDERR "define_burntool: $row\n";
    433437    }
    434438    $metadata_out{btN} = $N - 1;
     
    793797    print STDOUT "autoStack METADATA\n";
    794798    print STDOUT "   date                  STR          $date\n";
    795     foreach my $k (keys %metadata_out) {
     799    foreach my $k (sort(keys %metadata_out)) {
    796800        print STDOUT "   $k                STR          $metadata_out{$k}\n";
    797801    }
Note: See TracChangeset for help on using the changeset viewer.