<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Okay. Edit the program <shake>/bin/topo2grd and set $VERBOSE = 1, then try to run grind again and let us look at the output.<div><br></div><div>Bruce</div><div><br><div><div>On Jul 13, 2012, at 2:05 PM, Branden Christensen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Bruce:<div><br></div><div><br></div><div>I am running it from user "osop" 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/">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:'Times New Roman';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"><<a href="mailto:cbworden@gmail.com" target="_blank">cbworden@gmail.com</a>></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's strange. Does the ShakeMap user have permission to write files in /opt/shakemap/dem?<span class="HOEnZb"><font color="#888888"><div><br></div><div>Bruce</div></font></span><div>
<div class="h5"><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 "sudo make veryclean" and "sudo make all" 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': 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:'Times New Roman';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"><<a href="mailto:cbworden@gmail.com" target="_blank">cbworden@gmail.com</a>></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>Congratulations -- it looks like you'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's not finding the DEM for some reason.</div>
<div><br></div><div>Here is how my system is set up: In <shake>/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] <281> 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'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'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 > 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 "0 -1.143 9 0 1 5 Map Version 1 Processed Fri Jul 13, 2012 10:29:52 AM EST " | /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'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'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'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 '0.508 0.635 12 0 1 5 GRADE: - (Mean sigma: -)' | /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 '13.53 0.508 12 0 1 5 MI = 6.0' | /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 'genex' 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 >> /opt/shakemap/bin/../logs/shape.log 2>&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 >> /opt/shakemap/bin/../logs/shape.log 2>&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 >> /opt/shakemap/bin/../logs/shape.log 2>&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 >> /opt/shakemap/bin/../logs/shape.log 2>&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 >> /opt/shakemap/bin/../logs/shape.log 2>&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 >> /opt/shakemap/bin/../logs/shape.log 2>&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 'genex/ftp/9583161' directory</div><div>Making JPEG'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 'Most Recent Earthquake' table</div>
<div>Build 'Other Recent Earthquakes' 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': 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><intensity.jpg></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></body></html>