obspy.core.inventory.inventory.Inventory.get_orientation

Inventory.get_orientation(seed_id, datetime=None)[source]

Return orientation for a given channel.

>>> from obspy import read_inventory, UTCDateTime
>>> inv = read_inventory()
>>> t = UTCDateTime("2015-01-01")
>>> inv.get_orientation("GR.FUR..LHE", t)  
{'azimuth': 90.0,
 'dip': 0.0}
Parameters
  • seed_id (str) – SEED ID string of channel to get orientation for.

  • datetime (UTCDateTime, optional) – Time to get orientation for.

Return type

dict

Returns

Dictionary containing orientation (azimuth, dip).