[Shake-dev] SCENARIO splash ShakeMap v3.1 and GMT 4.0

Kristine Pankow pankow at seis.utah.edu
Thu Jul 6 23:35:31 GMT 2006


Greetings,

I found that when generating scenarios using ShakeMap v3.1
and GMT 4.0 that the scenario splash that gets embedded in the
maps was overprinting the maps in solid black text.  To fix
this replace the text in mapping (lines 870 - 821) with

    #-----------------------------------------------------------------------
    # Fix a bug in pstext that fills in the text no matter what
    #-----------------------------------------------------------------------
     my $gcount = grep /SCENARIO/, @{$ps{SCENARIO}};
     if ($gcount > 1) {
       my $skip = 0;
       for (my $i = 0; $i < @{$ps{SCENARIO}}; $i++) {
         if ($ps{SCENARIO}->[$i] =~ /SCENARIO/) {
       if ($skip lt 2) { $skip = $skip + 1; next; }
       $ps{SCENARIO}->[$i]=~ s/^/%/;
     }
       }


Regards,
Kris Pankow




More information about the Shake-dev mailing list