obspy.io.stationxml.core._read_channel
- _read_channel(cha_element, _ns, level)[source]
Returns either a
Channelobject orNone.It should return
Noneif and only if it did not manage to successfully create aChannelobject which can only happen if one of the coordinates is not set. All the others are optional. If either the location or channel code is not set it raises but that is fine as that would deviate too much from the StationXML standard to be worthwhile to recover from.