[Shake-dev] db2xml

Peter Lombard lombard at seismo.berkeley.edu
Wed Mar 1 21:39:35 UTC 2017


Kris,

db2xml will report those errors if there is no "Z" channel in a group of three
channels. This is how db2xml figures out which channels are horizontal: that
they are part of a triplet with a Z channel that it can determine is
vertical. Otherwise, db2xml has no way to decide whether "BH1" of "BH2" are
vertical, horizontal, or some other orientation.

Pete


Kris Pankow writes:
 > Thanks Pete.  I will have to look more closely at the implementation in 
 > the code.  I am definitely getting errors related to orientation for 
 > stations with the 1 and 2 designations.  I do not get similar errors for 
 > the E and N designations.
 > Kris
 > 
 > shake.log.60171887:2016-11-25 08:53:17 : db2xml: error: unable to 
 > detemine orientations of US.AHID (BH1 BH2); skipping station
 > shake.log.60171887:2016-11-25 08:53:17 : db2xml: error: unable to 
 > detemine orientations of US.DUG (BH1 BH2); skipping station
 > shake.log.60171887:2016-11-25 08:53:17 : db2xml: error: unable to 
 > detemine orientations of US.HWUT (BH1 BH2); skipping station
 > shake.log.60171887:2016-11-25 09:14:51 : db2xml: error: unable to 
 > detemine orientations of US.AHID (BH1 BH2); skipping station
 > shake.log.60171887:2016-11-25 09:14:51 : db2xml: error: unable to 
 > detemine orientations of US.DUG (BH1 BH2); skipping station
 > shake.log.60171887:2016-11-25 09:14:51 : db2xml: error: unable to 
 > detemine orientations of US.HWUT (BH1 BH2); skipping station
 > shake.log.60171887:2016-11-28 09:47:33 : db2xml: error: unable to 
 > detemine orientations of US.AHID (BH1 BH2); skipping station
 > shake.log.60171887:2016-11-28 09:47:33 : db2xml: error: unable to 
 > detemine orientations of US.DUG (BH1 BH2); skipping station
 > shake.log.60171887:2016-11-28 09:47:33 : db2xml: error: unable to 
 > detemine orientations of US.HWUT (BH1 BH2); skipping station
 > shake.log.60173377:2016-12-07 08:23:22 : db2xml: error: unable to 
 > detemine orientations of IW.IMW (BH2); skipping station
 > shake.log.60173377:2016-12-07 08:23:22 : db2xml: error: unable to 
 > detemine orientations of US.AHID (BH1 BH2); skipping station
 > shake.log.60173377:2016-12-07 08:23:22 : db2xml: error: unable to 
 > detemine orientations of US.HWUT (BH1 BH2); skipping station
 > shake.log.60173377:2016-12-07 08:23:23 : db2xml: error: unable to 
 > detemine orientations of IW.IMW (BH2); skipping station
 > shake.log.60173377:2016-12-07 08:23:23 : db2xml: error: unable to 
 > detemine orientations of US.AHID (BH1 BH2); skipping station
 > shake.log.60173377:2016-12-07 08:23:23 : db2xml: error: unable to 
 > detemine orientations of US.HWUT (BH1 BH2); skipping station
 > shake.log.60173377:2016-12-07 08:23:23 : db2xml: error: unable to 
 > detemine orientations of IW.IMW (BH2); skipping station
 > shake.log.60173377:2016-12-07 08:23:23 : db2xml: error: unable to 
 > detemine orientations of US.AHID (BH1 BH2); skipping station
 > shake.log.60173377:2016-12-07 08:23:23 : db2xml: error: unable to 
 > detemine orientations of US.HWUT (BH1 BH2); skipping station
 > shake.log.60187322:2017-03-01 01:44:02 : db2xml: error: unable to 
 > detemine orientations of US.DUG (BH1); skipping station
 > shake.log.60187322:2017-03-01 01:44:02 : db2xml: error: unable to 
 > detemine orientations of US.WUAZ (BH1 BH2); skipping station
 > shake.log.60187322:2017-03-01 01:51:20 : db2xml: error: unable to 
 > detemine orientations of US.DUG (BH1); skipping station
 > shake.log.60187322:2017-03-01 01:51:20 : db2xml: error: unable to 
 > detemine orientations of US.WUAZ (BH1 BH2); skipping station
 > shake.log.60187322:2017-03-01 08:38:04 : db2xml: error: unable to 
 > detemine orientations of US.DUG (BH1); skipping station
 > shake.log.60187322:2017-03-01 08:38:04 : db2xml: error: unable to 
 > detemine orientations of US.WUAZ (BH1 BH2); skipping station
 > 
 > 
 > 
 > On 3/1/17 2:17 PM, Peter Lombard wrote:
 > > Kris,
 > >
 > > db2xml does allow horizontal channels with direction codes other than E and
 > > N. See this comment found in db2xml:
 > >
 > > # For the given net.sta and for each location code,
 > > # try to form groups of channels like HNE, HNN, HNZ, based on the
 > > # first two letters of the channel name.
 > > # Ideally we expect there to be three channels in a group, but
 > > # there might be more or less. If there are more, we declare an error
 > > # and skip the station; could use some ideas on how to do this better.
 > > # ShakeMap assumes channels are either vertical or horizontal; it does
 > > # not care about the azimuth of horizontal channels but assumes that pairs
 > > # of horizontal channels are orthogonal.
 > > # The only way this program and ShakeMap can identify vertical channels
 > > # is by the SEED orientation code (third letter of channel code) being 'Z'.
 > > # Likewise, orientation codes of E and N definitely identify channels as
 > > # being horizontal. Channels with other orientation codes could point in
 > > # any direction.
 > > # Therefore we insist that channel groups consist of three or fewer channels
 > > # ending in E, N or Z; or 1 to 3 channels one of which must end in Z.
 > >
 > >
 > > Pete
 > >
 > >
 > > Kris Pankow writes:
 > >   > Just an FYI for those running AQMS with ShakeMap, in scanning through a
 > >   > log file today I learned that db2xml ( $Id: db2xml 1472 2015-09-14
 > >   > 22:45:19Z cbworden $        USGS) is hard coded to only accept E N Z for
 > >   > seismometer orientation.  However, there are networks such as US where
 > >   > the horizontal channels are designated 1 and 2.  I am running version
 > >   > 3.5 r 1543.  This is not a huge issue for our network, but as I started
 > >   > an FYI.
 > >   >
 > >   > Kris
 > >   >
 > >   >
 > >   > --
 > >   > Kristine Pankow, Ph.D.
 > >   > Research Professor of Geophysics &
 > >   > Assoc. Director of Seismograph Stations
 > >   > University of Utah
 > >   > 115 South 1460 East
 > >   > Salt Lake City, Utah 84112
 > >   >
 > >   > pankow <at> seis.utah.edu (email)
 > >   > 801-585-6484 (voice)
 > >   > 801-585-5585 (fax)
 > >   >
 > >   > _______________________________________________
 > >   > Shake-dev mailing list
 > >   > Shake-dev at geohazards.usgs.gov
 > >   > https://geohazards.usgs.gov/mailman/listinfo/shake-dev
 > >
 > >
 > 
 > 
 > -- 
 > Kristine Pankow, Ph.D.
 > Research Professor of Geophysics &
 > Assoc. Director of Seismograph Stations
 > University of Utah
 > 115 South 1460 East
 > Salt Lake City, Utah 84112
 > 
 > pankow <at> seis.utah.edu (email)
 > 801-585-6484 (voice)
 > 801-585-5585 (fax)
 > 


More information about the Shake-dev mailing list