Component Orientations when retrieving Seismograms

Hi All,

When obtaining data using a client (such as iris through obspy.fdsn), how do I get the azimuth of the different components? For Channels NEZ, this isn't a problem of course.
For BH1 and BH2 channels with arbitrary orientations, however, how do I obtain the azimuth of each component (using obspy.fdsn.client.get_waveform for instance). Is this information contained in the Stream or Trace? Extracting this same data from a SEED volume typically fills in the CMPAZ header value.

Thanks very much,

The component orientation is in the station channel information (azimuth and dip).


The latest master also contains functionality to rotate arbitrarily arranged three component recordings to ZNE:

It unfortunately does not have nice interface to StationXML yet.