Bruce:<div><br></div><div><br></div><div>I suspect the issue boils down to wrong paths. </div><div><br></div><div>Again, I do not know where the GMT module dem2grid lives. So I could not edit it. Instead, I navigated around the problem by telling the dem2grd sub-routine in topo2grd to execute the <a href="http://dem2grd.pl">dem2grd.pl</a> script included with SRTM30, by-passing GMT.</div>

<div><br></div><div>After changing the default paths within <a href="http://dem2grd.pl">dem2grd.pl</a>, everything worked nicely. </div><div><br></div><div>Let me know if I can provide any more details. </div><div><br></div>

<div><br></div><div><br></div><div>Best, </div><div><br></div><div><br clear="all"><span style="border-collapse:collapse"><font face="arial, helvetica, sans-serif" style="font-weight:normal;font-family:arial,sans-serif"><b>Branden C. Christensen</b></font><div>

<font face="arial, helvetica, sans-serif" style="font-family:arial,sans-serif">Director, OSOP</font></div><div style="font-weight:normal"><font face="arial, helvetica, sans-serif" style="font-family:arial,sans-serif"><b><span style="font-family:arial;font-weight:normal"><a href="mailto:branden.christensen@osop.com.pa" target="_blank"><font color="#0000cc">branden.christensen@</font>osop.com.pa</a></span></b></font></div>

<div><font face="arial, sans-serif"><a href="http://www.osop.com.pa" target="_blank">www.osop.com.pa</a></font></div><div style="font-weight:normal">Volcan, Panama</div><div style="font-weight:normal"><span></span><span></span><img src="https://lh6.googleusercontent.com/-bviEnZQwR1c/TyFjLS3_c-I/AAAAAAAAA34/QkVFwd3oAu4/w405-h150-k/OSOP.png"><br>

<div><div><font face="arial, helvetica, sans-serif"><span style="line-height:9px"><br></span></font></div></div></div></span><span style="border-collapse:collapse"><div style="font-weight:normal"><div><img style="font-family:&#39;Times New Roman&#39;;font-size:medium"><span style="font-family:arial,helvetica,sans-serif;line-height:10px"></span></div>

</div></span><div><div><div><div></div></div></div></div><br>
<br><br><div class="gmail_quote">On Mon, Jul 16, 2012 at 4:41 PM, Bruce Worden <span dir="ltr">&lt;<a href="mailto:cbworden@gmail.com" target="_blank">cbworden@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word">Congratulations! I&#39;m glad you&#39;ve got it working.<div><br></div><div>I&#39;m a bit mystified as to why these changes were necessary. Most systems work fine with the supplied version. I suspect there is some default behavior of some system program (like &#39;mv&#39; or &#39;cp&#39;) or library function that is different on Ubuntu than other systems (or you have a new version of a Perl module that changed something similar). If you can point to the precise line where the error occurred, I&#39;ll try to track it down.</div>

<div><br></div><div>Somehow you&#39;ve managed to avoid the usual problems with Ubuntu, which occur when the C programs in the &quot;contour&quot; directory try to link with GMT and NetCDF. Those problems were, in the past, seemingly insurmountable. At least none of the several people who tried ever solved it.</div>

<div><br></div><div>Good luck, and let us know about your progress.</div><div><br></div><div>Bruce</div><div><br></div><div><br><div><div><div class="h5"><div>On Jul 14, 2012, at 3:51 PM, Branden Christensen wrote:</div>
<br>
</div></div><blockquote type="cite"><div><div class="h5">Bruce:<div><br></div><div><br></div><div>VICTORY! </div><div><br></div><div>This will likely go down in the annals of ShakeMap as a truly obscure bit of knowledge but perhaps it will help someone down the road...</div>

<div>

<br></div><div><br></div><div><b>The error in question:</b></div><div><div>cp /opt/shakemap/dem//tmp.topo2grd.21322.grd /opt/shakemap/dem//tmp.topo2grd.21322.grd.1</div><div>cp: cannot stat `/opt/shakemap/dem//tmp.topo2grd.21322.grd&#39;: No such file or directory</div>



</div><div><br></div><div><b>Origin:</b></div><div><div>The error originates from within topo2grd at the dem2grd sub routine (dem2grd is a GMT tool):</div><div><br></div><div><b>The Problem:</b></div><div>The GMT command dem2grid tries to write the tmp.topo2grd.21322.grd file to a path that does not exist.</div>



<div><br></div><div><b>The Solution:</b></div><div>I do not know where to find the dem2grid file. It is probably a gmt binary anyway. Fortunately, the SRTM30 folder I downloaded from <a href="ftp://ftpext.usgs.gov/pub/cr/co/golden/lin/ShakeMap%20Portable/SRTM30.tar.gz" target="_blank">ftp://ftpext.usgs.gov/pub/cr/co/golden/lin/ShakeMap%20Portable/SRTM30.tar.gz</a> came with a perl script called <a href="http://dem2grid.pl/" target="_blank">dem2grid.pl</a>.</div>



<div><br></div><div>The Solution then,</div><div>nano /opt/shakemap/bin/topo2grd</div><div>Change from: my $results = dem2grd($bounds,$tmp,$res);</div><div>To: my $results = command (&quot;/opt/shakemap/dem/<a href="http://dem2grd.pl/" target="_blank">dem2grd.pl</a> $bounds $tmp $res&quot;);</div>



<div><br></div><div>nano /opt/shakemap/dem/<a href="http://dem2grd.pl/" target="_blank">dem2grd.pl</a></div><div>Make the following changes:</div><div>my $home = &quot;/opt/shakemap/dem&quot;;</div><div>my $gmt = &quot;/usr/lib/gmt/bin/&quot;;</div>



<div>my $file = &quot;$lon$lat.grd&quot;; (was my $file = &quot;DATA/$lon$lat.grd&quot;)</div></div><div><br></div><div><br></div><div>And done.</div><div><br></div><div><br></div><div>Thanks again for the help Bruce. To prove ShakeMap can work on Ubuntu, please see the attached images. </div>



<div><br></div><div><br></div><div>Best, </div><div><br></div><div><br clear="all"><span style="border-collapse:collapse"><font face="arial, helvetica, sans-serif" style="font-weight:normal;font-family:arial,sans-serif"><b>Branden C. Christensen</b></font><div>



<font face="arial, helvetica, sans-serif" style="font-family:arial,sans-serif">Director, OSOP</font></div><div style="font-weight:normal"><font face="arial, helvetica, sans-serif" style="font-family:arial,sans-serif"><b><span style="font-family:arial;font-weight:normal"><a href="mailto:branden.christensen@osop.com.pa" target="_blank"><font color="#0000cc">branden.christensen@</font>osop.com.pa</a></span></b></font></div>



<div><font face="arial, sans-serif"><a href="http://www.osop.com.pa/" target="_blank">www.osop.com.pa</a></font></div><div style="font-weight:normal">Volcan, Panama</div><div style="font-weight:normal"><span></span><span></span><img src="https://lh6.googleusercontent.com/-bviEnZQwR1c/TyFjLS3_c-I/AAAAAAAAA34/QkVFwd3oAu4/w405-h150-k/OSOP.png"><br>



<div><div><font face="arial, helvetica, sans-serif"><span style="line-height:9px"><br></span></font></div></div></div></span><span style="border-collapse:collapse"><div style="font-weight:normal"><div><img style="font-family:&#39;Times New Roman&#39;;font-size:medium"><span style="font-family:arial,helvetica,sans-serif;line-height:10px"></span></div>



</div></span><div><div><div><div></div></div></div></div><br>
<br><br><div class="gmail_quote">On Sat, Jul 14, 2012 at 4:01 PM, Bruce Worden <span dir="ltr">&lt;<a href="mailto:cbworden@gmail.com" target="_blank">cbworden@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">Hi Branden,<div><br></div><div>I set my system to use the same grid spacing and map area that you&#39;re using, but I can&#39;t reproduce the error. I&#39;ve tried to trace through to where things could go wrong, but there are several branches that could generate the same error messages.</div>



<div><br></div><div>As I see it, there are three possible problems: 1) It&#39;s a GMT issue -- I seem to recall problems with 4.5.1, but I don&#39;t remember what they were; 2) There&#39;s a issue with one or more perl modules -- I consider this fairly unlikely, but possible; 3) We&#39;re running into the Ubuntu issues -- I don&#39;t recall this exact problem, usually it&#39;s a little later in grind when it tries to run sm_nearneighbor, but I don&#39;t know if anyone has tried Ubuntu with the DEM, so this could be a problem.</div>



<div><br></div><div>I see three options: 1) Give up and use the virtual machine -- you&#39;ll be up and running in five minutes; 2) Upgrade your GMT to 4.5.5 or 4.5.7 and see if that fixes the problem; 3) Debug topo2grd and see if you can find where it&#39;s going off track. You&#39;ll notice that the verbose option gives you the full command:</div>



<div><div><br></div><div>/opt/shakemap/bin/../bin/topo2grd 9583161 -120.150000/-117.650000/33.533000/35.593000 0.025/0.025 regime=active </div><div><br></div></div><div>You can run this from the command line. You can either add print statements until you identify the problem, or there&#39;s a perl visual debugger called ptkdb that you can install. The problem appears as if it starts in the subroutine called &quot;dem2grd&quot; or one of those below it. </div>



<div><br></div><div>Sorry, I wish I could be more help. Let me know what progress you make.</div><span><font color="#888888"><div><br></div><div>Bruce</div></font></span><div><div><div><br></div>

<div> </div><div><div><div>On Jul 13, 2012, at 3:12 PM, Branden Christensen wrote:</div><br><blockquote type="cite"><div><b>First, $VERBOSE=0;</b></div><div><b><br></b></div><div><b>osop@sandbox1:/opt/shakemap/bin$ ./grind -event 9583161 -xml -qtm -verbose</b></div>



<div>Map bound: -120.150000/-117.650000/33.533000/35.593000</div><div>cp: cannot stat `/opt/shakemap/dem//tmp.topo2grd.24664.grd&#39;: No such file or directory</div>

<div>grdsample: Could not find file [/opt/shakemap/dem//tmp.topo2grd.24664.grd.1]</div><div>Could not find /opt/shakemap/dem//tmp.topo2grd.24664.grd, aborting.</div><div>grind: Error: Error in topo/sitecorr map creation, exiting.</div>





<div><br></div><div><b>SECOND, $VERBOSE=1;</b></div><div><b><br></b></div><div><b>osop@sandbox1:/opt/shakemap/bin$ ./grind -event 9583161 -xml -qtm -verbose</b></div><div>Map bound: -120.150000/-117.650000/33.533000/35.593000</div>





<div>cp: cannot stat `/opt/shakemap/dem//tmp.topo2grd.24744.grd&#39;: No such file or directory</div><div>grdsample: Could not find file [/opt/shakemap/dem//tmp.topo2grd.24744.grd.1]</div><div><font color="#ff0000">/opt/shakemap/bin/../bin/topo2grd 9583161 -120.150000/-117.650000/33.533000/35.593000 0.025/0.025 regime=active </font></div>





<div><font color="#ff0000">Using /opt/shakemap/dem/. Final resolution fixed at 0.025.</font></div><div><font color="#ff0000">Done with pasting.</font></div><div><font color="#ff0000">FINAL BOUNDS: -R///</font></div><div>




<font color="#ff0000">cp /opt/shakemap/dem//tmp.topo2grd.24744.grd /opt/shakemap/dem//tmp.topo2grd.24744.grd.1</font></div>
<div><font color="#ff0000">/usr/lib/gmt/bin/grdsample /opt/shakemap/dem//tmp.topo2grd.24744.grd.1 -G/opt/shakemap/dem//tmp.topo2grd.24744.grd -I0.025</font></div><div><font color="#ff0000">FINAL BOUNDS: -R///</font></div>





<div>Could not find /opt/shakemap/dem//tmp.topo2grd.24744.grd, aborting.</div><div>grind: Error: Error in topo/sitecorr map creation, exiting.</div><div><br></div><span style="border-collapse:collapse"><font face="arial, helvetica, sans-serif" style="font-weight:normal;font-family:arial,sans-serif"><b>Branden C. Christensen</b></font><div>





<font face="arial, helvetica, sans-serif" style="font-family:arial,sans-serif">Director, OSOP</font></div><div style="font-weight:normal"><font face="arial, helvetica, sans-serif" style="font-family:arial,sans-serif"><b><span style="font-family:arial;font-weight:normal"><a href="mailto:branden.christensen@osop.com.pa" target="_blank"><font color="#0000cc">branden.christensen@</font>osop.com.pa</a></span></b></font></div>





<div><font face="arial, sans-serif"><a href="http://www.osop.com.pa/" target="_blank">www.osop.com.pa</a></font></div><div style="font-weight:normal">Volcan, Panama</div><div style="font-weight:normal"><span></span><span></span><img src="https://lh6.googleusercontent.com/-bviEnZQwR1c/TyFjLS3_c-I/AAAAAAAAA34/QkVFwd3oAu4/w405-h150-k/OSOP.png"><br>





<div><div><font face="arial, helvetica, sans-serif"><span style="line-height:9px"><br></span></font></div></div></div></span><span style="border-collapse:collapse"><div style="font-weight:normal"><div><img style="font-family:&#39;Times New Roman&#39;;font-size:medium"><span style="font-family:arial,helvetica,sans-serif;line-height:10px"></span></div>





</div></span><div><div><div><div></div></div></div></div><br>
<br><br><div class="gmail_quote">On Fri, Jul 13, 2012 at 10:04 PM, Bruce Worden <span dir="ltr">&lt;<a href="mailto:cbworden@gmail.com" target="_blank">cbworden@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div style="word-wrap:break-word">Okay. Edit the program &lt;shake&gt;/bin/topo2grd and set $VERBOSE = 1, then try to run grind again and let us look at the output.<span><font color="#888888"><div><br></div>

<div>Bruce</div></font></span><div><div><div><br><div><div>On Jul 13, 2012, at 2:05 PM, Branden Christensen wrote:</div><br><blockquote type="cite">Bruce:<div><br></div><div><br></div><div>I am running it from user &quot;osop&quot; and the permissions look good:</div>





<div><br></div><div><div>osop@sandbox1:/opt/shakemap/dem$ ls -l</div><div>total 3037932</div><div>drwxr-xr-x 4 osop osop      4096 Jun  7 11:45 SRTM30</div>

<div>-rw-r-xr-x 1 osop osop     38252 Jul 10 08:52 Utah_srtm.jpg</div><div>-rwxr-xr-x 1 osop osop      4293 Jul 10 08:52 <a href="http://dem2grd.pl/" target="_blank">dem2grd.pl</a></div><div>-rwxr-xr-x 1 osop osop      3653 Jul 10 08:52 dem2grd.pl.orig</div>







<div>-rw-r-xr-x 1 osop osop 115201364 Jul 10 08:50 e020n40.grd</div><div>-rw-r-xr-x 1 osop osop 115201364 Jul 10 08:50 e020n90.grd</div><div>-rw-r-xr-x 1 osop osop 115201364 Jul 10 08:50 e020s10.grd</div><div>-rw-r-xr-x 1 osop osop 115201364 Jul 10 08:50 e060n40.grd</div>







</div><div>...</div><div><br></div><div>and </div><div><br></div><div><div>osop@sandbox1:/opt/shakemap$ ls -l</div><div>total 108</div><div>...</div><div>drwxr-xr-x  3 osop osop  4096 Jul 10 08:52 dem</div><div>...</div>






</div>
<div><br></div><div><b style="font-family:arial,sans-serif">Branden C. Christensen</b></div><div><span style="border-collapse:collapse"><div><font face="arial, helvetica, sans-serif" style="font-family:arial,sans-serif">Director, OSOP</font></div>







<div style="font-weight:normal"><font face="arial, helvetica, sans-serif" style="font-family:arial,sans-serif"><b><span style="font-family:arial;font-weight:normal"><a href="mailto:branden.christensen@osop.com.pa" target="_blank"><font color="#0000cc">branden.christensen@</font>osop.com.pa</a></span></b></font></div>







<div><font face="arial, sans-serif"><a href="http://www.osop.com.pa/" target="_blank">www.osop.com.pa</a></font></div><div style="font-weight:normal">Volcan, Panama</div><div style="font-weight:normal"><span></span><span></span><img src="https://lh6.googleusercontent.com/-bviEnZQwR1c/TyFjLS3_c-I/AAAAAAAAA34/QkVFwd3oAu4/w405-h150-k/OSOP.png"><br>







<div><div><font face="arial, helvetica, sans-serif"><span style="line-height:9px"><br></span></font></div></div></div></span><span style="border-collapse:collapse"><div style="font-weight:normal"><div><img style="font-family:&#39;Times New Roman&#39;;font-size:medium"><span style="font-family:arial,helvetica,sans-serif;line-height:10px"></span></div>







</div></span><div><div><div><div></div></div></div></div><br>
<br><br><div class="gmail_quote">On Fri, Jul 13, 2012 at 8:57 PM, Bruce Worden <span dir="ltr">&lt;<a href="mailto:cbworden@gmail.com" target="_blank">cbworden@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div style="word-wrap:break-word">Hmm, that&#39;s strange. Does the ShakeMap user have permission to write files in /opt/shakemap/dem?<span><font color="#888888"><div><br></div><div>Bruce</div></font></span><div>

<div><div><br><div><div><div>On Jul 13, 2012, at 11:40 AM, Branden Christensen wrote:</div><br><blockquote type="cite">Bruce:<div><br></div><div><br></div><div>I changed the path in /opt/shakemap/install/macros to: </div>







<div><br></div><div>DEMDIR = /opt/shakemap/dem/SRTM30</div><div><br></div><div>The contents of my are exactly the same as yours:</div>


<div><br></div><div><div>osop@sandbox1:/opt/shakemap$ ls /opt/shakemap/dem/SRTM30</div><div>DATA    Utah_srtm.jpg  dem2grd.pl.orig  foo.jpg  <a href="http://grab_srtm30.pl/" target="_blank">grab_srtm30.pl</a>  topo.cpt</div>









<div>SRTM30  <a href="http://dem2grd.pl/" target="_blank">dem2grd.pl</a>     foo.grd          <a href="http://foo.ps/" target="_blank">foo.ps</a>   <a href="http://map.pl/" target="_blank">map.pl</a></div>
<div>osop@sandbox1:/opt/shakemap$ ls /opt/shakemap/dem/SRTM30/DATA</div><div>e020n40.grd  e060s10.grd  e140n90.grd  w060n40.grd  w100s10.grd  w180n90.grd</div><div>e020n90.grd  e100n40.grd  e140s10.grd  w060n90.grd  w140n40.grd  w180s10.grd</div>










<div>e020s10.grd  e100n90.grd  w020n40.grd  w060s10.grd  w140n90.grd</div><div>e060n40.grd  e100s10.grd  w020n90.grd  w100n40.grd  w140s10.grd</div><div>e060n90.grd  e140n40.grd  w020s10.grd  w100n90.grd  w180n40.grd</div>










</div><div><br></div><div>I then did a &quot;sudo make veryclean&quot; and &quot;sudo make all&quot; just in case it mattered. </div><div><br></div><div>The output is still:</div><div><br></div><div><div><b>osop@sandbox1:/opt/shakemap/bin$ ./grind -event 9583161 -xml -qtm -verbose</b></div>










<div>Map bound: -120.150000/-117.650000/33.533000/35.593000</div><div><font color="#ff0000">cp: cannot stat `/opt/shakemap/dem//tmp.topo2grd.28555.grd&#39;: No such file or directory</font></div><div>grdsample: Could not find file [/opt/shakemap/dem//tmp.topo2grd.28555.grd.1]</div>










<div>Could not find /opt/shakemap/dem//tmp.topo2grd.28555.grd, aborting.</div><div>grind: Error: Error in topo/sitecorr map creation, exiting.</div></div><div><br></div><div><br></div><div>B</div><div><br clear="all"><span style="border-collapse:collapse"><font face="arial, helvetica, sans-serif" style="font-weight:normal;font-family:arial,sans-serif"><b>Branden C. Christensen</b></font><div>










<font face="arial, helvetica, sans-serif" style="font-family:arial,sans-serif">Director, OSOP</font></div><div style="font-weight:normal"><font face="arial, helvetica, sans-serif" style="font-family:arial,sans-serif"><b><span style="font-family:arial;font-weight:normal"><a href="mailto:branden.christensen@osop.com.pa" target="_blank"><font color="#0000cc">branden.christensen@</font>osop.com.pa</a></span></b></font></div>










<div><font face="arial, sans-serif"><a href="http://www.osop.com.pa/" target="_blank">www.osop.com.pa</a></font></div><div style="font-weight:normal">Volcan, Panama</div><div style="font-weight:normal"><span></span><span></span><img src="https://lh6.googleusercontent.com/-bviEnZQwR1c/TyFjLS3_c-I/AAAAAAAAA34/QkVFwd3oAu4/w405-h150-k/OSOP.png"><br>










<div><div><font face="arial, helvetica, sans-serif"><span style="line-height:9px"><br></span></font></div></div></div></span><span style="border-collapse:collapse"><div style="font-weight:normal"><div><img style="font-family:&#39;Times New Roman&#39;;font-size:medium"><span style="font-family:arial,helvetica,sans-serif;line-height:10px"></span></div>










</div></span><div><div><div><div></div></div></div></div><br>
<br><br><div class="gmail_quote">On Fri, Jul 13, 2012 at 6:16 PM, Bruce Worden <span dir="ltr">&lt;<a href="mailto:cbworden@gmail.com" target="_blank">cbworden@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">










<div style="word-wrap:break-word">Hi Branden,<div><br></div><div>Congratulations -- it looks like you&#39;re almost there.</div><div><br></div><div>I believe the error messages are related. When you run mapping with -gsm, it expects to find a topo file left behind by grind. But you were running without -qtm, so the topo file never got made. When you run grind with -qtm, it&#39;s not finding the DEM for some reason.</div>










<div><br></div><div>Here is how my system is set up: In &lt;shake&gt;/include/macros, I have the following line:</div><div><br></div><div><div>DEMDIR = /Users/bruceworden/Unix/ShakeMap/DATA/SRTM30</div></div><div><br></div>










<div>In that directory is another directory called DATA (i.e., /Users/bruceworden/Unix/ShakeMap/DATA/SRTM30/DATA) that contains the following files:</div><div><br></div><div><div>[giles:DATA] &lt;281&gt; ls</div><div>e020n40.grd  e060s10.grd  e140n90.grd  w060n40.grd  w100s10.grd  w180n90.grd </div>










<div>e020n90.grd  e100n40.grd  e140s10.grd  w060n90.grd  w140n40.grd  w180s10.grd </div><div>e020s10.grd  e100n90.grd  w020n40.grd  w060s10.grd  w140n90.grd  </div><div>e060n40.grd  e100s10.grd  w020n90.grd  w100n40.grd  w140s10.grd  </div>










<div>e060n90.grd  e140n40.grd  w020s10.grd  w100n90.grd  w180n40.grd  </div></div><div><br></div><div>See if you have an analogous setup on your machine. Note that the DEM files are GMT grd files. If you have the raw DEM files, you&#39;ll need to use the program <a href="http://dem2grd.pl/" target="_blank">dem2grd.pl</a> (which should be included with the directory you got from Kuo-Wan&#39;s FTP site) to convert them.</div>










<div><br></div><div>Bruce</div><div><br></div><div><br></div><div><div><div><div><div>On Jul 13, 2012, at 9:43 AM, Branden Christensen wrote:</div><br></div></div><blockquote type="cite"><div><div>Bruce et al.:<div>
<br></div><div><br></div><div>Great news. I have what looks like an operational ShakeMap installed on Ubuntu 10.04. </div><div><br></div><div>It turns out the error I reported in my last email:</div><div>

<br></div><div><font color="#ff0000">pscoast: full resolution shoreline data base not installed</font></div><div><br></div><div>was due to a version problem. I had coastline files version 2.0.2 and v2.0.2 files are not backwards compatible with GMT v4.5.1-1. I needed to use version 2.0.1. If anyone runs into this issue in the future here are the resources that led me to the solution:</div>












<div><br></div><div><div>- <a href="https://groups.google.com/forum/?fromgroups#!topic/linux.debian.bugs.dist/Av7HBia3sbc" target="_blank">https://groups.google.com/forum/?fromgroups#!topic/linux.debian.bugs.dist/Av7HBia3sbc</a></div>










<div>

- <a href="ftp://ftp.iris.washington.edu/pub/gmt/" target="_blank">ftp://ftp.iris.washington.edu/pub/gmt/</a></div></div><div><br></div><div><br></div><div>What follows is the output I am now getting for ShakeMap. A jpeg for the test event is attached. </div>












<div><br></div><div>I am concerned about the following error:</div><div><br></div><div><font color="#ff0000">Could not find /opt/shakemap/dem//tmp.topo2grd.27124.grd, aborting.</font></div><div><br></div><div>Please see below for the details:</div>












<div><br></div><div><br></div><div><div><b style="background-color:rgb(255,255,0)">WITHOUT -qtm flag for grind...</b></div><div><b><br></b></div><div><b><br></b></div><div><b>osop@sandbox1:/opt/shakemap/bin$ ./shake -event 9583161 -dryrun</b></div>












<div>/opt/shakemap/bin/../bin/retrieve -event 9583161</div><div>/opt/shakemap/bin/../bin/grind -event 9583161 -xml</div><div>/opt/shakemap/bin/../bin/tag -event 9583161</div><div>/opt/shakemap/bin/../bin/mapping -event 9583161 -gsm -timestamp -itopo</div>












<div>/opt/shakemap/bin/../bin/genex -event 9583161 -zip -metadata -shape shape</div><div>/opt/shakemap/bin/../bin/transfer -event 9583161 -www -push</div><div>/opt/shakemap/bin/../bin/setversion -event 9583161</div><div>











<br>
</div><div><br></div><div><b>osop@sandbox1:/opt/shakemap/bin$ ./retrieve -event 9583161 -verbose</b></div><div><br></div><div><br></div><div><b>osop@sandbox1:/opt/shakemap/bin$ ./grind -event 9583161 -xml -verbose</b></div>












<div>Map bound: -120.150000/-117.650000/33.533000/35.593000</div><div>Using GMICE::WGRW11 for PGM2MI function</div><div>Using GMICE::WGRW11 for Inverse PGM2MI function</div><div>Using GMPE::BA08 for GMPE</div><div>BA08: No source mechanism specified. Using default.</div>












<div>grind: Bias 0.43 0.47</div><div>grind: 16 amps flagged out this iteration</div><div>grind: Bias 0.43 0.51</div><div>grind: 1 amps flagged out this iteration</div><div>grind: Bias 0.43 0.51</div><div>grind: 0 amps flagged out this iteration</div>












<div>Using DefaultIPE for IPE</div><div>Using GMPE::BA08 for GMPE</div><div>BA08: No source mechanism specified. Using default.</div><div>Intensity Bias=0.57</div><div>0 amps flagged out this iteration</div><div>Uncertainty computation skipped (no Intensity &gt; 6.0)</div>












<div><br></div><div><br></div><div><b>osop@sandbox1:/opt/shakemap/bin$ ./tag -event 9583161 -verbose</b></div><div>tag: exiting without action</div><div><br></div><div><br></div><div><b>osop@sandbox1:/opt/shakemap/bin$ ./mapping -event 9583161 -gsm -timestamp -itopo -verbose</b></div>












<div>Running: /opt/shakemap/bin/../bin/echo -117.650000 35.593000 | /usr/lib/gmt/bin/mapproject -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51</div><div>Running: /opt/shakemap/bin/../bin/echo -117.650000 35.593000 | /usr/lib/gmt/bin/mapproject -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM25.4</div>












<div>Running: /opt/shakemap/bin/../bin/echo -117.650000 35.593000 | /usr/lib/gmt/bin/mapproject -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JQ0/16.51</div><div>Running: /usr/lib/gmt/bin/psbasemap -Bw -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -X2.54 -Y2.54 -K</div>












<div>Running: /usr/lib/gmt/bin/psbasemap -Bw -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -X2.54 -Y6.35 -K</div><div>Running: /usr/lib/gmt/bin/psxy /opt/shakemap/bin/../lib/mapping/ca_roads.xy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -m -W6/153/153/153 -O -K</div>












<div>Running: /usr/lib/gmt/bin/pscoast -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -N1/5 -N2/5 -Df -W5 -S120/160/220 -Ia/2/120/160/220 -O -K</div><div>Running: /opt/shakemap/bin/../bin/echo -118.900000 34.563000 | /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -Sa0.762 -W6/255/0/0 -L -O -K</div>












<div>Running: /opt/shakemap/bin/../bin/echo &quot;0 -1.143 9 0 1 5 Map Version 1 Processed Fri Jul 13, 2012 10:29:52 AM EST &quot; | /usr/lib/gmt/bin/pstext -JX16.4465450265/16.51 -R0/16.4465450265/0/16.51 -N -O -K</div>











<div>
Running: /usr/lib/gmt/bin/psbasemap -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -Ba60mf30m/a30mf30mWSen -Lfx2.54/1.78/34.5630/50+l -O</div><div>mapping: Creating topography files.</div><div>











<br>
</div><div><font color="#ff0000">Could not find /opt/shakemap/dem//tmp.topo2grd.27124.grd, aborting.</font></div><div><font color="#ff0000">mapping: Topography file created.</font></div><div><br></div><div><font color="#ff0000">mapping: WARNING: no topography data found; will continue without topo.</font></div>












<div>Sampling to a finer grid; old: 0.025000/0.025122 new: 30c/30c</div><div>Running: /usr/lib/gmt/bin/grdsample /opt/shakemap/bin/../data/9583161/output/mi.grd -G/opt/shakemap/bin/../data/9583161/mapping/tmp_mi.grd -I30c/30c</div>












<div><font color="#ff0000">mapping: WARNING: can&#39;t find topo data: making mi without topography</font></div><div>Running: /usr/lib/gmt/bin/grdimage /opt/shakemap/bin/../data/9583161/mapping/tmp_mi.grd -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000/10/3000 -JM16.51 -C/opt/shakemap/bin/../lib/mapping/Ii.cpt -O -K</div>












<div><font color="#ff0000">mapping: WARNING: can&#39;t find topo data: making mi without topography</font></div><div>Running: /usr/lib/gmt/bin/grdimage /opt/shakemap/bin/../data/9583161/mapping/tmp_mi.grd -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000/10/3000 -JM25.4 -C/opt/shakemap/bin/../lib/mapping/Ii_ntsc.cpt -O -K</div>












<div>Running: /usr/lib/gmt/bin/grdcontour /opt/shakemap/bin/../data/9583161/output/pga.grd -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -C0.9 -W5/255/255/255 -Af12/255/255/255 -Q8 -m -L0.45/9999 -O -K</div>












<div>Running: /usr/lib/gmt/bin/grdcontour /opt/shakemap/bin/../data/9583161/output/pgv.grd -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -C0.2 -W5/255/255/255 -Af12/255/255/255 -Q8 -m -L0.1/9999 -O -K</div>












<div>Running: /usr/lib/gmt/bin/grdimage /opt/shakemap/bin/../data/9583161/output/urat_pga.grd -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -C/opt/shakemap/bin/../lib/mapping/sd.cpt -O -K</div>












<div>Running: /usr/lib/gmt/bin/psscale -C/opt/shakemap/bin/../lib/mapping/sd.cpt.legend.no1 -D6.7i/2.75i/5.00i/0.2i -O -K</div><div>Running: /usr/lib/gmt/bin/psscale -Bp -C/opt/shakemap/bin/../lib/mapping/sd.cpt.legend -D6.7i/2.75i/5.00i/0.2i -O -K</div>












<div>Running: /usr/lib/gmt/bin/psscale -C/opt/shakemap/bin/../lib/mapping/sd.cpt.legend.0 -D6.7i/0.1i/0.2i/0.2i -O -K</div><div>Running: echo 17.145 12.446 12 0 1 5 F  | /usr/lib/gmt/bin/pstext -JX16.4465450265/16.51 -R0/16.4465450265/0/16.51 -N -O -K</div>












<div>Running: echo 17.145 1.524 12 0 1 5 A  | /usr/lib/gmt/bin/pstext -JX16.4465450265/16.51 -R0/16.4465450265/0/16.51 -N -O -K</div><div>Running: echo 17.145 8.636 12 0 1 5 D  | /usr/lib/gmt/bin/pstext -JX16.4465450265/16.51 -R0/16.4465450265/0/16.51 -N -O -K</div>












<div>Running: echo 17.145 4.318 12 0 1 5 C  | /usr/lib/gmt/bin/pstext -JX16.4465450265/16.51 -R0/16.4465450265/0/16.51 -N -O -K</div><div>Running: echo 17.145 2.845 12 0 1 5 B  | /usr/lib/gmt/bin/pstext -JX16.4465450265/16.51 -R0/16.4465450265/0/16.51 -N -O -K</div>












<div>Running: /usr/lib/gmt/bin/mapproject -JM16.51 -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -W1 -L -O -K</div>












<div>Done plotting stations.Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/255/0 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/224/224 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G102/102/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/102/102 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/255/0 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G102/255/102 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/120/0 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G102/255/102 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/0/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G102/102/102 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G204/0/0 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/153/0 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/255/0 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/224/224 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G102/102/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/102/102 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/255/0 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G102/255/102 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/120/0 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G102/255/102 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/0/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G102/102/102 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G204/0/0 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/153/0 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/255/0 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/224/224 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G102/102/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/102/102 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/255/0 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G102/255/102 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/120/0 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/0/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G102/255/102 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G255/0/255 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G102/102/102 -O -K</div>












<div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G204/0/0 -O -K</div><div>Running: /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM16.51 -S -G0/153/0 -O -K</div>












<div>Running: /opt/shakemap/bin/../bin/echo -118.900000 34.563000 | /usr/lib/gmt/bin/mapproject -JM16.51 -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000</div><div><font color="#ff0000">mapping: WARNING: couldn&#39;t find topo and intensity data; will continue without topo.</font></div>












<div>Making urat_pga plot</div><div>Printing grade - (-0.000)</div><div>Running: echo  &#39;0.508 0.635 12 0 1 5 GRADE: - (Mean sigma: -)&#39; | /usr/lib/gmt/bin/pstext -JX19.05/16.4465450265 -R0/19.05/0/16.4465450265 -C.05i -W255o4/0 -N -O -K </div>












<div>Running: echo  &#39;13.53 0.508 12 0 1 5 MI = 6.0&#39; | /usr/lib/gmt/bin/pstext -JX19.05/16.4465450265 -R0/19.05/0/16.4465450265 -N -O -K </div><div>Making pgv plot</div><div>Making pga plot</div><div>Making mi plot</div>












<div>Done with mi plot</div><div>Making tvmap</div><div>Running: /usr/lib/gmt/bin/psbasemap -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM25.4 -Bwesn -X2.54 -Y2.54 -K</div><div>Running: /usr/lib/gmt/bin/psxy /opt/shakemap/bin/../lib/mapping/ca_roads.xy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM25.4 -m -W8/153/153/153 -O -K</div>












<div>Running: /usr/lib/gmt/bin/pscoast -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM25.4 -Na/10/102/102/102 -Df -W10/102/102/102 -S120/160/220 -O -K</div><div>Running: /opt/shakemap/bin/../bin/echo -118.900000 34.563000 | /usr/lib/gmt/bin/psxy -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM25.4 -Sa0.762 -W6/255/0/0 -L -O -K</div>












<div>Running: /usr/lib/gmt/bin/psbasemap -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM25.4 -Bwesn -Lfx5.54/2.54/34.5630/50m+l -O</div><div>Running: /usr/lib/gmt/bin/psbasemap -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JM25.4 -Ba60mf30m/a30mf30mWSen -O</div>












<div>Done with tvmap</div><div>Running: /usr/lib/gmt/bin/grdimage /opt/shakemap/bin/../data/9583161/mapping/tmp_mi.grd -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JQ0/16.51 -C/opt/shakemap/bin/../lib/mapping/Ii_ntsc.cpt -K</div>












<div>Running: /usr/lib/gmt/bin/pscoast -Df -P -R-120.1500000000/-117.6500000000/33.5330000000/35.5930000000 -JQ0/16.51 -S0 -O</div><div><br></div><div><br></div><div><b>osop@sandbox1:/opt/shakemap/bin$ ./genex -event 9583161 -zip -metadata -shape shape -verbose</b></div>












<div>Creating &#39;genex&#39; directory</div><div>Creating shape files</div><div>genex: /opt/shakemap/bin/../bin/contour -g pga.grd -C 0.04 -f 0.02 -Z 0.01 -T 4 -o shape_shape/pga &gt;&gt; /opt/shakemap/bin/../logs/shape.log 2&gt;&amp;1</div>












<div>genex: /opt/shakemap/bin/../bin/contour -g psa03.grd -C 0.04 -f 0.02 -Z 0.01 -T 4 -o shape_shape/psa03 &gt;&gt; /opt/shakemap/bin/../logs/shape.log 2&gt;&amp;1</div><div>genex: /opt/shakemap/bin/../bin/contour -g psa10.grd -C 0.04 -f 0.02 -Z 0.01 -T 4 -o shape_shape/psa10 &gt;&gt; /opt/shakemap/bin/../logs/shape.log 2&gt;&amp;1</div>












<div>genex: /opt/shakemap/bin/../bin/contour -g psa30.grd -C 0.04 -f 0.02 -Z 0.01 -T 4 -o shape_shape/psa30 &gt;&gt; /opt/shakemap/bin/../logs/shape.log 2&gt;&amp;1</div><div>genex: /opt/shakemap/bin/../bin/contour -g pgv.grd -C 2.0 -f 1.0 -Z 1.0 -T 4 -o shape_shape/pgv &gt;&gt; /opt/shakemap/bin/../logs/shape.log 2&gt;&amp;1</div>












<div>genex: /opt/shakemap/bin/../bin/contour -g mi.grd -C 0.2 -f 0.1 -Z 1.0 -T 4 -o shape_shape/mi &gt;&gt; /opt/shakemap/bin/../logs/shape.log 2&gt;&amp;1</div><div>Done.</div><div>Fill data array</div><div>Done.</div><div>












Updating the web database with the new event info</div><div>Creating &#39;genex/ftp/9583161&#39; directory</div><div>Making JPEG&#39;s from PostScript files</div><div>genex: Running: PATH=$PATH:/usr/bin/; export PATH; /usr/bin/convert -colorspace RGB -quality 85 -density 144x144 <a href="http://tvmap.ps/" target="_blank">tvmap.ps</a> tvmap.jpg; /usr/bin/convert -resize 50% -crop 864x861+0+-69 +antialias tvmap.jpg tvmap.jpg;</div>












<div><br></div><div>genex: Running: PATH=$PATH:/usr/bin/; export PATH; /usr/bin/convert -colorspace RGB -quality 85 -density 144x144 <a href="http://urat_pga.ps/" target="_blank">urat_pga.ps</a> urat_pga.jpg; /usr/bin/convert -resize 50% -crop +0+182 +antialias urat_pga.jpg urat_pga.jpg;</div>












<div><br></div><div>genex: Running: PATH=$PATH:/usr/bin/; export PATH; /usr/bin/convert -colorspace RGB -quality 85 -density 144x144 <a href="http://pgv.ps/" target="_blank">pgv.ps</a> pgv.jpg; /usr/bin/convert -resize 50% -crop +0+182 +antialias pgv.jpg pgv.jpg;</div>












<div><br></div><div>genex: Running: PATH=$PATH:/usr/bin/; export PATH; /usr/bin/convert -colorspace RGB -quality 85 -density 144x144 <a href="http://intensity.ps/" target="_blank">intensity.ps</a> intensity.jpg; /usr/bin/convert -resize 50% -crop +0+74 +antialias intensity.jpg intensity.jpg;/usr/bin/convert intensity.jpg -thumbnail 100x100 ii_thumbnail.jpg</div>












<div><br></div><div>genex: Running: PATH=$PATH:/usr/bin/; export PATH; /usr/bin/convert -crop 468x386+72+334 -transparent black <a href="http://ii_overlay.ps/" target="_blank">ii_overlay.ps</a> ii_overlay.png</div><div><br>










</div><div>genex: Running: PATH=$PATH:/usr/bin/; export PATH; /usr/bin/convert -colorspace RGB -quality 85 -density 144x144 <a href="http://pga.ps/" target="_blank">pga.ps</a> pga.jpg; /usr/bin/convert -resize 50% -crop +0+182 +antialias pga.jpg pga.jpg;</div>












<div><br></div><div>genex: Running: PATH=$PATH:/usr/bin/; export PATH; /usr/bin/convert -colorspace RGB -quality 85 -density 144x144 <a href="http://tvmap_bare.ps/" target="_blank">tvmap_bare.ps</a> tvmap_bare.jpg; /usr/bin/convert -resize 50% -crop 864x861+0+-69 +antialias tvmap_bare.jpg tvmap_bare.jpg;</div>












<div><br></div><div>Done.</div><div>Preparing info for clickmaps</div><div>Done.</div><div>Collecting files for the web site</div><div>Done.</div><div>Creating metadata.</div><div>Running: /usr/bin/mp -h metadata.html -x metadata.xml -t metadata.txt metadata.txt</div>












<div>Usage:</div><div>mp [-a4] [-addhdr type] [-alias name] [-allhdrs] [-article] [-bottom #] </div><div>   [-bsdprint] [-chars #] [-columns #] [-config name] [-content] [-copies #] </div><div>   [-digest] [-elm] [-flip] [-folder] [-forcepage] [-from] [-help] </div>












<div>   [-landscape] [-left #] [-linelength #] [-modtime] [-name appname] </div><div>   [-newpage] [-nobanners] [-noburstpage] [-number] [-onesided] [-organiser </div><div>   {filofax|franklin|proplan|timeman|tsintl|tspartner} ] [-pagelength #] </div>












<div>   [-portrait] [-postscript] [-printer] [-prologue name] [-remhdr type] </div><div>   [-right #] [-subject text] [-tab #] [-text] [-tumble] [-twosided] [-us] </div><div>   [-version] [-words #] [-wrap] [filename ...] </div>












<div><br></div><div>Done.</div><div>Creating KML/KMZ.</div><div>Done.</div><div>Finishing up shape files...</div><div>Done.</div><div>Cooking web pages</div><div>Build homepage</div><div>Build &#39;Most Recent Earthquake&#39; table</div>












<div>Build &#39;Other Recent Earthquakes&#39; list</div><div>  events [] in list</div><div>Done.</div><div><br></div><div><br></div><div><b>osop@sandbox1:/opt/shakemap/bin$ ./transfer -event 9583161 -www -push -verbose</b></div>












<div>transfer: ----- Starting Transfer at 07/13/2012 10:31:21 -----</div><div>transfer: ----- Transfer finished at 07/13/2012 10:31:21 -----</div><div><br></div><div><br></div><div><b>osop@sandbox1:/opt/shakemap/bin$ ./setversion -event 9583161 -verbose</b></div>












<div>setversion: Nothing to do, exiting.</div><div><br></div><div><br></div><div><br></div><div><span style="background-color:rgb(51,255,51)"><b>WITH -qtm flag for grind...</b></span></div><div><span style="background-color:rgb(51,255,51)"><br>












</span></div><div><span style="background-color:rgb(51,255,51)"><div><b>osop@sandbox1:/opt/shakemap/bin$ ./grind -event 9583161 -xml -qtm -verbose</b></div><div>Map bound: -120.150000/-117.650000/33.533000/35.593000</div>












<div><font color="#ff0000">cp: cannot stat `/opt/shakemap/dem//tmp.topo2grd.29713.grd&#39;: No such file or directory</font></div><div>grdsample: Could not find file [/opt/shakemap/dem//tmp.topo2grd.29713.grd.1]</div><div>












Could not find /opt/shakemap/dem//tmp.topo2grd.29713.grd, aborting.</div><div>grind: Error: Error in topo/sitecorr map creation, exiting.</div><div><br></div><div><br></div><div><br></div><div><b>Branden Christensen</b></div>












<div><a href="mailto:branden.christensen@osop.com.pa" target="_blank">branden.christensen@osop.com.pa</a></div><div><a href="http://www.osop.com.pa/" target="_blank">www.osop.com.pa</a></div><div><br></div></span></div></div>











</div></div><span>&lt;intensity.jpg&gt;</span></blockquote></div><br></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</div></div><span>&lt;pgv.jpg&gt;</span><span>&lt;pga.jpg&gt;</span><span>&lt;intensity.jpg&gt;</span></blockquote></div><br></div></div></blockquote></div><br></div>