ObsPy Logo
1.4.1

Getting Started

  • Tutorial
  • Gallery
  • API Overview

Developer Resources

  • Contributing to ObsPy
  • Coding Style Guide
  • Contributor Covenant Code of Conduct
  • Changelog

Indices and Tables

  • Table of Contents
  • Citations
  • Contributors
ObsPy
  • obspy.io.arclink.inventory._read_float_var
  • View page source

obspy.io.arclink.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.

Parameters:
  • elem – float value to be converted

  • cls – obspy.core.inventory class


© Copyright 2012-2024, The ObsPy Development Team (devs@obspy.org). Last updated on 2024-10-15T15:19:16.

Built with Sphinx 7.4.7 using a theme provided by Read the Docs.