<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div>Second attempt to get this sent out to the Antelope mail list using alternate email account.  If needed, please reply to <a href="mailto:eakins@brtt.com">eakins@brtt.com</a>.</div><div><br></div><div>--Jennifer</div><div><br></div><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>From: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Jennifer Eakins &lt;<a href="mailto:eakins@brtt.com">eakins@brtt.com</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Date: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">October 7, 2008 5:46:10 PM MDT</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Val Zimmer &lt;<a href="mailto:valzimmer@berkeley.edu">valzimmer@berkeley.edu</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Cc: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="mailto:Antelope@brtt.net">Antelope@brtt.net</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Subject: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><b>Re: [Antelope] how does antelope define the axis vang in the ddbatch file?</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> Hi Valerie,<div class="" style=""><br class="" style=""></div><div class="" style="">The hang/vang definitions are from the CSS3.0 schema and can be found by using the command:<div class="" style=""><br class="" style=""></div><div class="" style=""><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">% dbhelp css3.0 </font></div><div class="" style=""><br class="" style=""></div><div class="" style="">Choose "Search for...".  Type vang.  You will see the description:</div><div class="" style=""><br class="" style=""></div><div class="" style=""><div class="" style=""><font class="Apple-style-span" face="Courier">This attribute measures the angle between the sensitive</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">axis of a seismometer and the outward-pointing vertical</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">direction.  For a vertically oriented seismometer, vang =</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">0, or 180 (to reverse the sense of the instrument).  For a</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">horizontally oriented seismometer, vang = 90.  </font></div></div><div class="" style=""><br class="" style=""></div><div class="" style="">You can get full documentation in pdf format for all of the attributes in the css3.0 schema with the following set of commands:</div><div class="" style=""><br class="" style=""></div><div class="" style=""><div class="" style=""><font class="Apple-style-span" face="Courier">    %   dbdoc css30 > dbdoc.out</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">    %   tbl dbdoc.out | troff -ms | /usr/lib/lp/postscript/dpost > dbdoc.ps</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">    %   ps2pdf dbdoc.ps</font></div><div class="" style=""><br class="" style=""></div><div class="" style="">You also may have had questions regarding some other fields in the dbbuild batch file:</div><div class="" style=""><br class="" style=""></div><div class="" style=""><blockquote type="cite">axis &lt;name> &lt;hang> &lt;vang>       ?     ?<br class="" style=""></blockquote><br class="" style=""></div><div class="" style="">From the dbbuild_batch man page:</div><div class="" style=""><br class="" style=""></div><div class="" style=""><div class="" style=""><font class="Apple-style-span" face="Courier">       axis label hang vang [sens [lead [pgain [pstage]]]]</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">       axis2 label hang vang [sens [dlgain [pgain [pstage [lead]]]]</font></div><div class="" style=""><br class="" style=""></div><div class="" style="">An example from the dbbuild_examples man page for a sensor that was installed with the north arrow pointing south.  The modification of the hang value for the Z component is unnecessary.  There is no change to the vertical orientation shown in the example below.</div><div class="" style=""><br class="" style=""></div><div class="" style=""><div class="" style=""><font class="Apple-style-span" face="Courier">   Swap sensor serial number and orientation</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        # replace sensor, modify orientation</font></div><div class="" style=""><font class="Apple-style-span" face="Courier"><br class="" style=""></font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        time    4/27/2006       16:24:00</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        net XX Some temporary deployment</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        sta     EX03    33.4312 -116.4275 0.756  EX03</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        datalogger Passcal_q330_linear  7753 XX_EX03</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        sensor cmg3t    0       T3K33</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        samplerate 40sps</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        samplerate 1sps</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        add</font></div><div class="" style=""><font class="Apple-style-span" face="Courier"><br class="" style=""></font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        time    08/02/2006      19:37:00</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        cmg3t   0       T3K45</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        axis Z 180 0</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        axis N 180 90</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        axis E 270 90</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        add</font></div><div class="" style=""><font class="Apple-style-span" face="Courier"><br class="" style=""></font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        close EX03 1/1/2007   00:00:00</font></div><div class="" style=""><br class="" style=""></div></div><div class="" style="">If you have an additional example that you wish to see included in the dbbuild_examples man page for the "tilted" setup, please forward the successfully tested batch file to me (via <a href="mailto:support@brtt.com">support@brtt.com</a>) and I will update it.  I suspect that you need to put something like:</div><div class="" style=""><br class="" style=""></div><div class="" style=""><div class="" style=""><font class="Apple-style-span" face="Courier">        axis Z 0 12</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        axis N 0 102</font></div><div class="" style=""><font class="Apple-style-span" face="Courier">        axis E 90 102</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">                </font></span><font class="Apple-style-span" face="Courier"># 90 for horizontal(hang) + 12 degrees downward tilt.</font></div><div class="" style=""><br class="" style=""></div></div><div class="" style="">if you have a vault floor tilted 12° down (below horizontal).  </div><div class="" style=""> </div><div class="" style="">To add to the confusion, a dataless SEED volume uses azimuth and dip, not hang and vang.  For a "standard" setup, I believe the following is the correct mapping:</div><div class="" style=""><br></div></div></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="Courier">chan</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">az</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">dip</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">hang</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">vang</font><br><font class="Apple-style-span" face="Courier">BHZ</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">0</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">-90</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">0<span class="Apple-tab-span" style="white-space:pre">        </span></font><font class="Apple-style-span" face="Courier">0</font><br><font class="Apple-style-span" face="Courier">BHN</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">0</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">0</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">0</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">90</font><br><font class="Apple-style-span" face="Courier">BHE</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">90</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">0</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">90</font><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">90</font></blockquote><div class="" style=""><div class="" style=""><div class="" style=""><div class="" style=""><br></div><div class="" style=""><br></div><div class="" style="">--Jennifer Eakins</div></div></div><div class="" style=""><br class="" style=""></div><div class="" style=""><br class="" style=""><div style=""><div class="" style="">On Oct 07, 2008, at 1:56 PM, Val Zimmer wrote:</div><br class="Apple-interchange-newline" style=""><blockquote type="cite"><div class="" style="">Hello Antelope users -<br class="" style=""><br class="" style="">I have a dataset from a station that was NOT placed perfectly level - e.g. the sensor was placed on a ledge that had a little bit of tilt, such that Z is not perfectly up/down, and N + E have some down or upward component in the data.  I'm now trying to build a database from that data, but have yet to find a good definition of vang in the dbbatch file (for axis).   This is, of course, something that the original programmers would have defined in the source code, assuming antelope does something with that "axis" component (as opposed to it being merely a comment).<br class="" style=""><br class="" style="">Having thought about this a while, I can think of only one good, logical way to define vang, although, I'm probably missing something, and would like to verify that this is correct. <br class="" style="">Here's an example from some documentation:<br class="" style="">axis &lt;name> &lt;hang> &lt;vang>       ?     ?<br class="" style="">axis    Z            0         180         - 1     1<br class="" style="">axis    N            0         90          - 2     1<br class="" style="">axis    E            90         90         - 3     1<br class="" style=""><br class="" style="">hang (horizontal angle) has a well-defined, inherent, orientation (N = 0, E = 90, S = 180, W = 270) and an normal viewpoint (map/above view, with N up, E right, etc).  Ok, easy, no problem.<br class="" style=""><br class="" style="">vang (vertical angle), however, has no inherent orientation, although we can infer the following things from the above example, assuming we are dealing with the earthquake seismology definition (e.g. +Z is up, NOT down like in the oilfield):  Up = 180, Down = 0.  Of course, there is no "normal" viewpoint when it comes to cross-sectional views, and trying to define one is bound to confuse and contradict, therefore, the direction of the vang vector *must* be relative to the hang vector AND that &lt;vang> vector corresponds to apparent tilt along that vector (not absolute/maximum tilt for the whole instrument in whatever direction that happens to be). <br class="" style="">Therefore, I *think* the only possible way to define it would be that &lt;vang> must be 0-> 180 and that the vector points in the same direction of the &lt;hang> vector, and it doesn't matter whether 90 degrees is to the "right" or to the "left" since that totally depends on the perspective.  Hence, it follows that:<br class="" style=""><br class="" style="">axis  S        180    90 (not, and never 270)<br class="" style="">axis W       180     90<br class="" style=""><br class="" style="">axis N+ a little up          0       110<br class="" style="">axis E + a little down     90      75<br class="" style=""><br class="" style="">Can anyone tell me if this reasoning is correct, and if not, point me to some documentation with a clear definition?<br class="" style=""><br class="" style="">Thanks for your time!<br class="" style="">Valerie Zimmer<br class="" style=""><br class="" style=""><br class="" style="">_______________________________________________<br class="" style="">Antelope mailing list<br class="" style=""><a href="mailto:Antelope@brtt.net">Antelope@brtt.net</a><br class="" style=""><a href="http://brtt.net/mailman/listinfo/antelope_brtt.net">http://brtt.net/mailman/listinfo/antelope_brtt.net</a><br class="" style=""></div></blockquote></div><br class="" style=""></div></div></div><br></div><br></body></html>