obspy.io.xseed.fields.Float

class Float(id, name, length, **kwargs)[source]

Bases: obspy.io.xseed.fields.Field

A float number with a fixed length and output mask.

Public Methods

convert

get_seed

get_xml

parse_seed

parse_xml

read

write

Private Methods

Warning

Private methods are mainly for internal/developer use and their API might change without notice.

Float._format_string(s)

Using SEED specific flags to format strings.

This method is partly adopted from fseed.py, the SEED builder for SeisComP written by Andres Heinloo, GFZ Potsdam in 2005.

Float._repr_pretty_(p, cycle)

Special Methods

Float.__delattr__(name, /)

Implement delattr(self, name).

Float.__dir__()

Default dir() implementation.

Float.__eq__(value, /)

Return self==value.

Float.__format__(format_spec, /)

Default object formatter.

Float.__ge__(value, /)

Return self>=value.

Float.__getattribute__(name, /)

Return getattr(self, name).

Float.__gt__(value, /)

Return self>value.

Float.__hash__()

Return hash(self).

Float.__init__(id, name, length, **kwargs)[source]
Float.__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

Float.__le__(value, /)

Return self<=value.

Float.__lt__(value, /)

Return self<value.

Float.__ne__(value, /)

Return self!=value.

Float.__new__(**kwargs)
Float.__reduce__()

Helper for pickle.

Float.__reduce_ex__(protocol, /)

Helper for pickle.

Float.__repr__()

Return repr(self).

Float.__setattr__(name, value, /)

Implement setattr(self, name, value).

Float.__sizeof__()

Size of object in memory, in bytes.

Float.__str__()
Float.__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).