<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Sigit,<div><br></div><div>The Time/Timezone.pm module is part of the Time-modules package. Make sure Time-modules is installed on your machine and that the install location is in the @INC path of your perl program.</div><div><br></div><div>Bruce</div><div><br><div><div>On May 2, 2012, at 1:47 AM, sigit pramono wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Hello,<br><br>Anybody can help me?<br>I have trouble when running shake application, like bellow of the message.<br>May be any trouble or not complete for perl support? or any recommendation?<br><br>"seistek@seistek:~/shakemap/bin&gt; ./shake -event 9583161<br>Can't locate Time/Timezone.pm in @INC (@INC contains: /home/seistek/shakemap/bin/../perl/lib /home/seistek/shakemap/bin/../lib /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /home/seistek/shakemap/bin/../perl/lib/Shake/Timezone.pm line 39.<br>BEGIN failed--compilation aborted at /home/seistek/shakemap/bin/../perl/lib/Shake/Timezone.pm
 line 39.<br>Compilation failed in require at /home/seistek/shakemap/bin/../bin/grind line 24.<br>BEGIN failed--compilation aborted at /home/seistek/shakemap/bin/../bin/grind line 24.<br>shake: Error in grind: 512"<br><br>Thank you.<br>Sigit<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight: bold;">Dari:</span></b> Bruce Worden &lt;<a href="mailto:cbworden@gmail.com">cbworden@gmail.com</a>&gt;<br> <b><span style="font-weight: bold;">Kepada:</span></b> ""Roviró Pou, Jordi"" &lt;<a href="mailto:jroviro@igc.cat">jroviro@igc.cat</a>&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> "<a href="mailto:Shake-dev@geohazards.usgs.gov">Shake-dev@geohazards.usgs.gov</a>" &lt;<a href="mailto:Shake-dev@geohazards.usgs.gov">Shake-dev@geohazards.usgs.gov</a>&gt; <br> <b><span style="font-weight: bold;">Dikirim:</span></b> Selasa, 1 Mei 2012 0:58<br> <b><span style="font-weight: bold;">Judul:</span></b> Re: [Shake-dev] mapping
 module<br> </font> </div> <br><div id="yiv862711066"><div>Hi Jordi,<div><br></div><div>"netid" is the attribute that the network color applies to. "source" can be any text string, and is used to describe the station source (such as the name of the network).</div><div><br></div><div>So you need to set netid to IGC, IGN, BRGM, etc., for each station in your data file.</div><div><br></div><div>Bruce</div><div><br></div><div><br><div><div>On Apr 27, 2012, at 1:07 AM, Roviró Pou, Jordi wrote:</div><br class="yiv862711066Apple-interchange-newline"><blockquote type="cite"><span class="yiv862711066Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><div lang="CA"><div class="yiv862711066WordSection1" style=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">Hello,</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">I have some understanding problems with stations representation of the mapping module</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">I work with only two xml files at the input folder, the pgm and intensity. All the stations in the first one has different attributes source=”XXX” (where XXX are IGC, IGN, BRGM, OPM, IEA). The stations&nbsp; on the second file has the attribute netid=”INTENSITY”.</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">I define the network_color parameters as:</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family:
 Calibri,sans-serif;"><span lang="EN-GB"> &nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">network_color&nbsp;&nbsp; : INTENSITY darkblue c 0.06</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">network_color&nbsp;&nbsp; : IGC orange t 0.14</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">network_color&nbsp;&nbsp; : IGN magenta t 0.14</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">network_color&nbsp;&nbsp; : BRGM red t 0.14</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">network_color&nbsp;&nbsp; : OMP green t 0.14</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family:
 Calibri,sans-serif;"><span lang="EN-GB">network_color&nbsp;&nbsp; : IEA darkblue t 0.14</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB"> &nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">My problem is that the macroseismic data is represented correctly, but not the pgm data.</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">I try to run shakemap without intensity xml file, and it works correctly, also only with the intensity file works.</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">I try to run shakemap with both xml files, and have some troubles.</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">If the network_colors aren’t defined, the pgm stations are represented as a default colour, symbol and size. But defining the network_color parameters only the colours are well represented, so the symbol and the size are the same as the INTENSITY values.</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB"> &nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">I have revised the mapping.pm and I think the problem is on the line 1322. I made a test with an intensity and pgm station only, and the problem is that for the pgm the $symbol variable doesn’t changes in that line, although the network_color parameter are different.</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">I don't know how to solve it.</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB"> &nbsp;</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">Thank you very much!</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB">Jordi</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span lang="EN-GB"> &nbsp;</span></div></div> _______________________________________________<br>Shake-dev mailing list<br><a rel="nofollow" ymailto="mailto:Shake-dev@geohazards.usgs.gov" target="_blank" href="mailto:Shake-dev@geohazards.usgs.gov" style="color: blue; text-decoration: underline;">Shake-dev@geohazards.usgs.gov</a><br><a rel="nofollow" target="_blank" href="https://geohazards.usgs.gov/mailman/listinfo/shake-dev" style="color: blue; text-decoration:
 underline;">https://geohazards.usgs.gov/mailman/listinfo/shake-dev</a><br></div></span></blockquote></div><br></div></div></div><br>_______________________________________________<br>Shake-dev mailing list<br><a ymailto="mailto:Shake-dev@geohazards.usgs.gov" href="mailto:Shake-dev@geohazards.usgs.gov">Shake-dev@geohazards.usgs.gov</a><br><a href="https://geohazards.usgs.gov/mailman/listinfo/shake-dev" target="_blank">https://geohazards.usgs.gov/mailman/listinfo/shake-dev</a><br><br><br> </div> </div>  </div></div></blockquote></div><br></div></body></html>