obspy.io.iaspei.core.ISFReader

class ISFReader(fh, **kwargs)[source]

Bases: object

Attributes

encoding

resource_id_prefix

Public Methods

deserialize

Private Methods

Warning

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

ISFReader._construct_id(parts, add_hash=False)[source]
ISFReader._deserialize()[source]
ISFReader._get_next_line()[source]
ISFReader._get_pick_time(my_string)[source]

Look up absolute time of pick including date, based on the time-of-day only representation in the phase line

Returns absolute pick time or None if it can not be determined safely.

ISFReader._make_comment(text)[source]
ISFReader._next_line_type()[source]
ISFReader._parse_bibliography_item(line)[source]
ISFReader._parse_generic_comment(line)[source]
ISFReader._parse_magnitude(line)[source]
ISFReader._parse_origin(line)[source]
ISFReader._parse_phase(line)[source]
ISFReader._process_block()[source]
ISFReader._read_bibliography()[source]
ISFReader._read_event_header()[source]
ISFReader._read_magnitudes()[source]
ISFReader._read_origins()[source]
ISFReader._read_phases()[source]

Special Methods

ISFReader.__delattr__(name, /)

Implement delattr(self, name).

ISFReader.__dir__()

Default dir() implementation.

ISFReader.__eq__(value, /)

Return self==value.

ISFReader.__format__(format_spec, /)

Default object formatter.

ISFReader.__ge__(value, /)

Return self>=value.

ISFReader.__getattribute__(name, /)

Return getattr(self, name).

ISFReader.__gt__(value, /)

Return self>value.

ISFReader.__hash__()

Return hash(self).

ISFReader.__init__(fh, **kwargs)[source]
ISFReader.__init_subclass__()

This method is called when a class is subclassed.

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

ISFReader.__le__(value, /)

Return self<=value.

ISFReader.__lt__(value, /)

Return self<value.

ISFReader.__ne__(value, /)

Return self!=value.

ISFReader.__new__(**kwargs)
ISFReader.__reduce__()

Helper for pickle.

ISFReader.__reduce_ex__(protocol, /)

Helper for pickle.

ISFReader.__repr__()

Return repr(self).

ISFReader.__setattr__(name, value, /)

Implement setattr(self, name, value).

ISFReader.__sizeof__()

Size of object in memory, in bytes.

ISFReader.__str__()

Return str(self).

ISFReader.__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).