SeisIO can read and write the following XML metadata formats:
- QuakeML Version 1.2
- StationXML Version 1.1
Read FDSN StationXML files matching string pattern fpat into a new SeisData object.
s: start time. Format “YYYY-MM-DDThh:mm:ss”, e.g., “0001-01-01T00:00:00”.
t: termination (end) time. Format “YYYY-MM-DDThh:mm:ss”.
msr: (Bool) read instrument response info as MultiStageResp?
Read QuakeML files matching string pattern fpat. Returns a tuple containing an array of SeisHdr objects H and an array of SeisSrc objects R. Each pair (H[i], R[i]) describes the preferred location (origin, SeisHdr) and event source (focal mechanism or moment tensor, SeisSrc) of event i.
If multiple focal mechanisms, locations, or magnitudes are present in a single Event element of the XML file(s), the following rules are used to select one of each per event:
Non-essential QuakeML data are saved to misc in each SeisHdr or SeisSrc object as appropriate.