Thank you so much, Mr. Worden and Mr. Burgoa, for the great information! I will be sure to try your suggestions out next week and will be in touch on how it goes!<div><br></div><div>Thank you again and hope you have a great weekend!</div>
<div><br></div><div>Saludos,</div><div>Lily<br><br><div class="gmail_quote">On Thu, Nov 8, 2012 at 8:18 PM, Billy edson Burgoa Rosso <span dir="ltr"><<a href="mailto:billyburgoa@yahoo.com" target="_blank">billyburgoa@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif">
<div><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span>Hello Lily,</span><span><br>
<br>I have been working with
shakemap and I would like to help you.</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<span>The stdout message means there are no topo data for your region. The topo data is grd file and ShakeMap uses this topographic information to obtain the Vs30 (shear waves velocity beneath 30 m earth surface) and also for drawing maps taking into account the topography.</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br>Now, where do you find a topographic data for your region??...well, you can
download with a resolution of 30 seconds of arc (a grid with a
resolution of ~1x1 km) in this site:<br><br><a href="http://www1.gsi.go.jp/geowww/globalmap-gsi/gtopo30/gtopo30.html" target="_blank">http://www1.gsi.go.jp/geowww/globalmap-gsi/gtopo30/gtopo30.html</a><br><br>select
the area where is Chile located. The compress file, that You'll
download, contains a DEM file, in your case is called W100S10.DEM. You
have to use the GMT program grdraster in order to convert this DEM file
to grd one. Please follow the next steps to convert the DEM file to grd:<br><br>============================================================================================================<br>1. create a temporal directory and put into this the DEM file.<br>
<br>2. Inside your temp directory create a file called <a href="http://grdraster.info" target="_blank">grdraster.info</a> with this line and save it:<br><br> 1 "SRTM topography data - Chile region" "m" -R-100/-60/-60/-10 -I0.5m P i 1 0 -9999 W100S10.DEM B<br>
<br>3.
With the <a href="http://grdraster.info" target="_blank">grdraster.info</a> file and the DEM file for you region inside the
temporal file that you created, you can obtain the grd file with this
command:<br><br>[billy@myFedora17:~ ]$ grdraster 1 -R-100/-60/-60/-10 -I0.5m -Gw100s10.grd -V<br><br>4.
After executing the last command please verify the elevation values:
this information is in last line that you'll read in the std output. If
you see unrealistic values in the elevation, please delete the B value
in the line that contains the <a href="http://grdraster.info" target="_blank">grdraster.info</a> file.<br><br>5. In order to
verify if your grd file was created properly please execute the next
command that will draw a map taking into account the elevation:<br><br>[billy@myFedora17:~ ]$ grdimage w100s10.grd -R-100/-60/-60/-10 -C/usr/local/share/cpt/GMT_relief.cpt -JM6.5i -P -V > <a href="http://test.ps" target="_blank">test.ps</a><br>
[billy@myFedora17:~ ]$ gs <a href="http://test.ps" target="_blank">test.ps</a><br>==============================================================================================================<br><span></span><span></span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span><br>If all is ok, you will have to set up some information in a program and a config file.<br>
<br>In the first case where Vs30 is calculated based on the topographic data, the program
called topo2grd (which is located in $SHAKE_HOME/bin) needs to know where the grd files are to do this job. I suggest you to edit the program topo2grd in the line:</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<br><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span>my $topo_dir =
'PATH_of_your_grd_files';</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<span>It is important to tell you that the path the directory that contains the grd files must be named DATA. In my case I have the data in this PATH:</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<br><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span>/opt/gtopo30/DATA/</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<br><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span>and in my topo2grd program I set this path:</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<br><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span>my $topo_dir = '/opt/gtopo';</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<br><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span>Note that I didn't set the complete path name because this program uses the path and adds a directory called DATA.<br>
</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br><span></span></div><span></span><span></span><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<span>Now, if you want the topography to be drawn in your output image files, you will have to set the path and file name of your grd file in the maping.conf file which is located in the $SHAKE_HOME/config directory. There you'll have to edit this file and add this line (take a look to this file to understand more about it is needed to draw maps):</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<span>map_topo_hires = PATH_AND_FILE_NAME;</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<span>In your case you can add this information (here is necessary the complete path and grd file name):<br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span>map_topo_hires = /opt/gtopo30/DATA/w100s10.grd<br><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<span>regardering your last question, I think it is not a hard task to create
the XML files, following the information that is in 3.6 section of the ShakeMap SoftwareGuide, which is located in the $SHAKE_HOME/doc directory as well as the example XML file that comes with ShakeMap as example date. Some
realtime softwares such as Earthworm or SeisComP3 can produce automatically the XML file, you will only need to copy directory that is create by those programs in the directory $SHAKE_HOME/data. Note that the name of the directory that contains the XML files must have the name of the ID event. I don't know a parser....if you need help with Earthworm or SeisComP3 please let me know it, I can give you a hand.</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<span>I hope this will help you.</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">
<span>Kind regards,<br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span><br></span></div><div> </div><div>Billy Edson Burgoa Rosso<br>
<br></div> <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"> <hr size="1"> <b><span style="font-weight:bold">De:</span></b>
"<a href="mailto:shake-dev-request@geohazards.usgs.gov" target="_blank">shake-dev-request@geohazards.usgs.gov</a>" <<a href="mailto:shake-dev-request@geohazards.usgs.gov" target="_blank">shake-dev-request@geohazards.usgs.gov</a>><br>
<b><span style="font-weight:bold">Para:</span></b> <a href="mailto:shake-dev@geohazards.usgs.gov" target="_blank">shake-dev@geohazards.usgs.gov</a> <br> <b><span style="font-weight:bold">Enviado:</span></b> Jueves, 8 de noviembre, 2012 8:00 A.M.<br>
<b><span style="font-weight:bold">Asunto:</span></b> Shake-dev Digest, Vol 54, Issue 1<br> </font> </div> <br>Send Shake-dev mailing list submissions to<br> <a rel="nofollow" href="mailto:shake-dev@geohazards.usgs.gov" target="_blank">shake-dev@geohazards.usgs.gov</a><br>
<br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a rel="nofollow" href="https://geohazards.usgs.gov/mailman/listinfo/shake-dev" target="_blank">https://geohazards.usgs.gov/mailman/listinfo/shake-dev</a><br>
or, via email,
send a message with subject or body 'help' to<br> <a rel="nofollow" href="mailto:shake-dev-request@geohazards.usgs.gov" target="_blank">shake-dev-request@geohazards.usgs.gov</a><br><br>You can reach the person managing the list at<br>
<a rel="nofollow" href="mailto:shake-dev-owner@geohazards.usgs.gov" target="_blank">shake-dev-owner@geohazards.usgs.gov</a><br><br>When
replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Shake-dev digest..."<br><br><br>Today's Topics:<br><br> 1. Help (Lily Seidman)<br><br><br>----------------------------------------------------------------------<br>
<br>Message: 1<br>Date: Wed, 7 Nov 2012 16:51:26 -0300<br>From: Lily Seidman <<a rel="nofollow" href="mailto:leseidman@gmail.com" target="_blank">leseidman@gmail.com</a>><br>To: <a rel="nofollow" href="mailto:shake-dev@geohazards.usgs.gov" target="_blank">shake-dev@geohazards.usgs.gov</a><br>
Subject: [Shake-dev] Help<br>Message-ID:<br> <<a rel="nofollow" href="mailto:CAOTEYN2i5v5ZuFcnGcc78xmL_tbSW9s9MRbdKmEFSefLPU8Crg@mail.gmail.com" target="_blank">CAOTEYN2i5v5ZuFcnGcc78xmL_tbSW9s9MRbdKmEFSefLPU8Crg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<div><div class="h5"><br><br>Dear ShakeMap Users,<br><br>I am currently a new user of ShakeMap and am trying to customize ShakeMap<br>(after having downloaded it from Fedora and Virtual Machine) for Chile. I<br>
have created an event.xml file in which to test my customizations on. When<br>I run "shake" for the event, I get lines that say "no topo data found" or<br>"can't find topo data." Is this because the current topo data is for<br>
California and not Chile? If so, what do I do to customize the topo data?<br> Also, do I need to do the same (i.e. customize) with the basindepths.xy<br>file so that it is for Chile and not the LA basin?<br><br>Also, I have a few questions about turning the Chilean services data files<br>
into xml
files. Do you
suggest I use a XML parser and, if so, which do you<br>suggest?<br><br>Thank you so much in advance for your help and suggestions.<br><br>Saludos,<br>Lily<br><br>-- <br>Lily Seidman (Smith '11)<br>Fulbright Fellow<br>
<a rel="nofollow" href="mailto:LESeidman@gmail.com" target="_blank">LESeidman@gmail.com</a><br></div></div>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a rel="nofollow" href="http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20121107/d8c33d3c/attachment-0001.html" target="_blank">http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20121107/d8c33d3c/attachment-0001.html</a>><br>
<br>------------------------------<br><br>_______________________________________________<br>Shake-dev mailing list<br><a rel="nofollow" href="mailto:Shake-dev@geohazards.usgs.gov" target="_blank">Shake-dev@geohazards.usgs.gov</a><br>
<a rel="nofollow" href="https://geohazards.usgs.gov/mailman/listinfo/shake-dev" target="_blank">https://geohazards.usgs.gov/mailman/listinfo/shake-dev</a><br><br><br>End of Shake-dev Digest, Vol 54, Issue 1<br>****************************************<br>
<br><br> </div> </div> </div></div></div></div></div></div></div></div><br>_______________________________________________<br>
Shake-dev mailing list<br>
<a 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></blockquote></div><br><br clear="all"><div><br></div>-- <br>Lily Seidman (Smith '11)<div>Fulbright Fellow</div><div><a href="mailto:LESeidman@gmail.com" target="_blank">LESeidman@gmail.com</a></div><br>
</div>