inventory (obspy.core.Inventory) – Inventory of stations to write - should include channels if
use_elevation=True to incorporate channel depths.
use_elevation (bool) – Whether to write elevations (requires hypoDD >= 2)
filename (str) – File to write stations to.