IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39911


Ignore:
Timestamp:
Jan 3, 2017, 1:42:15 PM (10 years ago)
Author:
watersc1
Message:

Correctly handle ippb06. This was a mistake from previously, which wasn't being caught, because we weren't working on data that had any instances there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20150312/ippScripts/scripts/rawcheck.pl

    r39906 r39911  
    106106}   
    107107for ($i = 0; $i <= 15; $i++) {
    108     if ($i == 6) { next; } # This isn't "offsite", it's with the rest of the maui cluster.
     108    my $loc = 'OFFSITE';
     109    if ($i == 6) {
     110        $loc = 'MRTCB';
     111    } # This isn't "offsite", it's with the rest of the maui cluster.
    109112    if ($i == 9) { next; } # Not online
    110113
    111114    my $vol = sprintf("ippb%02d.0",$i);
    112     $volume_map{$vol} = 'OFFSITE';
     115    $volume_map{$vol} = $loc;
    113116    $vol = sprintf("ippb%02d.1",$i);
    114     $volume_map{$vol} = 'OFFSITE';
     117    $volume_map{$vol} = $loc;
    115118    if ($i <= 6) {
    116119        $vol = sprintf("ippb%02d.2",$i);
    117         $volume_map{$vol} = 'OFFSITE';
     120        $volume_map{$vol} = $loc;
    118121    }
    119122}   
Note: See TracChangeset for help on using the changeset viewer.