obspy.io.seiscomp.inventory._read_float_var
- _read_float_var(elem, cls, unit=False, datum=False, additional_mapping={})[source]
function to read floattype to cls object (based on _read_floattype) normally ObsPy would read this directly from a tag, but with different tag names this is no longer possible; instead we just pass the value and not the tag name. We always set the unit/datum/uncertainties to None because they are not provided by scxml ?
- Parameters
elem – float value to be converted
cls – obspy.core.inventory class