Wish this message finds you very well
I do have segy events files each is representing one triggered microseismic event. Stations information by which the event is recorded are all attached to segy trace headers. These information includes (x,y,z location of the station, well name, well array, instrument gain, sensitivity and frequency ranges, station component, event time, etc).
I would like to create a stations xml file for each well array (wells by which the event is recorded) and then link the event (segy) stream object into this xml file. Could anyone help me how it can done or provide a link to some obspy tutorials covering this topic.