We (Pacific Northwest) sometime have small local earthquakes for which our locator gives a depth &lt; 1km. Explosions certainly can have depth &lt; 1km. So, George&#39;s scheme could potentially go wrong for those. However, it might be a non-issue for him because the DMC doesn&#39;t keep track of small, local earthquakes, i.e. there won&#39;t be any event information in the SEED file.  Larger ones probably always nucleate deeper than 1km.<br>
<br>The easiest (least change) solution is to leave EVDP in m and provide an option to traveltime like Januka suggested. If the EVDP is a float field, it could be in km, as you could specify a shallow depth as, e.g., 0.255 km. Another thought is that with the advent of relative location algorithms, depth differences on the 10-s of m scale might be resolvable for clustered earthquakes and for that reason leaving the units stay &quot;m&quot; might be worth it.<br>
<br>-Renate<br>Pacific Northwest Seismic Network<br>Seattle, WA<br><br><div class="gmail_quote">On Wed, Jul 20, 2011 at 6:41 AM, Januka Attanayake <span dir="ltr">&lt;<a href="mailto:jattanayake@yahoo.com">jattanayake@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: arial,helvetica,sans-serif; font-size: 10pt;">
<div><span>Isn&#39;t EVDP for nuclear explosions is &lt; 0.5 km ? I am not sure if there are any records of them in the IRIS DMS though. I suspect this is the reason why meters was used as the default unit to begin with? </span></div>
<div class="im"><div> </div><div style="color: rgb(162, 162, 162);"><font face="&#39;bookman old style&#39;, &#39;new york&#39;, times, serif" size="1"><b><i>_______________</i></b></font></div><div style="color: rgb(162, 162, 162);">
<b><font face="&#39;bookman old style&#39;, &#39;new york&#39;, times, serif" size="1"><font style="font-style: italic;">Serenity isn&#39;t freedom from the storm, but peace within the storm</font><br></font></b></div>  <div style="color: rgb(162, 162, 162);">
<font face="&#39;bookman old style&#39;, &#39;new york&#39;, times, serif" size="1"><b>Januka Attanayake </b></font></div>  <div style="color: rgb(162, 162, 162);"><font face="&#39;bookman old style&#39;, &#39;new york&#39;, times, serif" size="1"><b>Earthquake Seismology &amp; Economics<br>
The University of Connecticut <br>Beach Hall - U2045<br>354, Mansfield Rd; <br>Storrs, CT 06269<br></b><b>Tel :  <a href="tel:860%20486%200475" value="+18604860475" target="_blank">860 486 0475</a> (Office)<br>        </b><b>  <a href="tel:860%20486%203914" value="+18604863914" target="_blank">860 486 3914</a> (Lab - P405)<br>
</b></font></div>    <div style="color: rgb(134, 135, 164);"><font face="&#39;bookman old style&#39;, &#39;new york&#39;, times, serif" size="1"><span style="color: rgb(139, 139, 139); font-weight: bold;"><font>Home page: </font><font><a rel="nofollow" href="http://sites.google.com/site/janukaattanayake/" target="_blank">http://sites.google.com/site/janukaattanayake/</a></font></span></font></div>
<div><font color="#8b8b8b" face="&#39;bookman old style&#39;, &#39;new york&#39;, times, serif" size="1"><b>Research
 group: <a rel="nofollow" href="http://www.phys.uconn.edu/research/geophysics/index.html" target="_blank">http://www.phys.uconn.edu/research/geophysics/index.html</a><br></b></font><div style="color: rgb(134, 135, 164); font-family: times,serif;">
<font color="#a2a2a2"><br></font><br><br><br><br></div></div><div><br></div></div><div style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><div style="font-size: 12pt; font-family: &#39;times new roman&#39;,&#39;new york&#39;,times,serif;">
<font face="Arial" size="2"><div class="im"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Arthur Snoke &lt;<a href="mailto:snoke@vt.edu" target="_blank">snoke@vt.edu</a>&gt;<br></div><b><span style="font-weight: bold;">To:</span></b> SAC-help Listserv &lt;<a href="mailto:sac-help@iris.washington.edu" target="_blank">sac-help@iris.washington.edu</a>&gt;<br>
<b><span style="font-weight: bold;">Sent:</span></b> Wednesday, July 20, 2011 7:05 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [SAC-HELP] units of EVDP in SAC<br></font><div><div></div><div class="h5">
<br>Comments on the
 two responses I got so far:<br><br>1) Because traveltime did not work in SAC/IRIS, in the Help file for sss/traveltime &lt;<a href="http://www.iris.edu/software/sac/commands/sss.com/traveltime.html" target="_blank">http://www.iris.edu/software/sac/commands/sss.com/traveltime.html</a>&gt; we recommend using taup_setsac.  As with RDSEED, the default is meters for EVDP.<br>
<br>2) I thought about some variant of George&#39;s macsac 1000 switch between meters and kilometers, but not having worked with very shallow events (of any kind) I was not sure where the threshold should be set. A 0 value is no problem, but does one use focal depths of 0.5 km?  Patly because of my testing with traveltime, I am planning to changed the EVDP for fg/seismo to 15 km.<br>
<br>On Tue, 19 Jul 2011, Arthur Snoke wrote:<br><br>&gt; To my knowledge, since IRIS/SAC v100, EVDP (focal depth in the SAC header) has not been used in any SAC command.  Please let me know if
 there are commands I have overlooked.<br>&gt; <br>&gt; Because of historical reasons, EVDP (focal depth) in SAC has the units according to the SAC manual.  RDSEED converts EVDP from kilometers (which it is in blockette 71 in SEED) to meters when writing SAC waveforms.<br>
&gt; <br>&gt; For v101.5, the units of EVDP will be of interest because we will (re) introduce a version of the TRAVELTIME command, in which for waveforms with a defined location and origin time one can calculate arrival times for body-wave phases using the iaspei-tau tables for either ak135 or iasp91 velocity models.  For this command, the units of EVDP matter.<br>
&gt; <br>&gt; I personally would like to evolve towards having kilometers being the default unit for EVDP.  As a first step, kilometers would be the default choice for EVDP in TRAVELTIME.<br>&gt; <br>&gt; The point of this note is a canvass of the community to find if there are any problems with using KM rather
 than M for EVDP.  Let me know if there are other programs that read SAC files and use EVDP assuming it is in meters.<br>&gt; <br>&gt; Arthur<br>_______________________________________________<br>sac-help mailing list<br>
<a href="mailto:sac-help@iris.washington.edu" target="_blank">sac-help@iris.washington.edu</a><br><a href="http://www.iris.washington.edu/mailman/listinfo/sac-help" target="_blank">http://www.iris.washington.edu/mailman/listinfo/sac-help</a><br>
<br><br></div></div></div></div></div></div><br>_______________________________________________<br>
sac-help mailing list<br>
<a href="mailto:sac-help@iris.washington.edu">sac-help@iris.washington.edu</a><br>
<a href="http://www.iris.washington.edu/mailman/listinfo/sac-help" target="_blank">http://www.iris.washington.edu/mailman/listinfo/sac-help</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Renate Hartog<br>Research Scientist<br>Pacific Northwest Seismic Network<br>Department of Earth and Space Sciences<br>University of Washington<br>Box 351310<br>Seattle, WA 98195<br>
<br>Tel. +1-206-685-7079 (office)<br><br>